Commit graph

307 commits

Author SHA1 Message Date
Zardosht Kasheff
de8b71eeca addresses #1569
fix gcc build issue

git-svn-id: file:///svn/mysql/tokudb-engine/src@10982 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
70d1c13fe7 addresses #1569
remove tokudb_compare_two_hidden_keys from ::cmp_ref

git-svn-id: file:///svn/mysql/tokudb-engine/src@10981 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
29b0f1703e addresses #1567, #1569
fix row descriptor for clustering keys to not include infinity byte for
second key, add comparison functions

git-svn-id: file:///svn/mysql/tokudb-engine/src@10980 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
4c05646cd3 addresses #1567, BUILD
remove TOKUDB_DIRTY_DICTIONARY references, as they have been removed
from db.h, add an infinity byte to row descriptor

git-svn-id: file:///svn/mysql/tokudb-engine/src@10965 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
462f475add addresses #1567
fix creation of row descriptor and how it handles hidden primary keys
get it working properly for clustering keys
get it set before opening DB with DB_CREATE

git-svn-id: file:///svn/mysql/tokudb-engine/src@10956 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
517edc19c3 closes #1642, addresses #1569
remove unused .h file reference in ha_tokudb.cc
remove unused variables in free_share

git-svn-id: file:///svn/mysql/tokudb-engine/src@10949 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
24cbe785a2 addresses #1569
remove hatoku_cmptrace stuff that is no longer needed

git-svn-id: file:///svn/mysql/tokudb-engine/src@10946 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
b55f6ea179 addresses #1567
create function that outputs a descriptor for a key

git-svn-id: file:///svn/mysql/tokudb-engine/src@10933 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
0919ffffcb addresses #1569
redo create_sub_table so that it can be more easily modified
all cosmetic

git-svn-id: file:///svn/mysql/tokudb-engine/src@10923 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
aa13d3f930 closes #1635
change table->key_info + keynr; to &table->key_info[keynr];

git-svn-id: file:///svn/mysql/tokudb-engine/src@10896 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
92ba873f7b closes #1634
fix ticket

git-svn-id: file:///svn/mysql/tokudb-engine/src@10894 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
faa510946d addresses #1619, closes #1633
fix cmp_toku_string
fix 1633

git-svn-id: file:///svn/mysql/tokudb-engine/src@10891 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
d608b8ff0d addresses #1619
better function names

git-svn-id: file:///svn/mysql/tokudb-engine/src@10842 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
2abc2ed7ad addresses #1619
create pack_key_field for ::index_read calls

git-svn-id: file:///svn/mysql/tokudb-engine/src@10745 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
ae3c263a5d addresses #1619
create unpack_field, integrate it into unpack_key

git-svn-id: file:///svn/mysql/tokudb-engine/src@10742 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
8104bb754d addresses #1619
fix bug in cmp_toku_int
create pack_field and integrate it into create_dbt_key_from_key

git-svn-id: file:///svn/mysql/tokudb-engine/src@10741 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
9f7122b320 addresses #1619
check in some comparison code for integers. It is not running yet, that is the next step

git-svn-id: file:///svn/mysql/tokudb-engine/src@10725 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
89c6d9f7c2 addresses #1619
clean up pack and unpack functions a bit before adding more stuff to them

git-svn-id: file:///svn/mysql/tokudb-engine/src@10721 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
c3d8615df4 addresses #1619, remove extraneous comment
git-svn-id: file:///svn/mysql/tokudb-engine/src@10720 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
7e130e6ec3 addresses #1619
move cmp related functions to new files

git-svn-id: file:///svn/mysql/tokudb-engine/src@10719 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
587e51c59c closes #1615
remove dead code

git-svn-id: file:///svn/mysql/tokudb-engine/src@10709 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
f09216e374 addresses #1613
stupid stupid bug.

git-svn-id: file:///svn/mysql/tokudb-engine/src@10704 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
ec9f77d7de addresses #1614
fix ::get_pos for hidden primary keys

git-svn-id: file:///svn/mysql/tokudb-engine/src@10703 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
c5290d8cb7 addresses #1610
make rnd_pos, get_pos, position, and cmp_ref simpler by storing the DBT length at the beginning of the ref_length

git-svn-id: file:///svn/mysql/tokudb-engine/src@10677 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
f7e7267e87 addresses #1609
make ::cmp_ref use same comparison function as DBT's do

git-svn-id: file:///svn/mysql/tokudb-engine/src@10674 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
6ed7e5f581 addresses #1400
abstract the conversion functions of the hidden primary key

