Commit graph

242 commits

Author SHA1 Message Date
Zardosht Kasheff
e31166714d addresses #1377
use dlmalloc in handlerton

git-svn-id: file:///svn/mysql/tokudb-engine/src@9100 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
2f1ec58f50 addresses #1420
add DB_RECOVER flag

git-svn-id: file:///svn/mysql/tokudb-engine/src@9099 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
6451a316c8 addresses #1283
make it so that for MySQL, we can just check out a directory and have tokudb
compiled in

git-svn-id: file:///svn/mysql/tokudb-engine/src@9093 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
86288646e5 addresses #1418
show progress after every 1000 deletes, inserts, or updates

git-svn-id: file:///svn/mysql/tokudb-engine/src@9068 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
25d3c5c725 addresses #1404
modify state field of show process list so that user gets info on progress of index creation

git-svn-id: file:///svn/mysql/tokudb-engine/src@8976 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
fdeaacbbce addresses #1395
pass in PRELOCKED flag for index_read

git-svn-id: file:///svn/mysql/tokudb-engine/src@8931 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
e90751dbd8 addresses #1391
make the transaction that estimates the number of rows be a
DB_READ_UNCOMMITTED transaction

git-svn-id: file:///svn/mysql/tokudb-engine/src@8810 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
6801f9fe55 addresses #1392
enable binary logging for tokudb. Work is not done yet, need 
to do investigation to make sure that there are no unwanted side effects.

git-svn-id: file:///svn/mysql/tokudb-engine/src@8809 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Rich Prohaska
c9be4ccf1a change the default cache table size. closes #1387
git-svn-id: file:///svn/mysql/tokudb-engine/src@8749 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Yoni Fogel
1f0693762e Addresses #1311
Fix paths for headers

git-svn-id: file:///svn/mysql/tokudb-engine/src@8711 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
dbc66e3c47 addresses #1380
fix issue

git-svn-id: file:///svn/mysql/tokudb-engine/src@8700 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
aa87d54ba9 addresses #1032
merge handlerton to main line

git-svn-id: file:///svn/mysql/tokudb-engine/src@8627 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
5e66f5c523 addresses #1326
no longer read off end

git-svn-id: file:///svn/mysql/tokudb-engine/src@8320 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
388b5b2ed0 addresses #1314
fix memory overrun

git-svn-id: file:///svn/mysql/tokudb-engine/src@8315 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
3d42aff888 addresses #1310
set freed pointers to NULL

git-svn-id: file:///svn/mysql/tokudb-engine/src@8260 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
92c148859c addresses #1286
port fix to main line

git-svn-id: file:///svn/mysql/tokudb-engine/src@8025 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
eb00e4d1b6 addresses #1265
had if clauses backwards

git-svn-id: file:///svn/mysql/tokudb-engine/src@8022 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
b588cbba9d addresses #1285
check in fix in main line

git-svn-id: file:///svn/mysql/tokudb-engine/src@8014 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
253b69fff0 addresses #1032
stop using variable sized arrays off of stack on main line

git-svn-id: file:///svn/mysql/tokudb-engine/src@7991 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
3e6933d916 addresses #1282
initialize variables

git-svn-id: file:///svn/mysql/tokudb-engine/src@7990 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
c47a065915 addresses #1149
move partial refactoring to main line

git-svn-id: file:///svn/mysql/tokudb-engine/src@7989 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Rich Prohaska
2c1a8c8285 compile the handlerton with -O3 and inline the field_offset function
git-svn-id: file:///svn/mysql/tokudb-engine/src@7925 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
97fd2a01f0 addresses #1032
undo last checkin done in wrong branch

git-svn-id: file:///svn/mysql/tokudb-engine/src@7733 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
2b319e27aa addresses #1032
re-port latest handlerton

git-svn-id: file:///svn/mysql/tokudb-engine/src@7732 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
42d3404b91 addresses #1219
fix memory leak

git-svn-id: file:///svn/mysql/tokudb-engine/src@7608 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
7f313e1222 addresses #1219
fix regressions

