Commit cad47274 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

#162 appears not to be a bug. (It's a bug in the test program.) Fixes #162.

We have tests for DB->associate().  Fixes #61.

assoc3 is a proto-amazon application.  Fixes #134.

There is a problem in the assoc3 test (References #175.)

Warning:  It helps to always use {{{DB_DUP}}} for associated secondary indices.  BDB and TokUDB will both corrupt things if you accidently insert a duplicate without {{{DB_DUP}}}.

DB->associate() appears to work.  Fixes #48.


git-svn-id: file:///svn/tokudb@1096 c7de825b-a66e-492c-adef-691d508d4ae1
parent 5c316e0c
...@@ -145,7 +145,8 @@ test_db_curs4.bdb: trace.h ...@@ -145,7 +145,8 @@ test_db_curs4.bdb: trace.h
test_db_assoc3.tdb test_db_assoc3.bdb: test.h test_db_assoc3.tdb test_db_assoc3.bdb: test.h
test_db_assoc3.tdbrun: test_db_assoc3.tdb # This one fails in both BDB and TokuDB, in the same way. It must be a program error.
test_db_assoc3.tdbrun.bad: test_db_assoc3.tdb
./test_db_assoc3.tdb --seed=1 --count=200 ./test_db_assoc3.tdb --seed=1 --count=200
./test_db_assoc3.tdb --seed=1 --count=200 --more ./test_db_assoc3.tdb --seed=1 --count=200 --more
./test_db_assoc3.tdb --seed=1 --count=200 --more ./test_db_assoc3.tdb --seed=1 --count=200 --more
...@@ -153,3 +154,11 @@ test_db_assoc3.tdbrun: test_db_assoc3.tdb ...@@ -153,3 +154,11 @@ test_db_assoc3.tdbrun: test_db_assoc3.tdb
./test_db_assoc3.tdb --seed=1 --count=200 --more ./test_db_assoc3.tdb --seed=1 --count=200 --more
./test_db_assoc3.tdb --seed=1 --count=200 --more ./test_db_assoc3.tdb --seed=1 --count=200 --more
./test_db_assoc3.tdb --seed=1 --count=200 --more ./test_db_assoc3.tdb --seed=1 --count=200 --more
test_db_assoc3.tdbrun: test_db_assoc3.tdb
./test_db_assoc3.tdb --seed=2 --count=100000
./test_db_assoc3.tdb --seed=2 --count=100000 --more
test_db_assoc3.bdbrun: test_db_assoc3.bdb
./test_db_assoc3.bdb --seed=2 --count=100000
./test_db_assoc3.bdb --seed=2 --count=100000 --more
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment