ITS#7875 fix #7681 regression

Due to commit 18a07eb7c2
This commit is contained in:
Howard Chu 2014-06-11 02:27:30 -07:00
parent a93810cc3d
commit 17c09fa476
2 changed files with 3679 additions and 1 deletions

View File

@ -5421,7 +5421,7 @@ mdb_cursor_set(MDB_cursor *mc, MDB_val *key, MDB_val *data,
if (!mc->mc_top) {
/* There are no other pages */
mc->mc_ki[mc->mc_top] = 0;
if (op == MDB_SET_RANGE) {
if (op == MDB_SET_RANGE && !exactp) {
rc = 0;
goto set1;
} else

3678
libraries/libmdb/mdb.c Normal file

File diff suppressed because it is too large Load Diff