git-svn-id: file:///svn/mysql/tokudb-engine/src@10665 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
d68f2d6e43 addresses #1400
change size of hidden primary key from 5 bytes to 8

git-svn-id: file:///svn/mysql/tokudb-engine/src@10664 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
1c326deb1b addresses #1593
after every 1000 inserts, check thd->killed to see if user has killed 
the add index. If so, gracefully exit

git-svn-id: file:///svn/mysql/tokudb-engine/src@10551 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
9b6676e7ca addresses #1405
show auto inc value on 'show create table'

git-svn-id: file:///svn/mysql/tokudb-engine/src@10023 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
e354241c14 addresses #1517
make buffer that prints status message in 'show processlist' 
be a member variable instead of a local one

git-svn-id: file:///svn/mysql/tokudb-engine/src@10022 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
11a01f0209 addresses #1522
fix add_index so that one can add a clustering index to a table with a hidden primary key

git-svn-id: file:///svn/mysql/tokudb-engine/src@10017 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Barry Perlman
6d51d65f42 Addresses #1378
Accommodate 1378 changes in handlerton.

git-svn-id: file:///svn/mysql/tokudb-engine/src@9536 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
29eff65ad1 addresses #1428
remove bad flag for cursor->c_del

git-svn-id: file:///svn/mysql/tokudb-engine/src@9221 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
d05997db35 UNDO dlmalloc changes. addresses #1377
git-svn-id: file:///svn/mysql/tokudb-engine/src@9174 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
b67febba28 addresses #1396
write stuff to error log if fail to open file due to dirty bit

git-svn-id: file:///svn/mysql/tokudb-engine/src@9156 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
358dc2fbd7 addresses #1377
fixed a couple of free's to dlfree

git-svn-id: file:///svn/mysql/tokudb-engine/src@9152 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
3d4b4a7c19 addresses #1428
use DB_DELETE_ANY for deletes

git-svn-id: file:///svn/mysql/tokudb-engine/src@9148 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
c9795b4168 addresses #1396
change rmall so that it handles the fact that .clean or .dirty files exist

git-svn-id: file:///svn/mysql/tokudb-engine/src@9146 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
0f0e49422b addresses #1283
fix windows compilation problems

git-svn-id: file:///svn/mysql/tokudb-engine/src@9104 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
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
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
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
Zardosht Kasheff
903bfbe3b2 addresses #1116
remove unused constants

git-svn-id: file:///svn/mysql/tokudb-engine/src@6026 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
be203841a0 addresses #387
use db->delboth to do delete

git-svn-id: file:///svn/mysql/tokudb-engine/src@5883 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
b63611ccc0 addresses #1111
change flag of 0 to DB_YESOVERWRITE so that it is explicit

git-svn-id: file:///svn/mysql/tokudb-engine/src@5868 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
ced0f7606d addresses #1016
get MySQL to realize that alter table change requires making a new table

git-svn-id: file:///svn/mysql/tokudb-engine/src@5735 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
dca967909e fix memory leaks
git-svn-id: file:///svn/mysql/tokudb-engine/src@5727 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
9d4d6b5b6e addresses #915
simplify ::create

git-svn-id: file:///svn/mysql/tokudb-engine/src@5726 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
9d86ad0a64 addresses #915
merge auto increment fix into main branch

git-svn-id: file:///svn/mysql/tokudb-engine/src@5725 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
a1b7692cae addreses #1094
git-svn-id: file:///svn/mysql/tokudb-engine/src@5650 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
177f7b9a67 addresses #1087
make sure ::optimize uses valid transaction

git-svn-id: file:///svn/mysql/tokudb-engine/src@5648 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
c86dc3f490 addresses #1078
small changes to get savepoint code to compile

git-svn-id: file:///svn/mysql/tokudb-engine/src@5647 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
728227237a addresses #1088
fix null keys in case for updates

git-svn-id: file:///svn/mysql/tokudb-engine/src@5632 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
39634ae96d addresses #1068
use right transaction param

git-svn-id: file:///svn/mysql/tokudb-engine/src@5612 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
a5ffdc7ca9 addresses #1068
for function optimize tables, does a full table scan on each key to flatten DB

git-svn-id: file:///svn/mysql/tokudb-engine/src@5611 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
f9850e0fde addresses #1084
implement HA_EXTRA_IGNORE_DUP_KEY correctly

git-svn-id: file:///svn/mysql/tokudb-engine/src@5592 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
060d2d73b4 addresses #1058
get ha_tokudb to properly support keys with NULL values in unique indexes
still need to write an automated test

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