Commit graph

1013 commits

Author SHA1 Message Date
John Esmet
7268d4a6b3 close[t:4494] indexing is now HOT by default
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@44583 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
2260d3e46c #5023 fixup compiler warnings on 5.6.6 refs[t:5023]
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@44276 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:11 -04:00
Rich Prohaska
e2b7e12206 #5023 reformat handlerton admin.cc refs[t:5023]
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@44275 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:11 -04:00
Rich Prohaska
0d2b9ffb60 #5023 always include the update callback in the handlerton on the mainline refs[t:5023]
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@44274 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:11 -04:00
Rich Prohaska
930e7b8470 #5023 always compile in the update callback in the handlerton (for mysql 5.6) refs[t:5023]
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@44266 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:11 -04:00
Rich Prohaska
ae0fd3b904 #5023 always compile in the update callback in the handlerton (fix build for mysql 5.1) refs[t:5023]
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@44264 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:11 -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
John Esmet
f9f5e2d7b9 [t:5019] fix the license string for our plugins
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@44244 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
d72a5a4240 #4925 merge timestamp changes to main for 5.6 refs[t:4925]
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@44056 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:11 -04:00
Rich Prohaska
adac9ffcbd #4949 fix bug in show engine tokudb status closes[t:4949]
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@44043 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
4f4c1a8c42 #4921 fix tokudb_user_data table refs[t:4921]
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@43846 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
Zardosht Kasheff
defa34ffb5 [t:4695], make handler changes to get this working. Tests remain
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@41776 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00
Zardosht Kasheff
cf029f1663 [t:4717], fix problem
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@41769 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00
Zardosht Kasheff
ed8d7917bc [t:4297], add some more test hooks for XA
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@41754 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00
Zardosht Kasheff
13d66dcf50 [t:4297], enable XA for 5.5
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@41746 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00
Zardosht Kasheff
fffcab44f6 [t:4297], merge XA for handlerton to main
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@41740 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00
Rich Prohaska
9bb2186d95 #4695 put the original add_index back for 5.1 refs[t:4695]
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@41713 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00
Rich Prohaska
54934d8705 #4695 put stubbed add_index back for 5.1 refs[t:4695]
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@41678 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00
Rich Prohaska
a5201dcdb7 #4695 use alter table txn to write frm data and drop indexes. add index to do next refs[t:4695]
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@41665 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00
Rich Prohaska
cb5808eeac #4695 write new frm data during alter table refs[t:4695]
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@41663 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00
Leif Walsh
62decaf581 [t:4635] adding TOKUDB_DEFAULT to server variable possibilities, and
handling the case for ROW_TYPE_DEFAULT to quiet down SHOW CREATE TABLE


git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@41634 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:10 -04:00