Commit graph

125 commits

Author SHA1 Message Date
Zardosht Kasheff
2ff2bdf73a [t:3117],[t:3118], merge handlerton pieces
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@26452 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:04 -04:00
Zardosht Kasheff
b542805fc3 [t:3053], implement ha_tokudb::truncate
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@25918 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:03 -04:00
Zardosht Kasheff
7f836645b1 [t:3051], make a default implementation for keyread_time that takes into account clustering keys
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@25843 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:03 -04:00
Zardosht Kasheff
4a91e9d4d0 [t:3038], move changes to main
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@25704 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:03 -04:00
Rich Prohaska
d93138ecf5 #3011 remove *extra from *multiple refs[t:3011]
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@25632 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:03 -04:00
Zardosht Kasheff
cfded943a2 [t:3015], make handlerton changes for update_multiple usage
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@25474 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:03 -04:00
Zardosht Kasheff
27368bcaec [t:3015], make small changes
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@25304 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:03 -04:00
Zardosht Kasheff
23a56da737 [t:3014], get rid of remove_keys from .h file, should have been part of last checkin
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@25294 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:03 -04:00
Zardosht Kasheff
cd08c3da33 [t:3014], use del_multiple in handlerton
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@25189 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:03 -04:00
Zardosht Kasheff
66f8087e2f [t:2956], fix array initialization
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@25116 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:03 -04:00
Zardosht Kasheff
52bd743736 [t:2982], remove handlerton support for show engine tokudb user_data
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@24753 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:02 -04:00
Rich Prohaska
d7355bf984 #2940 port the handlerton to 5.5.6-rc
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@24103 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:02 -04:00
Zardosht Kasheff
e9215c3ff6 [t:2811], merge handlerton MVCC changes to main line
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@23498 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
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
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
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
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
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
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
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
3a57fdf91e [t:2394] remove unused variable
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@17985 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
1801c67358 [t:2314], get updates to use put_multiple API
git-svn-id: file:///svn/mysql/tokudb-engine/src@17231 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00
Zardosht Kasheff
9c822f5ccc [t:2325], move to main
git-svn-id: file:///svn/mysql/tokudb-engine/src@17179 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00
Zardosht Kasheff
0eb6a7e226 [t:2274], unpack only necessary blobs in range queries. Saves some mem copies
git-svn-id: file:///svn/mysql/tokudb-engine/src@16954 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00
Zardosht Kasheff
37884cf78c [t:2266], do lazy update of auto inc val when it is not first column of key, before ,it used to only be when it was first column of a key
git-svn-id: file:///svn/mysql/tokudb-engine/src@16942 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00
Zardosht Kasheff
2092ff6edb [t:2254], merge to main line
git-svn-id: file:///svn/mysql/tokudb-engine/src@16938 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
83fd01094f [t:1979], remove old hack
git-svn-id: file:///svn/mysql/tokudb-engine/src@16249 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
4acb099b8d [t:2219], small changes to help understanding of code
git-svn-id: file:///svn/mysql/tokudb-engine/src@16241 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
9671cade8b [t:2219], cosmetic change
git-svn-id: file:///svn/mysql/tokudb-engine/src@16157 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
53a3013aea [t:1979], merge to main line
git-svn-id: file:///svn/mysql/tokudb-engine/src@15772 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
64d44b4364 [t:2054], rename some functions
git-svn-id: file:///svn/mysql/tokudb-engine/src@15470 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
946caf2b7c [t:2027], move some common code to a function
git-svn-id: file:///svn/mysql/tokudb-engine/src@14819 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
24a9c87e9c [t:2033], add process info for queries
git-svn-id: file:///svn/mysql/tokudb-engine/src@14784 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
412686a5a5 [t:1869], checkin fix with added variable to allow disabling of feature
git-svn-id: file:///svn/mysql/tokudb-engine/src@14521 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
84df6cc11d [t:1980], [t:1981], merge back to mainline
git-svn-id: file:///svn/mysql/tokudb-engine/src@14493 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
e2cba2d4ed [t:1949], abstract transaction creation to own function for reuse in start_stmt
git-svn-id: file:///svn/mysql/tokudb-engine/src@14184 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
3c6b7cd274 [t:1929], fix cases where comparison needs to be done afterwards
git-svn-id: file:///svn/mysql/tokudb-engine/src@14108 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
26c1c7e4e0 [t:1929], replace c_get functions in index_read with c_getf
git-svn-id: file:///svn/mysql/tokudb-engine/src@14079 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
cddd75b29f [t:1951], make new infinity byte value COL_ZERO
git-svn-id: file:///svn/mysql/tokudb-engine/src@14076 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
baf1a5be88 [t:1925], remove unused variable current_row
git-svn-id: file:///svn/mysql/tokudb-engine/src@13869 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
3225e8928d [t:1925], use db->getf_set in ha_tokudb::read_row
git-svn-id: file:///svn/mysql/tokudb-engine/src@13867 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
00b424a4e9 [t:1925], use db->getf_set in a couple of places
git-svn-id: file:///svn/mysql/tokudb-engine/src@13866 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
82362f855d addresses #1888, address comments made in CR
git-svn-id: file:///svn/mysql/tokudb-engine/src@13579 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
677eaca52e addresses #1858, change so opt only works when auto inc is first column of key
git-svn-id: file:///svn/mysql/tokudb-engine/src@13489 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
01f2fddeb7 addresses #1869, move out of main. This change will not go in as is
git-svn-id: file:///svn/mysql/tokudb-engine/src@13487 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00