Commit graph

168 commits

Author SHA1 Message Date
Zardosht Kasheff
35ddbcb694 addresses #909
fix index_prev in case we don't have lock
it was a typo before

git-svn-id: file:///svn/mysql/tokudb-engine/src@4516 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:42 -04:00
Rich Prohaska
ed2fdd2f44 get the left outer join test in the sql-bench/insert working. addresses #838
git-svn-id: file:///svn/mysql/tokudb-engine/src@4515 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:42 -04:00
Zardosht Kasheff
3d40779336 addresses #913
grab locks in add_index to reduce lock tree overhead

git-svn-id: file:///svn/mysql/tokudb-engine/src@4499 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:42 -04:00
Zardosht Kasheff
b453499ae7 addresses #909
use DB_PRELOCK when we know we have lock acquired

git-svn-id: file:///svn/mysql/tokudb-engine/src@4481 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:42 -04:00
Zardosht Kasheff
890ee02626 addresses #873
no need to disable shortcut sorts with blobs

git-svn-id: file:///svn/mysql/tokudb-engine/src@4461 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:42 -04:00
Zardosht Kasheff
92022f03dd addresses #901
make handlerton not use a cursor that has had a failed operation
this will be useful for lightweight cursors

git-svn-id: file:///svn/mysql/tokudb-engine/src@4455 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:42 -04:00
Zardosht Kasheff
a939fc8b6a addresses #901
slightly restructure some functions to allow handling of lighter weight cursors

git-svn-id: file:///svn/mysql/tokudb-engine/src@4439 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:42 -04:00
Zardosht Kasheff
0be188db17 addresses #893
implement read_range_first to grab range read lock

git-svn-id: file:///svn/mysql/tokudb-engine/src@4405 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:42 -04:00
Zardosht Kasheff
3d417ee569 addresses #893
make table scans grab an entire read lock from the beginning

git-svn-id: file:///svn/mysql/tokudb-engine/src@4404 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:42 -04:00
Zardosht Kasheff
9732f7f32a addresses #873
used to disable covering indexes for some keys with strings for wrong reasons
not anymore

git-svn-id: file:///svn/mysql/tokudb-engine/src@4386 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:42 -04:00
Zardosht Kasheff
ec046740e4 addresses #893
add instances of read_range_first and read_range_next in ha_tokudb
currently just call parent class version

git-svn-id: file:///svn/mysql/tokudb-engine/src@4385 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:42 -04:00
Rich Prohaska
6a02056db4 get the sql command that is being processed when the external_lock function is called
git-svn-id: file:///svn/mysql/tokudb-engine/src@4353 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
e8f46df530 addresses #883
make add_index faster by making inserts into secondary table all be part
of on transaction

git-svn-id: file:///svn/mysql/tokudb-engine/src@4287 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
29e0cf4812 addresses #843
merge back into main branch

git-svn-id: file:///svn/mysql/tokudb-engine/src@4264 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
382402e728 addresses #861
now DB's are removed with db->remove and unlink

git-svn-id: file:///svn/mysql/tokudb-engine/src@4252 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
413d9c2195 addresses #874
check to see if keys that are added have same name as existing keys.
if so, gracefully return error

git-svn-id: file:///svn/mysql/tokudb-engine/src@4250 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
320be7d69f addresses #863
get proper error msg returned

git-svn-id: file:///svn/mysql/tokudb-engine/src@4224 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Rich Prohaska
3962b4c599 change the default cache table size to 1/2 of physical memory and add a sysvar that allows one to change the default percentage. closes #876
git-svn-id: file:///svn/mysql/tokudb-engine/src@4218 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
d64f437c88 addresses #846
tmp_key_buff was not big enough

git-svn-id: file:///svn/mysql/tokudb-engine/src@4200 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
9be6de8e68 addresses #846
table->s->max_key_length does not take into account new keys that are being added, and therefore is not suitable as a buffer size

git-svn-id: file:///svn/mysql/tokudb-engine/src@4167 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
dea9281ad5 addresses #846
not accessing ANOTHER null_bit correctly

git-svn-id: file:///svn/mysql/tokudb-engine/src@4165 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
2e3a952062 addresses #846
not accessing null_bit correctly

git-svn-id: file:///svn/mysql/tokudb-engine/src@4164 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
d75d64907a addresses #846
merge back into main branch

