Commit graph

502 commits

Author SHA1 Message Date
Rich Prohaska
c7b0b5f904 fix the tokudb engine build library path
git-svn-id: file:///svn/mysql/tokudb-engine/src@2676 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
711ade7407 port to mysql-5.1.23. close #486
git-svn-id: file:///svn/mysql/tokudb-engine/src@2621 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
e0ffaea6e6 fix the dump restore crash. close #474
git-svn-id: file:///svn/mysql/tokudb-engine/src@2590 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
f0ecfc630c read the status db with a cursor under a transaction. close #461
git-svn-id: file:///svn/mysql/tokudb-engine/src@2514 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
deba4ef131 honor UNIQUE_CHECKS=0 in secondary index writes. close #462
git-svn-id: file:///svn/mysql/tokudb-engine/src@2513 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
49a4083877 add tokudb_data_dir system variable. close #458
git-svn-id: file:///svn/mysql/tokudb-engine/src@2510 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
5f796a9568 add --with-tokudb to the configure script. address #390
git-svn-id: file:///svn/mysql/tokudb-engine/src@2467 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
c0ed61202e use DB_NEXT_NODUP to handle b > 10 expressions in which the index has duplicates
git-svn-id: file:///svn/mysql/tokudb-engine/src@2453 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
f3652fc599 add the tokudb_logdir variable. close #453
git-svn-id: file:///svn/mysql/tokudb-engine/src@2445 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:38 -04:00
Rich Prohaska
5cad5897fc fix the index_read method. close #449
git-svn-id: file:///svn/mysql/tokudb-engine/src@2444 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:38 -04:00
Rich Prohaska
65e13739a8 implement ::index_read using BDB cursor ops. address #440
git-svn-id: file:///svn/mysql/tokudb-engine/src@2405 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:38 -04:00
Rich Prohaska
21ff0ca031 build with gcc warnings on
git-svn-id: file:///svn/mysql/tokudb-engine/src@2403 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:38 -04:00
Rich Prohaska
732bc55f03 the key compare function should just compare 2 keys without any other context.
the old key compare function uses extra context: the bdb_return_if_eq and insert_or_update.  this will not work in tokudb as keys are compared after the insert has already completed.  

the bdb_return_if_eq will be replaced with some new cursor operations.  the insert_or_update feature applies to varchar keys (and is not compiled into the 5.1.22 code).



git-svn-id: file:///svn/mysql/tokudb-engine/src@2400 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:38 -04:00
Rich Prohaska
8cff28773a implement UNIQUE_CHECKS=0 in the tokudb storage engine. close #428
git-svn-id: file:///svn/mysql/tokudb-engine/src@2369 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:38 -04:00
Rich Prohaska
6c6123fbc2 first attempt at UNIQUE_CHECKS=0. address #309
git-svn-id: file:///svn/mysql/tokudb-engine/src@2361 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:38 -04:00
Rich Prohaska
0b1ccfc197 put the status update cursor inside of a transaction. close #426
git-svn-id: file:///svn/mysql/tokudb-engine/src@2353 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:38 -04:00
Rich Prohaska
4dfbf2055d use db->open DB_AUTO_COMMIT close #386
git-svn-id: file:///svn/mysql/tokudb-engine/src@2350 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:38 -04:00
Rich Prohaska
aafd884cd5 init the locks. close #382
git-svn-id: file:///svn/mysql/tokudb-engine/src@2344 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:38 -04:00
Rich Prohaska
fc732b061c set the cachesize to 1/8 of memory. close #391
git-svn-id: file:///svn/mysql/tokudb-engine/src@2337 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:38 -04:00
Rich Prohaska
8dcbbdda3e use default implementation of ::check ::optimize ::analyze
remove savepoints



git-svn-id: file:///svn/mysql/tokudb-engine/src@2334 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:38 -04:00
Rich Prohaska
1cff4dacc4 work todo marked with QQQ in the code
git-svn-id: file:///svn/mysql/tokudb-engine/src@2269 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:38 -04:00
Rich Prohaska
ae86fa427c mark questionable code with QQQ addresses #317
git-svn-id: file:///svn/mysql/tokudb-engine-test4/src@2159 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:37 -04:00
Rich Prohaska
d92e043147 get create index working again. addresses #345
git-svn-id: file:///svn/mysql/tokudb-engine-test3/src@2139 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:36 -04:00
Rich Prohaska
d7f0a226cf add .tdb to the table dir name to get drop database to work when there still exists tables in it. closes #345
git-svn-id: file:///svn/mysql/tokudb-engine-test3/src@2137 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:36 -04:00
Rich Prohaska
76ae9404bc create unique index now works.
tokudb does not correctly implement multiple databases per file as the database flags are not duplicated.  so we put all of the databases in a directory with the table name as the directory name.



