Commit graph

723 commits

Author SHA1 Message Date
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
Barry Perlman
3d6436c5e3 [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
cbbde4c90f [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
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
Zardosht Kasheff
95251209d3 [t:2566], remove unnecessary warning
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@19835 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:00 -04:00
Rich Prohaska
5ac91aec85 [t:2557], undo bad checkin of Makefile.am
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@19818 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
53d9835f82 [t:2557], get handlerton compoling by removing VOID casts
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@19806 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
f85064384d [t:2543], fix build
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@19585 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:00 -04:00
Zardosht Kasheff
a083819c47 [t:2524], change text
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@19561 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:00 -04:00
Barry Perlman
912c9511f3 [t:2504] Added range lock escalation success/failure counts to engine status.
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@19268 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
7f6651a8c9 [t:2497], account for infinity byte
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18924 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
Rich Prohaska
c9d96cf946 merge handlerton 3.0.5/3.1.0 to main closes[t:2461] closes[t:2467]
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18879 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:00 -04:00
Rich Prohaska
cee4182587 merge 18369 from 3.0.5 to main closes[t:2456] #2456
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18873 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
2c4c4ac296 remove the old handlerton build files closes[t:2474] #2474
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18850 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
51d895f9ac put tokudb in the plugin dir refs[t:2474]
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18810 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Rich Prohaska
11e33e956b fix _mysql_plugin_interface_version_ refs[t:2474]
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18807 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
b215caacbd add versioning via TOKUDB_VERSION refs[t:2474] #2474
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18801 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
Rich Prohaska
5c557a2871 automake the tokudb handlerton refs[t:2474]
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18785 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Rich Prohaska
7043893b84 automake the tokudb handlerton refs[t:2474]
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18780 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Rich Prohaska
adcd2b0149 start work on autoconf Makefiles for the tokudb handlerton on linux refs[t:2474]
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18778 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Zardosht Kasheff
1e6b208a8e [t:985], fix mysqltest falcon_bug_30210
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18557 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Zardosht Kasheff
fb145c7eb6 [t:2442], fix it, add technology
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18306 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Zardosht Kasheff
3a5717b936 [t:2442], fix it
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18302 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
Zardosht Kasheff
064804c85c [t:2430], make commit/abort report progress
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18178 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:59 -04:00
Zardosht Kasheff
d55f633428 [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
6910466b2f [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
bda202d39d [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
42494d6b09 [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
b279f769f0 [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
a8b50a254c [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
249ea5ce87 [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
92c25af24f [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
ee6ed2a069 [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
235614e8bc [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
096889258e [t:2355], fix max value of session variable
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@17709 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:58 -04:00
Zardosht Kasheff
cd02dd2a45 [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
fa8ec1fd78 [t:2342], add back toku_ydb_init and toku_ydb_destroy
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@17677 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:58 -04:00
Zardosht Kasheff
8b917ebf1c [t:2342], get static linking of fractal tree to handlerton working
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@17567 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:58 -04:00
Zardosht Kasheff
12a97c7d85 [t:2342], statically link to fractal tree instead of using dll
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@17566 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:58 -04:00
Zardosht Kasheff
c8cb8c79ba [t:2342], fix makefile for 5.1.43 to include an obj_dir
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@17509 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:58 -04:00
Zardosht Kasheff
40c27681cf [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
0dcfc40469 [t:2342], get rid of tokudb_show_logs
git-svn-id: file:///svn/mysql/tokudb-engine/src@17475 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00
Zardosht Kasheff
f2e4b47de2 [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
Zardosht Kasheff
53ffb79682 [t:2332], make ha_tokudb changes so that when disk is full, error message sent to console
git-svn-id: file:///svn/mysql/tokudb-engine/src@17257 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00
Zardosht Kasheff
ffb77f8db4 [t:2314], remove unused variable
git-svn-id: file:///svn/mysql/tokudb-engine/src@17256 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00
Zardosht Kasheff
7bc3610691 [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
614e39a83f [t:2325], remove DB_DBT_TEMPMEMORY
git-svn-id: file:///svn/mysql/tokudb-engine/src@17214 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00
Zardosht Kasheff
3d60427e49 [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
0e54f841c9 [t:2322], replace hash_ functions with my_hash_
git-svn-id: file:///svn/mysql/tokudb-engine/src@17142 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00
Zardosht Kasheff
1df1b0fca6 [t:2322], fix remove struct st_table_share and replace with TABLE_SHARE
git-svn-id: file:///svn/mysql/tokudb-engine/src@17141 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00
Zardosht Kasheff
ddedf2e609 [t:2317], remove unused flag
git-svn-id: file:///svn/mysql/tokudb-engine/src@17089 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00
Zardosht Kasheff
db7bed1b14 [t:2298], do backoff when trying to prelock ranges
git-svn-id: file:///svn/mysql/tokudb-engine/src@17076 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00
Zardosht Kasheff
e8b3ca12c2 [t:2214], fix gcc warnings
git-svn-id: file:///svn/mysql/tokudb-engine/src@16972 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00
Zardosht Kasheff
09aa46028b [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
3ff52f40e4 [t:2300], fix memory leak
git-svn-id: file:///svn/mysql/tokudb-engine/src@16952 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00
Zardosht Kasheff
193ef059ce [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
0ea474c6f2 [t:2267], get rid of trx->iso_level, makes life easier
git-svn-id: file:///svn/mysql/tokudb-engine/src@16941 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:56 -04:00
Zardosht Kasheff
5f87b2596e [t:2254], put back DB_INHERIT_ISOLATION
git-svn-id: file:///svn/mysql/tokudb-engine/src@16939 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
5c222cf3a0 [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
d60ba98408 [t:2262], make fix in main
git-svn-id: file:///svn/mysql/tokudb-engine/src@16623 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
958e070f40 [t:2253], fix bad assert
git-svn-id: file:///svn/mysql/tokudb-engine/src@16470 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
8516fa4e3b [t:2151], more changes as result of code review
git-svn-id: file:///svn/mysql/tokudb-engine/src@16278 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
b7501f62ef [t:2151], more changes as result of code review
git-svn-id: file:///svn/mysql/tokudb-engine/src@16277 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
f70fb2010b [t:2151], more changes as result of code review, assert all db->close succeeds
git-svn-id: file:///svn/mysql/tokudb-engine/src@16275 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
468ce27c9e [t:2151], some changes as result of code review
git-svn-id: file:///svn/mysql/tokudb-engine/src@16274 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
b23292e620 [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
fc121dc111 [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
4cb2262419 [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
Rich Prohaska
80035693e4 remove ydb.h for linux refs[t:2207]
git-svn-id: file:///svn/mysql/tokudb-engine/src@16011 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
0500d1d18a [t:2117], do simple waiting on a bunch of queries
git-svn-id: file:///svn/mysql/tokudb-engine/src@15881 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
e6cc5da3a9 [t:2182], fix stupid bug
git-svn-id: file:///svn/mysql/tokudb-engine/src@15874 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
047b0b65cb [t:2181], [t:2182], plug transaction leak, cleanup some code
git-svn-id: file:///svn/mysql/tokudb-engine/src@15873 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Rich Prohaska
2d3f9da436 turn on logging in the tokumysql handlerton refs[t:652]
git-svn-id: file:///svn/mysql/tokudb-engine/src@15840 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
190f93ac1e [t:2176], write msg to error file when fileops operation cannot get locks
git-svn-id: file:///svn/mysql/tokudb-engine/src@15834 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Barry Perlman
0e8f514835 Closes #2133 refs[t:2133] Restore 15630: Merged engine status logic for scheduling statistics from 2.2.0.
git-svn-id: file:///svn/mysql/tokudb-engine/src@15778 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
33f2172d77 [t:1979], fix more warnings
git-svn-id: file:///svn/mysql/tokudb-engine/src@15777 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
87180f2973 fix warnings in main
git-svn-id: file:///svn/mysql/tokudb-engine/src@15776 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
e24c49176e [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
Barry Perlman
d82692c7d3 Undo change 15630, restore to 15361.
handlerton's engine status restored to be compatible with main.

git-svn-id: file:///svn/mysql/tokudb-engine/src@15635 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Barry Perlman
e9c85fceef Addresses #2075 refs[t:2075] Merged engine status logic for scheduling statistics from 2.2.0.
git-svn-id: file:///svn/mysql/tokudb-engine/src@15630 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
9f989739e7 [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
3ba84a9e3e [t:2054], some cosmetic changes
git-svn-id: file:///svn/mysql/tokudb-engine/src@15462 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
9067dc140b [t:2054], some cleanup of comparison function and of status.tokudb
git-svn-id: file:///svn/mysql/tokudb-engine/src@15455 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
07dbc527c7 [t:2103], merge to main line
git-svn-id: file:///svn/mysql/tokudb-engine/src@15361 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
43188a737e [t:2084], move fix to main branch
git-svn-id: file:///svn/mysql/tokudb-engine/src@15161 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Rich Prohaska
c9af87e499 fix the track_progress method refs[t:2082]
git-svn-id: file:///svn/mysql/tokudb-engine/src@15110 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Rich Prohaska
0181a93679 simplify the track_progress method refs[t:2082]
git-svn-id: file:///svn/mysql/tokudb-engine/src@15085 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Rich Prohaska
b02ad59395 fixup progress tracking refs[t:2082]
git-svn-id: file:///svn/mysql/tokudb-engine/src@15063 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Rich Prohaska
c84eb73e12 fine tune the sql cmd status refs[t:2082]
git-svn-id: file:///svn/mysql/tokudb-engine/src@15051 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
c12890f76b [t:2033], fix how we evaluated number of elements written
git-svn-id: file:///svn/mysql/tokudb-engine/src@14977 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
27db1288f7 [t:2056], fix bug
git-svn-id: file:///svn/mysql/tokudb-engine/src@14855 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
ec030bda45 [t:2027], set error=0 on success
git-svn-id: file:///svn/mysql/tokudb-engine/src@14831 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Barry Perlman
02e2aa6751 Addresses #1792 refs[t:1792] Added logger lock info to engine status.
git-svn-id: file:///svn/mysql/tokudb-engine/src@14820 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
2bfe462b50 [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
Barry Perlman
612ceab448 Addresses #1792 refs[t:1792] Added timestamps to engine status
git-svn-id: file:///svn/mysql/tokudb-engine/src@14818 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
d85a33e967 [t:2027], add explanation text
git-svn-id: file:///svn/mysql/tokudb-engine/src@14816 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
c906291505 [t:2027], implement checkpoint_lock and checkpoint_unlock functions
git-svn-id: file:///svn/mysql/tokudb-engine/src@14814 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Barry Perlman
32625bc0be Addresses #1792 refs[t:1792] Added ydb-layer operation counters to engine status
git-svn-id: file:///svn/mysql/tokudb-engine/src@14811 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
adcaf35e34 [t:2039], propogate show engine error
git-svn-id: file:///svn/mysql/tokudb-engine/src@14806 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Barry Perlman
58d9dad9f2 Addresses 1792 refs[t:1792] Add more info to show engine status
git-svn-id: file:///svn/mysql/tokudb-engine/src@14803 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Yoni Fogel
de5ccaf90f Addresses #2042 refs[t:2042] Fix race condition at lower level.
git-svn-id: file:///svn/mysql/tokudb-engine/src@14802 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
00236ccbd7 [t:2048], add user variables that control how often status gets updated
git-svn-id: file:///svn/mysql/tokudb-engine/src@14786 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
642d93ed29 [t:2033], increase how often status is updated for queries
git-svn-id: file:///svn/mysql/tokudb-engine/src@14785 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
67c7a83280 [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
a48828aac0 [t:2045], fix bug
git-svn-id: file:///svn/mysql/tokudb-engine/src@14779 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
fc70b46b2b [t:2044], clean it up
git-svn-id: file:///svn/mysql/tokudb-engine/src@14778 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Barry Perlman
99ba65e2a6 Addresses #2042 refs[t:2042] Take correct checkpoint locks in correct sequence. Fixes deadlock in rename. Fixes race condition in delete.
git-svn-id: file:///svn/mysql/tokudb-engine/src@14754 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Barry Perlman
84123cd5eb Addresses #1792 refs[t:1792] Added range lock info to show engine status
git-svn-id: file:///svn/mysql/tokudb-engine/src@14746 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Barry Perlman
5c2ee0e62d Addresses #1792 refs[t:1792] Added more content to show engine status
git-svn-id: file:///svn/mysql/tokudb-engine/src@14730 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Barry Perlman
624896783f Addresses #1792 refs[t:1792] Start adding show engine tokudb status
git-svn-id: file:///svn/mysql/tokudb-engine/src@14693 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
1deb5fcf71 [t:2016], check for ENOENT return
git-svn-id: file:///svn/mysql/tokudb-engine/src@14683 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
cb56f1b136 [t:2012], make amount of data shown in show table status same as show in show engine tokudb user_data
git-svn-id: file:///svn/mysql/tokudb-engine/src@14681 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
594898de0a [t:2007], make handlerton change
git-svn-id: file:///svn/mysql/tokudb-engine/src@14647 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
d21febecaa [t:2025], [t:2007], allow option for flattening in show user data, make function exit if thread has been killed
git-svn-id: file:///svn/mysql/tokudb-engine/src@14621 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
5597c57cfd [t:2022], fix some cleanup code
git-svn-id: file:///svn/mysql/tokudb-engine/src@14598 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Barry Perlman
3c00096e04 Fix build
git-svn-id: file:///svn/mysql/tokudb-engine/src@14597 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
5504381652 fix more build errors
git-svn-id: file:///svn/mysql/tokudb-engine/src@14596 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
d4fb9e8351 fix more build errors
git-svn-id: file:///svn/mysql/tokudb-engine/src@14595 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
36873d1763 fix more build errors
git-svn-id: file:///svn/mysql/tokudb-engine/src@14594 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
64b911caab remove build problems
git-svn-id: file:///svn/mysql/tokudb-engine/src@14593 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
48c1ffed10 [t:2020], make handlerton change
git-svn-id: file:///svn/mysql/tokudb-engine/src@14589 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
ae35dd4132 [t:1981], abstract to another function
git-svn-id: file:///svn/mysql/tokudb-engine/src@14524 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
f35423e6b5 [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
85f2329684 [t:1980], cosmetic changes, remove some tabs
git-svn-id: file:///svn/mysql/tokudb-engine/src@14516 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
9c94b9ff60 [t:1980], fix problem in rename_table
git-svn-id: file:///svn/mysql/tokudb-engine/src@14495 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
7f76e39c8c [t:1981], cosmetic changes
git-svn-id: file:///svn/mysql/tokudb-engine/src@14494 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
eea4b9f9e2 [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
Rich Prohaska
edb7e312b5 fix the 32bit linux compile problem [t:1999]
git-svn-id: file:///svn/mysql/tokudb-engine/src@14451 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
1c930e83f1 [t:1999], fix 32 bit compiler issue
git-svn-id: file:///svn/mysql/tokudb-engine/src@14442 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
0d3e493b8e [t:885], add max_data_length
git-svn-id: file:///svn/mysql/tokudb-engine/src@14358 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
bfba40a848 [t:885], fix divide by zero error
git-svn-id: file:///svn/mysql/tokudb-engine/src@14354 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
37ccd7b78f [t:885], put entries for data_length, index_length, and mean_rec_length for show table status
git-svn-id: file:///svn/mysql/tokudb-engine/src@14345 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Yoni Fogel
a5c7177ad5 Update handlerton makefile to support TAGS/cscope
git-svn-id: file:///svn/mysql/tokudb-engine/src@14233 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
f6f474a786 [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
825dca686a [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
6226257a11 [t:1717], set default environment comparison functions
git-svn-id: file:///svn/mysql/tokudb-engine/src@14094 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
c437298cbc [t:1930], remove heaviside functions
git-svn-id: file:///svn/mysql/tokudb-engine/src@14088 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
6217269e75 [t:1938], make "delete from table" transactional by making it really really slow, by deleting all elements one by one, through MySQL
git-svn-id: file:///svn/mysql/tokudb-engine/src@14084 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
4429dcee81 [t:1929], fix bug
git-svn-id: file:///svn/mysql/tokudb-engine/src@14082 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
99089abe9d [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
27e66c899e [t:1929], use getf functions in index_first and index_last
git-svn-id: file:///svn/mysql/tokudb-engine/src@14077 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
7e9b23cebd [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
71acbd3d2a [t:1859], remove extraneous printf
git-svn-id: file:///svn/mysql/tokudb-engine/src@13940 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
275034be5d [t:1859], make lock tables not create a parent transaction,
fix prelocking that happens in lock tables

git-svn-id: file:///svn/mysql/tokudb-engine/src@13935 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
c4281bd039 [t:1925], fix bug where hidden primary key was not being saved
git-svn-id: file:///svn/mysql/tokudb-engine/src@13914 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
3e280928fa [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
4e0a3e4eb9 [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
c2d5d8e1e8 [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
d5947f430a [t:1928], remove dead code
git-svn-id: file:///svn/mysql/tokudb-engine/src@13863 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
6a1ef8d949 addresses #1925, make all metadata retrieval from status.tokudb not use DB_DBT_MALLOC
git-svn-id: file:///svn/mysql/tokudb-engine/src@13846 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
526e1c8327 addresses #1923
git-svn-id: file:///svn/mysql/tokudb-engine/src@13833 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
4289f35f43 addresses #1913, fix replace into with respect to unique checks
git-svn-id: file:///svn/mysql/tokudb-engine/src@13816 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Rich Prohaska
8d7f2c450e show engines tokudb comment string. merge -c 13587 from 2.1.0 to main. [t:1892]
git-svn-id: file:///svn/mysql/tokudb-engine/src@13591 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Rich Prohaska
4107b184b1 link the handlerton to a version controlled libtokudb. merge -c 13578 from 2.1.0 to main. [t:1887]
git-svn-id: file:///svn/mysql/tokudb-engine/src@13590 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Rich Prohaska
6d927e7aa0 compile the handlerton with -O3. merge -c 13582 from 2.1.0 to main. [t:1890]
git-svn-id: file:///svn/mysql/tokudb-engine/src@13589 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Rich Prohaska
42f081a4db merge -c 13581 from 2.1.0 to main. [t:1889]
git-svn-id: file:///svn/mysql/tokudb-engine/src@13588 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
4723b8b33e addresses #1883, fix bug
git-svn-id: file:///svn/mysql/tokudb-engine/src@13584 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
240dcaa286 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
72289f3dd8 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
6b2961b9e5 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
Zardosht Kasheff
5ab4085fb6 addresses #1852
changes from code review

git-svn-id: file:///svn/mysql/tokudb-engine/src@13403 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
6b0f76b25e addresses #1869
prelock entire table when you think you might have an empty table

git-svn-id: file:///svn/mysql/tokudb-engine/src@13357 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
a4613d3d6e addresses #1832
have truncate work even if cursors exist on dictionary

git-svn-id: file:///svn/mysql/tokudb-engine/src@13297 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
5e3b01efec addresses #1858
remove auto increment overhead on bulk loads

git-svn-id: file:///svn/mysql/tokudb-engine/src@13202 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
d37da476bc addresses #1852, #1334
prelock ranges that are read in reverse order

git-svn-id: file:///svn/mysql/tokudb-engine/src@13150 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
d67cf0dd02 addresses #1841
fix small bug

git-svn-id: file:///svn/mysql/tokudb-engine/src@13096 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
380b42f26d addresses #1841, #1334
do prelocking in handler when we are going to do a range query that
gets all values with a key prefix

git-svn-id: file:///svn/mysql/tokudb-engine/src@13056 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
6c1ec24deb addresses #1833
do a DB_YESOVERWRITE put when doing "replace into" on a table with no secondary indexes

git-svn-id: file:///svn/mysql/tokudb-engine/src@12996 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
bee55e7484 addresses BUILD
fix compiler error

git-svn-id: file:///svn/mysql/tokudb-engine/src@12993 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
2c98bb1192 addresses #1832, #1821
pre-acquire a table lock before attempting a truncate in the handlerton

git-svn-id: file:///svn/mysql/tokudb-engine/src@12985 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
fa63f152b5 addresses #1819
fix unpacking of fixed char fields

git-svn-id: file:///svn/mysql/tokudb-engine/src@12905 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
e561deaea9 addresses #1813
fix comparison function to look at infinity byte, even if all
of key has been read

git-svn-id: file:///svn/mysql/tokudb-engine/src@12777 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
7249e460c4 addresses #1813
make records_in_range not use heaviside function
could result to better perf on small queries

git-svn-id: file:///svn/mysql/tokudb-engine/src@12774 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
b8a7d1383b addresses #1803
implement ha_tokudb::index_read_last
using same implementation as every other storage engine

git-svn-id: file:///svn/mysql/tokudb-engine/src@12705 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
92408df7f5 addresses #1782
move change from 2.0.0 to main line

git-svn-id: file:///svn/mysql/tokudb-engine/src@12641 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
446cafd90c addresses #1797
git-svn-id: file:///svn/mysql/tokudb-engine/src@12631 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
10bf45d673 addresses #1795
make own version of blob packing and unpacking

git-svn-id: file:///svn/mysql/tokudb-engine/src@12630 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Rich Prohaska
5f44240712 addresses #1789
git-svn-id: file:///svn/mysql/tokudb-engine/src@12485 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
2fb986d9ec addresses #1740
remove HA_FAST_KEY_READ from int_table_flags

git-svn-id: file:///svn/mysql/tokudb-engine/src@12470 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Rich Prohaska
b62f8a3079 build the handlerton on freebsd. addresses #1789
git-svn-id: file:///svn/mysql/tokudb-engine/src@12458 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00