projects
/
platform
/
upstream
/
lmdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56c2a8d
)
mdb_page_unspill(): Fix dirty_room in nested txn
author
Hallvard Furuseth
<hallvard@openldap.org>
Sun, 25 Aug 2013 21:59:58 +0000
(23:59 +0200)
committer
Hallvard Furuseth
<hallvard@openldap.org>
Sun, 25 Aug 2013 21:59:58 +0000
(23:59 +0200)
libraries/liblmdb/mdb.c
patch
|
blob
|
history
diff --git
a/libraries/liblmdb/mdb.c
b/libraries/liblmdb/mdb.c
index
c56d092
..
e34f795
100644
(file)
--- a/
libraries/liblmdb/mdb.c
+++ b/
libraries/liblmdb/mdb.c
@@
-1847,7
+1847,7
@@
mdb_page_unspill(MDB_txn *tx0, MDB_page *mp, MDB_page **ret)
x = mdb_mid2l_search(tx2->mt_u.dirty_list, pgno);
if (x <= tx2->mt_u.dirty_list[0].mid &&
tx2->mt_u.dirty_list[x].mid == pgno) {
- tx
n
->mt_dirty_room++;
+ tx
0
->mt_dirty_room++;
break;
}
}