Rich Prohaska
8784e3b3df
turn recovery off for the 1.0.1 release. closes #742
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3624 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Rich Prohaska
30b5767307
change the auto_increment field filter to only allow the first field in the primary key or the first field in the row if there is no primary key. closes #738
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3596 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Rich Prohaska
883a1050e0
print a usage message for any unknown parameters (which are probably typos). closes #737
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3588 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Rich Prohaska
1565df56aa
fix the crash.sql problem when transactions are turned off. closes #734
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3568 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Rich Prohaska
55e336f615
get covering index reads to work by supplying the key from the index to the read row function. addresses #705
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3559 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Zardosht Kasheff
154cd0f30b
addresses #686
...
add comments for read_row
git-svn-id: file:///svn/mysql/tokudb-engine/src@3543 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Zardosht Kasheff
ce529d83b0
addresses #686
...
add comments for several member variables
git-svn-id: file:///svn/mysql/tokudb-engine/src@3535 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Rich Prohaska
85aa7bfac6
allow one to set the version. closes #727
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3534 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Rich Prohaska
7d80c7db45
more changes to get the storage engine working without transactions. addresses #460
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3526 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Rich Prohaska
06f6e93273
allow one to turn transactions, locking, or logging off in the tokudb storage engine for experiments. addresses #460
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3512 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Zardosht Kasheff
89b4631a1b
addresses #686
...
add comments to most member variables in ha_tokudb.cc
change initialization of cursor and transaction pointers to NULL instead of 0
git-svn-id: file:///svn/mysql/tokudb-engine/src@3510 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Rich Prohaska
7517e9221b
just add a checkpoint to the log when the handlerton is shutdown. closes #702
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3509 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Rich Prohaska
9e3c7aa868
turn on DB_RECOVER in the env->open call. closes #652
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3508 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Zardosht Kasheff
c10d7c7f2b
addresses #686
...
put comments above public function declaring what their behavior, parameters
and possible return values
git-svn-id: file:///svn/mysql/tokudb-engine/src@3500 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Rich Prohaska
a697f0204d
fix the ATIS test SELECT failure by adding a dup compare function for the primary key. closes #637
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3491 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Rich Prohaska
eceae2ffd1
dont delete an uninitialized pointer. closes #707
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3485 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Yoni Fogel
d7626ccc25
Addresses #701
...
Save comparison function in handlerton
Currently supports all pure integer types
git-svn-id: file:///svn/mysql/tokudb-engine/src@3476 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Rich Prohaska
a1288e0cb4
remove the subdatabase names from the tokudb databases. addresses #703
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3460 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Rich Prohaska
87991e471b
cleanup the cleanup log files function. addresses #702
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3455 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Rich Prohaska
e0c79f426f
show engine tokudb logs always reports nothing. the tokudb log_archhive function always returns EINVAL since it does not support flags!=0. set log_archive flags=0 for tokudb to avoid EINVAL return. addresses #697
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3450 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Rich Prohaska
672800db90
cleanup the ::get_status function. closes #657
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3313 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Rich Prohaska
0dbaf10a08
remove ha_tokudb::index_read_last and use the default implementation. closes #645
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3287 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Vincenzo Liberatore
0e24b83932
Addresses #629 Remove some tracking code
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3282 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Zardosht Kasheff
37f0d9b383
addresses #648
...
dereferencing value in debug statement that could be NULL
this fixes it.
git-svn-id: file:///svn/mysql/tokudb-engine/src@3276 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Yoni Fogel
de910f49ab
Addresses #648
...
Updated ha_tokudb::index_read and comparison functions based on code review.
Also put in some (very informal) comments about how index_read is supposed to work.
git-svn-id: file:///svn/mysql/tokudb-engine/src@3275 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Vincenzo Liberatore
e11df507ba
Addresses #629 Some changes to the handlerton to track down the error
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3274 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Vincenzo Liberatore
e1e4eec722
Addresses #628 See mysql/doc/deadlock.txt and change history in this ticket for further comments
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3243 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Rich Prohaska
91fd3047d0
translate DB_LOCK_NOTGRANTED to ER_CANT_LOCK. addresses #624
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3233 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
c03700308e
cleanup table files if a create fails. closes #624
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3216 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
f21910376c
fix the EDOM errors by makeing the key compare function implement a total order on the key space (including key prefixes), and using DB_SET_RANGE in place of DB_SET for cursor operations. closes #576 closes #587
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3211 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
Rich Prohaska
06e3b10a09
limit table create for auto increment keys. closes #539
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@3202 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:39 -04:00
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