git-svn-id: file:///svn/mysql/tokudb-engine/src@4138 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Rich Prohaska
5924dbb1b4 control tokudb logging with the DB_INIT_LOG flag. closes #807
git-svn-id: file:///svn/mysql/tokudb-engine/src@4019 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
a77902c5e6 addresses #830
comment out DB_DBT_DUPOK usage, which fractal tree
does not understand at the moment

git-svn-id: file:///svn/mysql/tokudb-engine/src@3956 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
05a60c31f0 addresses #772
with DB->key_range64 implemented, enable records_in_range

git-svn-id: file:///svn/mysql/tokudb-engine/src@3952 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
be974a2363 addresses #828
replace bad NULL param with what the param should actually be

git-svn-id: file:///svn/mysql/tokudb-engine/src@3951 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
0aa99acbde addresses #822
git-svn-id: file:///svn/mysql/tokudb-engine/src@3939 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
73d7c19e8c addresses #808
reduce complexity of pack_row and make it independent of whether
we have a hidden primary key

git-svn-id: file:///svn/mysql/tokudb-engine/src@3920 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
369670902e addresses #808
no longer append hidden primary key at end of data inserted in tokudb table

git-svn-id: file:///svn/mysql/tokudb-engine/src@3900 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
8125c7c2af addresses #686
remove extraneous parameter in remove_keys

git-svn-id: file:///svn/mysql/tokudb-engine/src@3862 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
f97b5a7df0 addresses #686
add comments for create_key, pack_key, remove_keys, remove_key

git-svn-id: file:///svn/mysql/tokudb-engine/src@3860 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
02b7ae99f3 addresses #772
git-svn-id: file:///svn/mysql/tokudb-engine/src@3818 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
3144ecd8bd addresses #765
add tracing to more functions to get better idea of how MySQL makes calls
into handlerton

git-svn-id: file:///svn/mysql/tokudb-engine/src@3801 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
a90e19a8e1 addresses #732
make error handling of index_read and index_last consistent with
MyISAM and InnoDB

git-svn-id: file:///svn/mysql/tokudb-engine/src@3800 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Rich Prohaska
b6ca0c98c9 port to mysql 5.1.24-rc. addresses #776
git-svn-id: file:///svn/mysql/tokudb-engine/src@3766 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
a3474c1bde addresses #686
remove some comments about position() and rnd_pos() that may have been
inaccurate. Will put in comments once functions are better understood

git-svn-id: file:///svn/mysql/tokudb-engine/src@3650 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
33af62c16f addresses #686
add comments to understand how rnd_pos and position relate to each other
and how they work

git-svn-id: file:///svn/mysql/tokudb-engine/src@3638 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Zardosht Kasheff
cecacda7d2 addresses #686
comments for pack_row and unpack_key

git-svn-id: file:///svn/mysql/tokudb-engine/src@3634 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:41 -04:00
Rich Prohaska
e097db97af trace the ha_tokudb::rename method. closes #745
git-svn-id: file:///svn/mysql/tokudb-engine/src@3631 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Zardosht Kasheff
d761a002f6 closes #744
should do bzero on byte_stream instead of &byte_stream
only affected in a certain trace mode

git-svn-id: file:///svn/mysql/tokudb-engine/src@3628 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:40 -04:00
Rich Prohaska
1309643b90 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
9d4af785cc 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
584d43ab30 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
066a02e99c 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
b8c6f4bf48 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
213ba27532 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
3c671f37a1 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
70c7d6cdb5 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
01921df6ca 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
a7d40ecb7d 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
1c69b497bc 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
502187f0af 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
f80264c2b5 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
41b94672bd 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
f50ca6bed4 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
ccd4a0b09a 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
761bef7880 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
a1049ccc47 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
510a82718f 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
d98d0ca86a 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
4cd5722177 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
257c7b13c5 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
dc4573802f 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
968b3369cf 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
e32ce57034 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
62a3b58ba1 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
0f527440cf 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
afb13965f3 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
4da98dadd6 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
97bb315848 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
e34a3e7851 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
9d9b533fed 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
2eda3c1080 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
e492a3cfe0 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
1bf8b92f91 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
f84d63089e 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
15f55a7d09 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
ba1cb2251f 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
36b52aef6c 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
1bad2b1ffd 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
13b679ae5a 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
12d7fdbbb7 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
1e0b6b3210 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
253344a05b 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
f67069417f 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
25bba8f296 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
17562ace58 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
39f2ee5709 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
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
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