Deals with NULL transactions in an INIT_TXN environment.
Does not deal with NULL txn cursors yet.
Also adds DB_AUTO_COMMIT
git-svn-id: file:///svn/tokudb@2252 c7de825b-a66e-492c-adef-691d508d4ae1
You can use DB_UNKNOWN as a dbtype (as long as you don't use DB_EXCL) in dbopen,
and then it will load the flags from the file.
tokudb_dump
Now supports duplicates/sorted duplicates.
tokudb_load will give a warning about any duplicate duplicate loads
but will continue with the rest of the data.
Closes#148Closes#166
git-svn-id: file:///svn/tokudb@1086 c7de825b-a66e-492c-adef-691d508d4ae1
Code is cleaner now with less special cases, handles DB_DBT_(MALLOC|REALLOC|USERMEM) as well as no flags now.
Closes#144
git-svn-id: file:///svn/tokudb@1037 c7de825b-a66e-492c-adef-691d508d4ae1
0 Readded missing files i.e. regression tests.
1
svn add the new test (test_db_remove_subdb)
Commit db->remove and the tokudb.bugs (bug 47 describes it)
2
Modified tests to use a test subdirectory for temp files,
removed unneeded flags to DB_ENV->open
test_db_dup.c
test_db_already_exists.c
test_db_close_no_open.c
test_db_open_notexist_reopen.c
3
Added bug 48 (memory leak in DB->remove
Need Valgrind to verify.
svn add: test_db_remove_memleak.c
git-svn-id: file:///svn/tokudb@579 c7de825b-a66e-492c-adef-691d508d4ae1
note that when the object size is 1, the cache table acts on the number of objects as before.
change the tree algorithms to update the object size in the cache table when the object is unpinned.
git-svn-id: file:///svn/tokudb@334 c7de825b-a66e-492c-adef-691d508d4ae1
tree. It replaces any INSERT or DELETE command with the same key at all
interior nodes. It is translated into a PMA delete operation at a leaf
node.
The database file format was changed for the contents of interior node
buffers to include a 1 byte type field. There are currently 2 types:
BRT_INSERT and BRT_DELETE.
git-svn-id: file:///svn/tokudb@278 c7de825b-a66e-492c-adef-691d508d4ae1