Commit graph

291 commits

Author SHA1 Message Date
Zardosht Kasheff
61810696bf addresses #1709
make rnd_pos always unpack entire row, implement column_bitmaps_signal()

git-svn-id: file:///svn/mysql/tokudb-engine/src@11491 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
f54c1956d8 addresses #1718
Yoni's CR comments

git-svn-id: file:///svn/mysql/tokudb-engine/src@11477 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
10f039cdec addresses #1719, #1718
add variable for checkpointing, address Yoni's CR comments

git-svn-id: file:///svn/mysql/tokudb-engine/src@11470 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
1ab3f2927c addresses #1661, #1718
fix both issues

git-svn-id: file:///svn/mysql/tokudb-engine/src@11469 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Rich Prohaska
80f9eac629 compile on linux with gcc
git-svn-id: file:///svn/mysql/tokudb-engine/src@11462 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Zardosht Kasheff
9eacbf75a2 addresses #1716
implement ha_tokudb::index_next_same because handler::index_next_same is broken

git-svn-id: file:///svn/mysql/tokudb-engine/src@11459 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Zardosht Kasheff
13d4ff497d addresses #1705
create separate buffer for blobs to be unpacked in, because MySQL only
stores a pointer to the data in its buffer

git-svn-id: file:///svn/mysql/tokudb-engine/src@11445 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Zardosht Kasheff
95b01027b4 addresses #1711
remove index_next_same for ha_tokudb, implementation in handler.cc is what
we want. This fixes the issue.

git-svn-id: file:///svn/mysql/tokudb-engine/src@11432 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Zardosht Kasheff
2cf364621f addresses #1699
set share->key_file[pk] = share->file before open so that it gets cleaned up
on failure

git-svn-id: file:///svn/mysql/tokudb-engine/src@11430 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Zardosht Kasheff
48a4528c62 addresses #1704
determine share->num_offset_bytes by only looking at size of var fields

git-svn-id: file:///svn/mysql/tokudb-engine/src@11429 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Zardosht Kasheff
b3e7e70b18 addresses #1698
flatten all dictionaries

git-svn-id: file:///svn/mysql/tokudb-engine/src@11426 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Zardosht Kasheff
e806a4fc3a addresses #1710
remove dead code

git-svn-id: file:///svn/mysql/tokudb-engine/src@11425 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Zardosht Kasheff
e594368ece addresses #1684
set buffer used in add_index to be table->record[0]
so that blobs can unpack to it.

git-svn-id: file:///svn/mysql/tokudb-engine/src@11423 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Zardosht Kasheff
47a39eda9d addresses #1711
get clustering keys working on updates

git-svn-id: file:///svn/mysql/tokudb-engine/src@11422 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Zardosht Kasheff
ced66cecf1 addresses #1705
isolate blob unpacking into a function

git-svn-id: file:///svn/mysql/tokudb-engine/src@11421 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Zardosht Kasheff
f4bcdbf44d addresses #1116
reset variables in index_end

git-svn-id: file:///svn/mysql/tokudb-engine/src@11412 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Zardosht Kasheff
78e2114019 addresses #1116 #1658
merge to main

git-svn-id: file:///svn/mysql/tokudb-engine/src@11407 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Rich Prohaska
7cb84b7913 turn off lockretry tracing. closes #1688
git-svn-id: file:///svn/mysql/tokudb-engine/src@11356 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Rich Prohaska
01ea979195 link in the library constructors. closes #1685
git-svn-id: file:///svn/mysql/tokudb-engine/src@11284 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Zardosht Kasheff
bae6fc0f68 address BUILD
get build working

git-svn-id: file:///svn/mysql/tokudb-engine/src@11257 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Zardosht Kasheff
12e9c9c262 addresses build
get handlerton compiling again

git-svn-id: file:///svn/mysql/tokudb-engine/src@11212 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Zardosht Kasheff
bff3f0b93c blah
git-svn-id: file:///svn/mysql/tokudb-engine/src@11211 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Zardosht Kasheff
eed616fed2 addresses #1654
merge change for this bug into main

git-svn-id: file:///svn/mysql/tokudb-engine/src@11188 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Zardosht Kasheff
1647090467 addresses #1663
double a buffer size

git-svn-id: file:///svn/mysql/tokudb-engine/src@11172 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Zardosht Kasheff
a602ccc47c addresses #1602
merge change to main

git-svn-id: file:///svn/mysql/tokudb-engine/src@11160 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Zardosht Kasheff
b90ec313e1 addresses #1662
merge necessary changes from 11131 into main

git-svn-id: file:///svn/mysql/tokudb-engine/src@11136 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -04:00
Zardosht Kasheff
3db777a6ee addresses #1655
cosmetic changes, change formatting

git-svn-id: file:///svn/mysql/tokudb-engine/src@11088 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
3a5aa1f806 addresses #1655
rename some more functions, remove extraneous commented out code

git-svn-id: file:///svn/mysql/tokudb-engine/src@11087 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
cdfc66f84c addresses #1655
add comments, rename some functions

git-svn-id: file:///svn/mysql/tokudb-engine/src@11083 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
4e7886db2d addresses #1653
remove unused app_private and api_internal settings

git-svn-id: file:///svn/mysql/tokudb-engine/src@11072 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
58cb8f85e2 addresses #1567
reintroduce new comparison function, mysql tests ran fine

git-svn-id: file:///svn/mysql/tokudb-engine/src@11029 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
9a1dce397d addresses #1567
recheckin change that allocates enough space for a buffer

git-svn-id: file:///svn/mysql/tokudb-engine/src@11011 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
b4f5ebc593 addresses #1567
revert new cmp function until you can get it working

git-svn-id: file:///svn/mysql/tokudb-engine/src@11010 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
078e77d28f addresses #1569
old buffer too small, made it bigger

git-svn-id: file:///svn/mysql/tokudb-engine/src@10995 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
be83115cfc 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
706d14ca2b 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
d84abe9f78 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
890d183fdf 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
a405f04db5 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
0944e9198a 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
c0b8d74280 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
be0628df1c 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
1582aa54d9 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
71f6bc07cb 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
1382d42fbc 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
4f6b03d724 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
bdd88cd4de 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
25bacb835a 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
ca1cf1da48 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
e3dddfc4b2 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