Commit graph

731 commits

Author SHA1 Message Date
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
f29eefaf07 [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
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
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
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
dea053951f [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
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
c19b9fd936 [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
8f543f7af6 [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
1ffd1f5734 [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
88f5c32d13 [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
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
6f89660a10 [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
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
Zardosht Kasheff
3b3b811946 [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
113906b064 [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
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
913285b148 [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
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
9d0dbb18c7 [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
f56a0572c2 [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
3be100311f [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
2fea626c00 [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
df89480b6b [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
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
a98eae907c [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
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
fba4bd6bf3 [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
d6a39b213a [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
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
338a3265f3 [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
3461c5951b [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
ecb0ad0c44 [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
09c3c37d1d [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
3449ee16f8 [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
42498ddc34 [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
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
Rich Prohaska
3aae17eafc 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
dbbda27f53 [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
501418e972 [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
135e84ce72 [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