Commit graph

444 commits

Author SHA1 Message Date
Zardosht Kasheff
2cea2589e5 [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
626e6009fa [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
56cf099550 [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
6b2ea7278e [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
4762c422e8 [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
24d7fed269 [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
9be26d7cba [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
c1a91e69fe [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
c41974cb18 [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
59200b8b9b [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
fa5307dc6d [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
dde1b035d4 [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
435fa7de1f [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
092ad2219b [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
cbba637333 [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
96e3935d30 [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
ffafecce49 [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
a4ae3a509d [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
a6762fbad2 [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
b129068676 [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
15e830f051 [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
f2de64d81c [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
1aae85b36c [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
cd4531f5a9 [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
3bd4ae3637 [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
68489e8585 [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
5bcb5a622c [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
a65d9efc11 [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
52f5774532 [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
043deaca92 [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
870a55543c [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
3727f6dd4a 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
383d555160 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
772b7ed670 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
dab9d9a4a8 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
5af2fb7b95 [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
0611141884 [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
eb210e5f68 [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
Zardosht Kasheff
b509f3ad10 [t:2356], remove dead code
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18114 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Zardosht Kasheff
306175f2ef [t:2403], set last_dup_key in update_row
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18045 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Zardosht Kasheff
8463490170 [t:2401],[t:2358], remove unnecessary uniqueness check and make insert ignore as fast as replace into on tables with no secondary indexes
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18033 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Zardosht Kasheff
f1488c2678 [t:2395], remove unused variables
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@17987 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Zardosht Kasheff
91d570d0ba [t:2356], make lock wait on reads user controlled
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@17986 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Zardosht Kasheff
7a07530515 [t:2383], change kc_info->field_lengths to 2 bytes perelement
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@17884 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Zardosht Kasheff
7bf625bbaa [t:2359], make replace into with no secondary indexes not create a child transaction
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@17717 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:58 -04:00
Zardosht Kasheff
121a938e8f [t:2357], do query backoff on pt queries
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@17716 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:58 -04:00
Zardosht Kasheff
c5508dd40f [t:2361], no longer assume that 3.0.x tables may be used with 3.1.0
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@17715 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:58 -04:00
Zardosht Kasheff
df93c2e056 [t:2355], make waits on writes user controlled
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@17707 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:58 -04:00
Zardosht Kasheff
6b6e2ab25c [t:2342], undo bad change
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@17485 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:58 -04:00
Zardosht Kasheff
2afaba778d [t:2342], some work for porting handlerton
git-svn-id: file:///svn/mysql/tokudb-engine/src@17474 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00