Rich Prohaska
3921faeecb
refs #5726 get upserts working with hot indexing
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@50484 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:16 -04:00
Rich Prohaska
6f26ea8163
refs #5254 merge fast upserts to mainline. enabled on mysql 5.6 only for now.
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@50363 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:16 -04:00
Yoni Fogel
8206e02a38
refs #5467 merge onto handlerton (kill putloader)
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@50180 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:15 -04:00
John Esmet
b6fae997fd
refs #5351 fix a mysql test failure caused by non-shared read locks. turns out the real error is that we do not consistently return ER_LOCK_WAIT_TIMEOUT on cursor errors, so mysql-tests can be very fragile.
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@50139 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:15 -04:00
Zardosht Kasheff
f98ea7a7ad
closes #5691 , add comment
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@50057 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:15 -04:00
Zardosht Kasheff
49a37d5a3b
refs #4675 , fix auto increment behavior on truncate to reset properly
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@49931 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:15 -04:00
Rich Prohaska
271e1cf6bd
refs #5628 reverse expression order in ha_tokudb::store_lock (faster expression which is false most of the time first)
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@49081 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:15 -04:00
Zardosht Kasheff
55cdf389ef
refs #5585 , make a fix to help joins using unique keys
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@48891 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:15 -04:00
Zardosht Kasheff
c1840ae157
closes #5481 , remove trx->should_abort
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@48871 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:15 -04:00
Zardosht Kasheff
b10eed1f5a
closes #5547 , remove code that was there only for MySQL 5.1
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@48597 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:15 -04:00
Rich Prohaska
49f4651c49
refs #5502 delete frm data when partitioned tables are opened and the frm data is not being maintained by the handlerton
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@48050 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:14 -04:00
Zardosht Kasheff
100a292827
refs #5469 , refs #5481 , add comments reminding myself to remove what should hopefully be a useless variable
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@47800 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:14 -04:00
Zardosht Kasheff
954ad0d550
refs #5467 , undo change
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@47790 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:14 -04:00
Zardosht Kasheff
f8499b0608
refs #5467 , do checkpoitn at end of tokudb_add_index
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@47745 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:14 -04:00
Rich Prohaska
efda2c9152
refs #5333 support varchar expansion on 5.5
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@47484 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:13 -04:00
Rich Prohaska
98104ed322
refs #5394 shadow active_index with tokudb_active_index for scan operations on a tokudb table. fixes a problem in 5.6.6-m9.
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@47135 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:13 -04:00
Rich Prohaska
4d0b1af28e
refs #5343 save frm data for partitioned tables in 5.5
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@46785 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:13 -04:00
Rich Prohaska
32354be35f
refs #4743 use a single txn for alter table on a partitioned tokudb table
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@46587 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:13 -04:00
Rich Prohaska
324c3b8156
refs #4743 rollback alter table add key with partitions
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@46436 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:13 -04:00
Rich Prohaska
81fd9403e5
replace tables in handlerton files
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@46186 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:13 -04:00
Yoni Fogel
274b25eb8b
refs #5081 Replace all usage:
...
BOOL->bool
FALSE->false
TRUE->true
u_int*_t->uint*_t
Also poisoned all of the variables
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@46156 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:13 -04:00
Rich Prohaska
0c8dc0add8
refs #5195 rearrange some handlerton files
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@45857 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:12 -04:00
John Esmet
e4399f2358
refs #4800 report progress to the client and show processlist for offline indexing, loads, and optimize table. only show process in show processlist for hot optimizing.
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@45132 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:12 -04:00
Zardosht Kasheff
b57f34f0d4
closes #5130 , make handler change
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@44897 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:12 -04:00
Zardosht Kasheff
a4138ad04a
[t:5059], make status dictionary have a small node size
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@44851 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:12 -04:00
Zardosht Kasheff
1a6afca9da
[t:5037], fix bug by adding trx->should_abort in case loader returns an error
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@44505 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:12 -04:00
Zardosht Kasheff
19b43690e0
[t:5041], fix load data local on main
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@44399 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:12 -04:00
Zardosht Kasheff
f332f537c2
[t:5003], expand fix to include replace into and insert...on duplicate key update
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@44278 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:12 -04:00
Rich Prohaska
0cbe02d15a
#5023 always compile in the update callback in the handlerton (even for mysql 5.5 without hcad) refs[t:5023]
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@44263 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:11 -04:00
Leif Walsh
f30b5654c0
[t:5013] don't initialize dest_val if src_val is empty in tokudb_generate_row on mainline too. fixes #5013
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@44256 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:11 -04:00
Zardosht Kasheff
f7b8cddd2b
[t:5003], fix bug on main
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@44234 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:11 -04:00
Zardosht Kasheff
20b52e6691
[t:4920], in ha_tokudb.cc, protect indexer->close and indexer->abort with shanre->num_DBs_lock
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@44159 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:11 -04:00
Rich Prohaska
f7f060bbf9
#4476 more HCAD progress on 5.6 refs[t:4476]
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@43893 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:11 -04:00
Rich Prohaska
570256806a
#4476 merge 5.6 handlerton changes to main refs[t:4476]
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@43856 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:11 -04:00
Rich Prohaska
ee1e9cfd38
#4921 add per table data size to the tokudb_user_data information schema. also, combine all handlerton source into one compiled file refs[t:4921]
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@43824 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:11 -04:00
Rich Prohaska
3c1c690b71
#4903 add HCAD recovery to mainline 5.6 refs[t:4903]
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@43773 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:11 -04:00
Rich Prohaska
6538ba0612
#4855 support hcadr in mysql 5.6 and merge to main refs[t:4855]
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@43723 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:11 -04:00
John Esmet
91b38769ae
close[t:4714] merge 4714 to main.
...
the handlerton will conditionally compile in a reader writer lock for a table share's key_file array in mysql and mariadb versions before 5.5
future versions have metadata locking at the mysql layer, so the handlerton doesn't need the key_file lock.
this change also improves the key_file locking comment and removes some old, non-useful comments that I left behind in the past.
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@43721 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:11 -04:00
Leif Walsh
f1cd9edf6b
[t:4882] fix handlerton to set compression method before db->open
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@43528 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:11 -04:00
Rich Prohaska
4a497b3b06
#4855 compile the handlerton on mysql 5.6.6 refs[t:4855]
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@43497 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:11 -04:00
Rich Prohaska
d27ddbe242
#4855 merge 5.6 handlerton changes to main closes[t:4855]
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@43279 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:11 -04:00
Leif Walsh
7450075132
[t:4840] [t:3383] don't blow away what's in create_info if the user
...
specified it, in ha_tokudb::update_create_info
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@43201 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:11 -04:00
Rich Prohaska
5e84318d23
fix debug build
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@43074 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:11 -04:00
Leif Walsh
c73e79866d
change default case to an enum value case, per compression code review
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@42977 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00
Rich Prohaska
9e8dc90d60
#4729 get the compilation of the compression patch correct refs[t:4729]
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@42862 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00
Rich Prohaska
9b28cbff31
#4729 fix a typo in the handlerton on the mainline that allows one to compile without the compression patch refs[t:4729]
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@42409 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00
Zardosht Kasheff
d28cf8f96d
[t:4747], fix access to table_share->key_info for tables with a hpk
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@42080 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00
Rich Prohaska
be35ec5640
#4729 build the handlerton on mariadb 5.5 without any patches refs[t:4729]
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@41954 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00
Zardosht Kasheff
2eeed518b8
[t:4720], fix add index for partitioned tables, handler piece
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@41818 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00
Zardosht Kasheff
60a4abba65
[t:4518], make handerlton fix
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@41803 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00