- Oct 25, 2015
-
-
-
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
...early enough that txn state is left unchanged.
-
Hallvard Furuseth authored
Move the check to the end of txn startup. Catches env breakage which happens while the new txn waits for a lock.
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
* Add MDB_TXN_FINISHED, MDB_TXN_HAS_CHILD, MDB_TXN_BLOCKED. * Clear mt_numdbs in writers, for TXN_DBI_EXIST() to catch. We already do in readers.
-
Hallvard Furuseth authored
Side effects: * Clean txn up a bit even before freeing it. * Tweak DEBUG output at txn end. Add DEBUG after commit(writer).
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
MDB_DBI_CHANGED(,MAIN_DBI) is never true.
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
mt_env is always set. Commit(mt_child) resets mt_child, so parent need not.
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
So far just to help aligning mdb.master and mdb.RE. We'll make it an option later.
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
mdb_xcursor_init1(): md_pad is only used when MDB_DUPFIXED. mdb_page_split(): Copy mp_pad too. Used by mdb_page_list().
-
Hallvard Furuseth authored
More fallout from 4d02c741.
-
Hallvard Furuseth authored
Taken from mdb_txn_begin(,,MDB_NOMETASYNC, MDB_NOSYNC,,) without adding those two flags yet, to align with mdb.master: Part of 54516639 (Renumber...) + 8adee946 (Fix per-txn...).
-
Hallvard Furuseth authored
-
Check new mapsizes against mm_last_pg. Move mdb_env_init_meta0() so it can set mm_last_pg earlier.
-
Howard Chu authored
-
-
Howard Chu authored
node_del shifts nodes around, cursors pointing at fake pages need to have their mc_pg[0] corrected.
-
-
Howard Chu authored
-
Howard Chu authored
Some destination fixups need to happen immediately after nodes are moved, before rebalancing
-
- Oct 04, 2015
-
-
Howard Chu authored
-
Howard Chu authored
The tree height can also increase during rebalance, not just shrink. This can happen if update_key needs to split a parent branch page.
-