git-svn-id: file:///svn/mysql/tokudb-engine/src@7606 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
b7ebdb3622 addresses #1219
move clustering keys to main line

git-svn-id: file:///svn/mysql/tokudb-engine/src@7591 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
3569ec4457 addresses #1218
fix buffer lengths for file names

git-svn-id: file:///svn/mysql/tokudb-engine/src@6934 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
5b35f75394 addresses #1178
made table locks occur only when explicit lock tables is done

git-svn-id: file:///svn/mysql/tokudb-engine/src@6910 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
a376a28e24 addresses #1032
pad a struct to shut MSVC compiler up

git-svn-id: file:///svn/mysql/tokudb-engine/src@6795 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
4d5ca39c86 addresses #1032
port ha_tokudb::open to windows

git-svn-id: file:///svn/mysql/tokudb-engine/src@6794 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
f2105317a9 addresses #1032
fix add_index and prepare_drop_index for windows

git-svn-id: file:///svn/mysql/tokudb-engine/src@6792 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
6d3336f1b4 addresses #1032
fix ha_tokudb::create for windows

git-svn-id: file:///svn/mysql/tokudb-engine/src@6790 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
14fdc85f06 addresses #1032
get rid of some variable sized arrays off of stack, still have bunch more to go

git-svn-id: file:///svn/mysql/tokudb-engine/src@6787 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
1575a21086 addresses #1210
show auto inc value in show table status

git-svn-id: file:///svn/mysql/tokudb-engine/src@6739 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
25f6fba41f addresses #1213
fix compiler warnings

git-svn-id: file:///svn/mysql/tokudb-engine/src@6737 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
7903feb1d6 addresses #1201
implement the isolation level read uncommitted in handlerton, has been
manually tested. Still need to write automated tests.

git-svn-id: file:///svn/mysql/tokudb-engine/src@6645 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
14126cf746 addresses #647
implement HA_READ_PREFIX_LAST

git-svn-id: file:///svn/mysql/tokudb-engine/src@6620 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
97b1329816 addresses #1171
fix length of buffer for primary_key

git-svn-id: file:///svn/mysql/tokudb-engine/src@6252 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
fe2ff2a12a addresses #1163
change retrieve_auto_increment to be different than MyISAM's function

git-svn-id: file:///svn/mysql/tokudb-engine/src@6208 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
da37b82a97 addresses #1163
make better name for function

git-svn-id: file:///svn/mysql/tokudb-engine/src@6190 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
39c899f30f addresses #1158
fix cmp_ref

git-svn-id: file:///svn/mysql/tokudb-engine/src@6187 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
687aea89a9 addresses #1158
most regressions fixed now, 2 more remaining it seems

git-svn-id: file:///svn/mysql/tokudb-engine/src@6182 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
5e6f12f9f3 addresses #1158
fix regressions

git-svn-id: file:///svn/mysql/tokudb-engine/src@6178 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
d9a2d70f2d addresses #1165, #1158
no longer pack NULL in variable sized rows in main.tokudb, remove usage of 0 as 'NULL BYTE' in packed keys

git-svn-id: file:///svn/mysql/tokudb-engine/src@6163 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
54587c20fc addresses #1158
add 'infinity byte' to beginning of keys

git-svn-id: file:///svn/mysql/tokudb-engine/src@6162 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
d601c582fe addresses #1152
no longer reference key_part->null_offset because add_index does not
set the value

git-svn-id: file:///svn/mysql/tokudb-engine/src@6126 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
ff21bf00cf addresses #1151
make ha_tokudb change for bug

git-svn-id: file:///svn/mysql/tokudb-engine/src@6113 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
840d7774bb addresses #1149
move some defines out of ha_tokudb.cc and into new file hatoku_defines.h

git-svn-id: file:///svn/mysql/tokudb-engine/src@6077 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
97f437f75d addresses #1105
fix records_in_range to be able to handle a prefix that is passed in

git-svn-id: file:///svn/mysql/tokudb-engine/src@6073 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00