Commit graph

77 commits

Author SHA1 Message Date
Zardosht Kasheff
c41974cb18 [t:2676], get handlerton compiling with new descriptor interface
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20779 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:01 -04:00
Zardosht Kasheff
c098003e7c [t:2497], account for infinity byte
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@18924 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:00 -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
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
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
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
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
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
Zardosht Kasheff
13eeb9b888 [t:2054], some cleanup of comparison function and of status.tokudb
git-svn-id: file:///svn/mysql/tokudb-engine/src@15455 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:55 -04:00
Zardosht Kasheff
69a98e17d7 [t:2056], fix bug
git-svn-id: file:///svn/mysql/tokudb-engine/src@14855 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:54 -04:00
Zardosht Kasheff
1373d388c2 remove build problems
git-svn-id: file:///svn/mysql/tokudb-engine/src@14593 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
84df6cc11d [t:1980], [t:1981], merge back to mainline
git-svn-id: file:///svn/mysql/tokudb-engine/src@14493 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
23b5b1d348 [t:1717], set default environment comparison functions
git-svn-id: file:///svn/mysql/tokudb-engine/src@14094 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
cddd75b29f [t:1951], make new infinity byte value COL_ZERO
git-svn-id: file:///svn/mysql/tokudb-engine/src@14076 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
82362f855d addresses #1888, address comments made in CR
git-svn-id: file:///svn/mysql/tokudb-engine/src@13579 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
5d513eaa19 addresses #1819
fix unpacking of fixed char fields

git-svn-id: file:///svn/mysql/tokudb-engine/src@12905 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
1733e3dee1 addresses #1813
fix comparison function to look at infinity byte, even if all
of key has been read

git-svn-id: file:///svn/mysql/tokudb-engine/src@12777 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Rich Prohaska
864843dd7c remove an unused var
git-svn-id: file:///svn/mysql/tokudb-engine/src@11401 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
413e74e122 addresses #1655
add more comments

git-svn-id: file:///svn/mysql/tokudb-engine/src@11098 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:50 -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
8f5b475a25 addresses #1655 remove extra semicolon
git-svn-id: file:///svn/mysql/tokudb-engine/src@11085 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:49 -04:00
Zardosht Kasheff
d9e9e445a0 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
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
82ae2cebca 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
a35f7a79bc 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
1dc90ab6e0 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
df169a370c 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
39381f7c72 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
887eb96394 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
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
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
e3eb51482d 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
4abaedf153 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
7f0c3a9438 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
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
85a6ac94b8 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
eb0e46ed18 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
b13c6cc78c 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
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
a8375cb5c9 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
9d066ec7db 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
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
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
fcfc1ea14a 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
7816b89064 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