Zardosht Kasheff
e803eb6790
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
f4028a09e5
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
d755a5cf57
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
d6279fce3f
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
3b4f69ea40
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
3f16b42986
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
b388d99873
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
a7c17096ab
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
b37be23353
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
3574089326
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
56beb791f8
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
32b628f44a
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
6322d30093
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
f4622e9d54
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
3cff8476ea
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
b5fceb7386
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
72292c18df
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
78bd0d25bb
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
7501fd65c7
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
2122b4609a
[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
845dfc1b5d
[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
964a8139b9
[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
8bb8263eeb
[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
1111b818d0
#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
e2ad4213ad
[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
9615bae338
[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
caaa06c1c8
[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
19b37aeb50
#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
224979c961
#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
a04aa405d3
#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
5ae60068b5
#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
f327b4eeda
#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
fe0e092ac5
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
d4b586e89d
[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
cd7cd6f4e4
#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
fd5652058b
#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
05d0a5b0fe
[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
1037bc8f09
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
8b3a84f298
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
d6bbcd61d2
#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
8630ee8f67
#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
d3c48897b7
[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
5b025a2a5e
#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
fe6a139a4d
[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
9395e416c8
[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
Zardosht Kasheff
42958dceb4
[t:4695], call restore_add_index in final_add_index all the time
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@41785 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00
Zardosht Kasheff
68df4116a7
[t:4695], remove new_alter_table_frm_data_fail
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@41784 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00
Zardosht Kasheff
0230a3f47b
[t:4695], fix placing of debug variables
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@41782 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00
Zardosht Kasheff
5d9dfa2e81
[t:4695], fix compilation issue
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@41780 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00
Zardosht Kasheff
41d405c592
[t:4695], add some debug state variables to simulate add index and drop index failures on 5.5
...
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@41779 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00