Rich Prohaska
6eb3ef8469
tokudb does not implement the DB_RMW cursor get flag. updates were gettting EINVAL fromthe storage engine. tokudb turns read locks into write locks when required, to the flag is just an optimization. we plan on replacing the affected code with the tokudb delete both method in the future.
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@2769 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
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
Rich Prohaska
0cdcce9c27
fix the mysqld crash when a create index fails. closes #334
...
git-svn-id: file:///svn/mysql/tokudb-engine-test2/src@2100 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-05 20:02:26 +00:00
Rich Prohaska
5aee624950
fix DBUG_RETURN in the ::create_key method. addresses #317
...
git-svn-id: file:///svn/mysql/tokudb-engine-test2/src@2096 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-05 16:23:26 +00:00
Rich Prohaska
9e4247cc87
build the tokudb storage engine. addresses #317
...
git-svn-id: file:///svn/mysql/tokudb-engine-test2/src@2095 c7de825b-a66e-492c-adef-691d508d4ae1
2008-02-05 16:00:53 +00:00