Commit graph

329 commits

Author SHA1 Message Date
Zardosht Kasheff
34afae667e addresses #1656
fix bug

git-svn-id: file:///svn/mysql/tokudb-engine/src@11084 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
4a3e3ff3f5 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
b15baf3817 addresses #1655
move more functions around, more cosmetic

git-svn-id: file:///svn/mysql/tokudb-engine/src@11080 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
812ad19231 addresses #1655
move more functions around, all cosmetic

git-svn-id: file:///svn/mysql/tokudb-engine/src@11079 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
c01ff9cfb6 addresses #1655
move functions around

git-svn-id: file:///svn/mysql/tokudb-engine/src@11076 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
3acb1d7987 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
182b05f37d addresses #1648
fix unpack of blob key

git-svn-id: file:///svn/mysql/tokudb-engine/src@11054 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
f8b405c503 addresses #1648
change function name

git-svn-id: file:///svn/mysql/tokudb-engine/src@11050 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
1b60193290 addresses #1648
make packing of blob indexes work

git-svn-id: file:///svn/mysql/tokudb-engine/src@11049 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
b59b1763d8 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
27f62286fa 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
7d940ea5b4 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
9827676b0a 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
8cc0e336d6 addresses #1569
fix NULLs in keys

git-svn-id: file:///svn/mysql/tokudb-engine/src@10989 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
a0cc9e9b9a addresses #1569, remove tab, add 4 spaces, cosmetic change
git-svn-id: file:///svn/mysql/tokudb-engine/src@10987 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
49d3cfb86c addresses #1569
fix stupid bug

git-svn-id: file:///svn/mysql/tokudb-engine/src@10985 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
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
7178bca522 addresses #1569
create function that compares two fields using data from a row descriptor

git-svn-id: file:///svn/mysql/tokudb-engine/src@10961 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
0f331fb4e2 addresses #1567
only put one byte fro fixbinary, max length is 255

git-svn-id: file:///svn/mysql/tokudb-engine/src@10960 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
f81a5dfa48 addresses #1567
change order of null byte and type byte in descriptor
add a null byte for hpk

git-svn-id: file:///svn/mysql/tokudb-engine/src@10959 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
8808572b2a addresses #1567
write function to create a row descriptor
untested, just verified that it compiles
also currently unused

git-svn-id: file:///svn/mysql/tokudb-engine/src@10950 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
13ae60ceba addresses #1567
add null bit for fields in a key

git-svn-id: file:///svn/mysql/tokudb-engine/src@10944 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -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
221d4832d8 addresses #1619, #1630
pattern match InnoDB for getting charset due to MySQL bug 42649
make integer pack and unpack faster

git-svn-id: file:///svn/mysql/tokudb-engine/src@10887 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
7e77e75436 addresses #1621
poison WORDS_BIGENDIAN

git-svn-id: file:///svn/mysql/tokudb-engine/src@10881 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
225daa2633 addresses #1619
rename compare_field to compare_toku_field

git-svn-id: file:///svn/mysql/tokudb-engine/src@10862 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
0592a43f04 addresses #1619
add comparison for floats

git-svn-id: file:///svn/mysql/tokudb-engine/src@10861 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
340a197125 addresses #1619
remove toku_type_decimal and toku_type_bitstream
They were unneeded.

git-svn-id: file:///svn/mysql/tokudb-engine/src@10859 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
cf499e3387 addresses #1619
remove all references to unpack_key, pack_key, and pack_key_from_key_image

git-svn-id: file:///svn/mysql/tokudb-engine/src@10857 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
d309bae980 addresses #1619
fix fixstring type

git-svn-id: file:///svn/mysql/tokudb-engine/src@10856 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
91e629b18e addresses #1619
fix packing of varstrings, still need to fix the packing of fixstrings

git-svn-id: file:///svn/mysql/tokudb-engine/src@10854 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
316da67b65 addresses #1619
add support for blobs

git-svn-id: file:///svn/mysql/tokudb-engine/src@10833 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
5c6780dccf addresses #1619
add support for varchars and varbinary

git-svn-id: file:///svn/mysql/tokudb-engine/src@10822 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
59aa4ee129 addresses #1619
add support for binary and fixed sized strings

git-svn-id: file:///svn/mysql/tokudb-engine/src@10816 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
9d27a70d55 addresses #1619
add support for sets and enums

git-svn-id: file:///svn/mysql/tokudb-engine/src@10776 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
d94478ad97 addresses #1619
silly bug for friday morning

git-svn-id: file:///svn/mysql/tokudb-engine/src@10775 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
d6c6a72467 addresses #1619
add support for bitstreams

git-svn-id: file:///svn/mysql/tokudb-engine/src@10769 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
d3c6d1f593 addresses #1619
add functions for decimals

git-svn-id: file:///svn/mysql/tokudb-engine/src@10768 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
fb54240e5f addresses #1619
poison use of two MySQL types that are dead. These types are obsolete
in 5.1

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