[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-frameworks-devel
Subject: Re: Review Request 128891: Transaction not created => don't try to abort them
From: Boudhayan Gupta <bgupta () kde ! org>
Date: 2016-09-11 19:14:08
Message-ID: 20160911191408.10006.48155 () mimi ! kde ! org
[Download RAW message or body]
--===============0199374404436479002==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
> On Sept. 12, 2016, 12:25 a.m., Boudhayan Gupta wrote:
> > LGTM.
> >
> > Long term I plan to replace all of this with liblmdb++, but that may or may not \
> > happen soon-ish.
>
> Christoph Cullmann wrote:
> Hi, lmdb++ is IMHO no good idea, look at their commits, last one 7 months ago, only \
> 2 people ever did anything. https://github.com/bendiken/lmdbxx
> No good idea to rely on that. (and it has exactly zero unit tests)
In that case, I'll have to tidy this code up and make a clean wrapper around the C \
API. *sigh*
- Boudhayan
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128891/#review99107
-----------------------------------------------------------
On Sept. 12, 2016, 12:43 a.m., Christoph Cullmann wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128891/
> -----------------------------------------------------------
>
> (Updated Sept. 12, 2016, 12:43 a.m.)
>
>
> Review request for KDE Frameworks and Boudhayan Gupta.
>
>
> Repository: baloo
>
>
> Description
> -------
>
> Transaction not created => don't try to abort them, avoid wrong usage of lmdb api
>
>
> Diffs
> -----
>
> src/engine/database.cpp 6a433c7
>
> Diff: https://git.reviewboard.kde.org/r/128891/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Christoph Cullmann
>
>
--===============0199374404436479002==
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit
<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="12" style="border: 1px #c9c399 \
solid; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;"> \
<tr> <td>
This is an automatically generated e-mail. To reply, visit:
<a href="https://git.reviewboard.kde.org/r/128891/">https://git.reviewboard.kde.org/r/128891/</a>
</td>
</tr>
</table>
<br />
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;"> <p style="margin-top: 0;">On September 12th, 2016, 12:25 a.m. IST, \
<b>Boudhayan Gupta</b> wrote:</p> <blockquote style="margin-left: 1em; border-left: \
2px solid #d0d0d0; padding-left: 10px;"> <pre style="white-space: pre-wrap; \
white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; \
word-wrap: break-word;"><p style="padding: 0;text-rendering: inherit;margin: \
0;line-height: inherit;white-space: inherit;">LGTM.</p> <p style="padding: \
0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">Long \
term I plan to replace all of this with liblmdb++, but that may or may not happen \
soon-ish.</p></pre> </blockquote>
<p>On September 12th, 2016, 12:29 a.m. IST, <b>Christoph Cullmann</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;"> <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"><p style="padding: \
0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">Hi, \
lmdb++ is IMHO no good idea, look at their commits, last one 7 months ago, only 2 \
people ever did anything. https://github.com/bendiken/lmdbxx
No good idea to rely on that. (and it has exactly zero unit tests)</p></pre>
</blockquote>
</blockquote>
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"><p style="padding: \
0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">In \
that case, I'll have to tidy this code up and make a clean wrapper around the C API. \
<em style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: normal;">sigh</em></p></pre> <br />
<p>- Boudhayan</p>
<br />
<p>On September 12th, 2016, 12:43 a.m. IST, Christoph Cullmann wrote:</p>
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="12" style="border: \
1px #888a85 solid; border-radius: 6px; -moz-border-radius: 6px; \
-webkit-border-radius: 6px;"> <tr>
<td>
<div>Review request for KDE Frameworks and Boudhayan Gupta.</div>
<div>By Christoph Cullmann.</div>
<p style="color: grey;"><i>Updated Sept. 12, 2016, 12:43 a.m.</i></p>
<div style="margin-top: 1.5em;">
<b style="color: #575012; font-size: 10pt;">Repository: </b>
baloo
</div>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">Transaction not created => don't try to abort them, \
avoid wrong usage of lmdb api</p></pre> </td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>src/engine/database.cpp <span style="color: grey">(6a433c7)</span></li>
</ul>
<p><a href="https://git.reviewboard.kde.org/r/128891/diff/" style="margin-left: \
3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>
--===============0199374404436479002==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic