Compare commits
No commits in common. "89878024371d823387f7aa1d8bf5a5375c29c54d" and "9c6781c4589be442efba753f6c6839c698b6796c" have entirely different histories.
8987802437
...
9c6781c458
1 changed files with 1 additions and 2 deletions
|
@ -293,7 +293,6 @@ LMDBUnlock(Db *d, DbRef *r)
|
||||||
Stream *stream;
|
Stream *stream;
|
||||||
MDB_val key, val;
|
MDB_val key, val;
|
||||||
bool ret = true;
|
bool ret = true;
|
||||||
DbHint hint = r ? r->hint : 0;
|
|
||||||
|
|
||||||
if (!d || !r)
|
if (!d || !r)
|
||||||
{
|
{
|
||||||
|
@ -325,7 +324,7 @@ LMDBUnlock(Db *d, DbRef *r)
|
||||||
{
|
{
|
||||||
free(val.mv_data);
|
free(val.mv_data);
|
||||||
}
|
}
|
||||||
if (ret && hint == DB_HINT_WRITE)
|
if (ret && r->hint == DB_HINT_WRITE)
|
||||||
{
|
{
|
||||||
pthread_mutex_unlock(&d->lock);
|
pthread_mutex_unlock(&d->lock);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue