Commit graph

456 commits

Author SHA1 Message Date
Zardosht Kasheff
7684c017f8 [t:2862], fix compilation bug
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@23071 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:02 -04:00
Zardosht Kasheff
b792d1bbc1 [t:2862], fix calls to pre_acquire_read_lock in handlerton
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@23066 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:02 -04:00
Zardosht Kasheff
680e214d2c [t:2817], have prepare_drop_index reopen dictionaries if removing them fails
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@22869 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:02 -04:00
Zardosht Kasheff
48a93dd387 [t:2788], add end_bulk_insert(bool abort) for mariadb
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@22036 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:02 -04:00
Zardosht Kasheff
c0aa88d974 [t:2801], refer to bulk loader put phase as a fetch for loading into an empty table
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@22012 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:02 -04:00
Zardosht Kasheff
8adf39b5e4 [t:2800], refer to put phase of add_index as fetch
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21954 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:02 -04:00
Zardosht Kasheff
10ee531aa2 [t:2799], fix issue in add index case
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21938 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:02 -04:00
Zardosht Kasheff
93d20fad22 [t:2797], fix bug on main
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21933 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:02 -04:00
Zardosht Kasheff
a6ceacf77b [t:2789], fix bug that corrupts data on main line
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21932 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:02 -04:00
Zardosht Kasheff
528912518c [t:2780], report loader progress as percentage with less precision
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21826 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:02 -04:00
Zardosht Kasheff
334f4f243f [t:1078], check in savepoint implementation to main line
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21825 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Rich Prohaska
ee854d9326 #2775 closes[t:2775] conditionally include tokutek enhancements in the handlerton
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21722 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Zardosht Kasheff
be56644d3d [t:2746], fix on main, add status updates during is_index_unique
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21312 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Zardosht Kasheff
c602f029ac [t:2744], add progress info stating when we abort, fix on main
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21292 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Zardosht Kasheff
b2d222add4 [t:2745], fix in main, get is_index_unique to check if thd->killed is set
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21288 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Zardosht Kasheff
d485f89ee5 [t:2741], fix on main, before calling loader->abort, set status message to say we are aborting bulk load
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21287 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Zardosht Kasheff
b8fa234b40 [t:2726], reset share->try_table_lock for all error paths
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21101 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Zardosht Kasheff
1aa52c5462 [t:2726], if user aborts a bulk load, set share->try_table_lock to true
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21079 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Zardosht Kasheff
1e28cffa43 [t:2727],[t:2728], make commit progress indicator more clear, have proper error show up when process is killed during loader->close
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21077 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Zardosht Kasheff
5bdaa5d7ac [t:2722], have end_bulk_insert call loader->abort if thread has been killed
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21050 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Zardosht Kasheff
71f21bfd90 [t:2676], get handlerton compiling with new descriptor interface
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20779 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Zardosht Kasheff
6ea928c0bd [t:2657], remove extraneous printf
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20655 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Zardosht Kasheff
6b446e23a7 [t:2651], add assert
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20574 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Zardosht Kasheff
5392e6c57e [t:2651], fix test_row_packing so that incorrect results are not given
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20561 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Zardosht Kasheff
ed5b5cdd30 [t:2563], have a test mode where errors are not printed to the log file when fileops fails due to DB_LOCK_NOTGRANTED
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20501 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Zardosht Kasheff
cbb2e27d52 [t:2615], remove extraneous printf
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20451 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Zardosht Kasheff
39e870185d [t:2615], get replace into optimization working with load data infile replace
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20398 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Zardosht Kasheff
baf7160940 [t:2627], remove unused variable
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20366 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Zardosht Kasheff
8406f1dcc8 [t:2614], make tokudb_prelock_empty a session variable
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20227 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:00 -04:00
Zardosht Kasheff
6b512e3b7e [t:2599], upon finding a uniqueness violation, properly unpack the key
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20167 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:00 -04:00
Zardosht Kasheff
3c6311729e [t:2600], remove unnecessary table scan
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20141 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:00 -04:00
Zardosht Kasheff
3b1179338c [t:2514], this fix is not ready yet, undo it
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20017 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:00 -04:00
Zardosht Kasheff
94f531a2ac [t:2514], decouple tokudb_pk_insert_mode from HA_EXTRA_WRITE_CAN_REPLACE
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20000 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:00 -04:00
Zardosht Kasheff
645f9ba272 [t:2548], finish feature
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@19956 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:00 -04:00
Zardosht Kasheff
99ee480cee [t:2548], make code simpler, prep for extending replace into optimization
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@19868 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:00 -04:00
Zardosht Kasheff
5915359d98 [t:2572], fix crash in case create_loader fails
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@19863 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:00 -04:00
Rich Prohaska
a9331ab3c8 [t:2557], fix compilation error
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@19817 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:00 -04:00
Zardosht Kasheff
832cc76d6f [t:2557], remove unneeded code for 5.5.4
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@19816 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:00 -04:00
Zardosht Kasheff
eadf4b55db [t:2526], add HA_CLUSTERED_INDEX for clustering indexes
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@19656 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:00 -04:00
Zardosht Kasheff
4707fd66fe [t:2549], add Martin option
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@19652 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:00 -04:00
Zardosht Kasheff
c357792d7f [t:2494], merge handlerton portion to main
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@19074 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:00 -04:00
Zardosht Kasheff
3d75064d7c [t:2491], set share->try_table_lock to true in call to delete_all_rows
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18881 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:00 -04:00
Zardosht Kasheff
cf9370b354 [t:2335], merge handlerton bulk loader code to main
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18863 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Rich Prohaska
1cba9d339f remove cruft from the tokudb-engine dir refs[t:2474]
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18834 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Rich Prohaska
409be1891e fix some handlerton gcc warnings closes[t:2478] #2478
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18802 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Rich Prohaska
b9aea4a3dc fix some gcc warnings in the handlerton. merge -c 18350 and -c 18442 to main refs[t:2478] #2478
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18800 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Zardosht Kasheff
6d327a5516 remove printf's
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18288 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Zardosht Kasheff
54974bdee1 [t:2435], display amount of data_free in show table status
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18267 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Zardosht Kasheff
e0104ccba0 [t:2433], re-estimate number of rows when doing show table status
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18225 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Zardosht Kasheff
53c53ef80f [t:2425], make insert ignore and replace into optimizations work properly
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18212 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00