Zardosht Kasheff
c71ba6e714
added executebit for configure
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3190 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
2ee2ad741f
fix the problem with mysql unpack_key implementation. closes #561
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3187 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
1e2322e7f6
add tracing at the mysql handler/ton interfaces
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3079 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
97a0e797b8
fix the DEBUG=0 build. addresses #317
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3072 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
8b2d9d763f
add tokudb_version string derived from the build branch name. closes #597
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3070 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
9eca3c07be
rearrange the debug tracing
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3068 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
90b526a5cd
file->offset(addr) were assuming addr was within the field's record, which is not always the case. closes #592
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3058 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
cebc556c2a
get_auto_increment consumes only the desired number of sequential numbers
...
from the last auto increment number. this makes insertions of multiple rows
work.
git-svn-id: file:///svn/mysql/tokudb-engine/src@3049 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
4a63219656
add build variables to control DEBUG and GCOV builds. addresses #317
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3021 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
ed927120be
the -nostdlib prohibits coverage compiles to work. addresses #363
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3020 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
b5ed627eba
simplify the config and build. addresses #317
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3017 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
eb891d74ca
add PREFIX_KEY_OR_PREV index match. closes #488
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3009 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
0a8c2c08bd
add some debug tracing to the handlerton.
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@2978 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
7cbe15cdaa
add commit_sync thread variable. closes #525
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@2957 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
197e8ffe49
implement auto increment for primary keys in which the first field is the auto increment field. addresses #541
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@2928 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
81d56a515b
fix the simple auto increment bug. close #531
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@2801 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
44106094a8
debugging falcon_bug_22845 crash
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@2785 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
475fa2358f
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
1ef2844fa7
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
0aedad5d98
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
a631ac8747
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
bf82bd1707
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
13945f1987
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
1f97a790c0
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
24f7bc8966
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
2782323015
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
4f9dc23b1e
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
035e5ea706
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
453cfa4c62
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
d09dc67696
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
25a4286b74
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
dc73aaa5fa
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
0e3de4b409
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
5b9609ff73
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
7c1b5cc90e
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
1c5092016b
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
7f9c7524d6
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
065ec3a317
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
3b23425d35
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
6cd8a96b09
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
40eda9e9a6
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
55d71516af
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
b62bc567b6
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
ace89ea8d3
Import make.mysql.bash@HEAD
2013-04-16 23:57:16 -04:00
Rich Prohaska
0001ce52f6
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
82c990de2b
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
0edca87cdb
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
85c23a7cf2
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
80be59e398
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
5071f965c0
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