git-svn-id: file:///svn/mysql/tokudb-engine-test3/src@2128 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:36 -04:00
Yoni Fogel
817f239525 Import make.mysql.bash@HEAD 2013-04-16 23:57:16 -04:00
Rich Prohaska
2b1d690ede refs #6372 redo ext keys so that we dont have to upgrade the frm files
git-svn-id: file:///svn/mysql/tests/mysql-test@55232 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-08 21:53:05 +00:00
Rich Prohaska
3c911fc19b refs #6372 add drop partitioned tokudb table result file
git-svn-id: file:///svn/mysql/tests/mysql-test@55222 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-08 20:49:45 +00:00
Rich Prohaska
f62087f014 refs #6372 add mysql upgrade tests from 6.6.8 to riddler
git-svn-id: file:///svn/mysql/tests/mysql-test@55211 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-08 19:03:03 +00:00
Tim Callaghan
372724f19d refs #5579 disable test on mac
git-svn-id: file:///svn/mysql/tests/mysql-test@55070 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-04 17:36:38 +00:00
Rich Prohaska
f94ba7a202 refs #6440 move type tests
git-svn-id: file:///svn/mysql/tests/mysql-test@55042 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-03 21:50:32 +00:00
Rich Prohaska
e776ba7701 refs #6440 move mvcc tests
git-svn-id: file:///svn/mysql/tests/mysql-test@55041 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-03 21:42:19 +00:00
Rich Prohaska
b08d67c90b refs #6440 move cluster tests
git-svn-id: file:///svn/mysql/tests/mysql-test@55040 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-03 21:26:41 +00:00
Rich Prohaska
a8b2f3e6e6 refs #6440 move filter_cluster tests
git-svn-id: file:///svn/mysql/tests/mysql-test@55039 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-03 21:17:43 +00:00
Rich Prohaska
54470e2ed0 refs #6440 move tokudb.nested_txn
git-svn-id: file:///svn/mysql/tests/mysql-test@55035 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-03 18:02:12 +00:00
Rich Prohaska
fd968ead6e refs #6440 move tokudb.other
git-svn-id: file:///svn/mysql/tests/mysql-test@55034 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-03 17:56:52 +00:00
Rich Prohaska
e90d1815de refs #6440 move auto increment tests
git-svn-id: file:///svn/mysql/tests/mysql-test@55033 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-03 17:38:36 +00:00
Rich Prohaska
034a2219f0 refs #6440 move locking mysql tests
git-svn-id: file:///svn/mysql/tests/mysql-test@55032 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-03 17:15:35 +00:00
Rich Prohaska
f66e34d0d7 refs #6440 move change column tests
git-svn-id: file:///svn/mysql/tests/mysql-test@55031 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-03 16:49:00 +00:00
Rich Prohaska
2f83aed670 refs #6440 move fast update tests
git-svn-id: file:///svn/mysql/tests/mysql-test@55030 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-03 14:23:31 +00:00
Rich Prohaska
e45d6c84ba refs #6440 rename fast update tests
git-svn-id: file:///svn/mysql/tests/mysql-test@55029 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-03 14:02:53 +00:00
Rich Prohaska
e4c8b835fe refs #6440 move some more mysql tests for tokudb
git-svn-id: file:///svn/mysql/tests/mysql-test@55008 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-02 21:30:09 +00:00
Rich Prohaska
fcf055a5eb refs #6440 move some more mysql tests for tokudb
git-svn-id: file:///svn/mysql/tests/mysql-test@55006 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-02 21:15:49 +00:00
Rich Prohaska
405692c694 refs #6440 move some more mysql tests for tokudb
git-svn-id: file:///svn/mysql/tests/mysql-test@55004 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-02 20:51:18 +00:00
Rich Prohaska
fe88f46dad refs #6440 simplify the mysql tests for tokudb
git-svn-id: file:///svn/mysql/tests/mysql-test@54998 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-02 14:18:43 +00:00
Rich Prohaska
c22ab2bbb5 refs #6440 simplify the mysql tests for tokudb
git-svn-id: file:///svn/mysql/tests/mysql-test@54997 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-02 14:02:03 +00:00
Tim Callaghan
b2da0aa7ef Refs #6014 adding mysql test for new information_schema.global_status values
git-svn-id: file:///svn/mysql/tests/mysql-test@54981 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-01 17:07:24 +00:00
Zardosht Kasheff
5ab7e492bd refs #6098, fix a result file
git-svn-id: file:///svn/mysql/tests/mysql-test@54380 c7de825b-a66e-492c-adef-691d508d4ae1
2013-03-14 18:19:44 +00:00
Zardosht Kasheff
51b76ce4c3 refs #6098, fix result file
git-svn-id: file:///svn/mysql/tests/mysql-test@54331 c7de825b-a66e-492c-adef-691d508d4ae1
2013-03-13 03:02:21 +00:00
Yoni Fogel
608ac85cce refs #6086 Update query_plan.result to take in updated results. (Verified to be correct manually)
git-svn-id: file:///svn/mysql/tests/mysql-test@54296 c7de825b-a66e-492c-adef-691d508d4ae1
2013-03-12 02:01:08 +00:00