Commit graph

613 commits

Author SHA1 Message Date
Zardosht Kasheff
f469ff91b1 [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
45cc4d9ef6 [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
68a9d74a77 [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
f20511cc58 [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
4f92a37cd2 [t:2751], add tokudb_tmpdir variable, by default, tmp files go to datadir
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@22035 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:02 -04:00
Zardosht Kasheff
294d5a52aa [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
49c36ad004 [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
a9087e0a82 [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
a5455ab485 [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
8d4dedefd7 [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
Rich Prohaska
9de22318d0 #2786 closes[t:2786] bug fix from zardosht for the optimize table crash
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21845 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:02 -04:00
Zardosht Kasheff
176a41e7be [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
676b23085e [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
02638f52b9 #2775 refs[t:2775] conditionally include tokutek enhancements in the handlerton
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21774 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Rich Prohaska
8be04fd8e0 #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
cf8cdfeaea [t:2770], fix leak of tmp_txn
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21645 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Zardosht Kasheff
6f4a50d2ed [t:2768], fix crash
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21627 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Barry Perlman
e0da043700 Closes [t:2753] Fix typo in engine status.
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21332 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
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
Barry Perlman
8b95882d08 Closes [t:2737] Fix compiler warnings.
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21221 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
Barry Perlman
f5153a99c9 [t:2725] Add missing engine status info to handlerton's display of engine status.
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21055 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
Rich Prohaska
6543627798 closes[t:2682] make the tokudb_debug mysql sys var writeable
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20870 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
Barry Perlman
977ad0c1e2 [t:2561] Patch out upgrade status until upgrade logic is merged to main.
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20774 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
Barry Perlman
b601a84b62 [t:2504] Add upgrade info to engine status.
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20497 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
a4c19f2952 [t:2618], set default number of locks per dict to 64*1024
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20312 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:00 -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
Barry Perlman
3a77bee7be [t:2504] Improve engine status
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20076 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:00 -04:00
Zardosht Kasheff
bd356d27fe [t:2582], use separate transactions in show engine user_data
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20028 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