Commit graph

735 commits

Author SHA1 Message Date
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
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
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
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
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
Zardosht Kasheff
cfafe49230 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
053db385d4 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
48f5e45d15 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
f7779a0749 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
8ec56a90d0 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
7f3d9efae7 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
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
a276ed7cb8 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
ba3f7e7ec3 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
07a02b10ee 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
c2e97743c2 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
61d98a4bd4 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
0e50f9e3d5 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
8de1f9b8ec 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
5575b68131 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
Zardosht Kasheff
16cd4fe5c4 addresses #1619
add support for floats

git-svn-id: file:///svn/mysql/tokudb-engine/src@10751 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
d921b1dbd0 addresses #1619
add support for doubles
make some of these functions inline

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

git-svn-id: file:///svn/mysql/tokudb-engine/src@10746 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
7c7623d4f7 addresses #1619
remove extraneous printfs that were meant only for debugging

git-svn-id: file:///svn/mysql/tokudb-engine/src@10744 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
Zardosht Kasheff
57177ff886 addresses #1619
stupid stupid bug pt 2

git-svn-id: file:///svn/mysql/tokudb-engine/src@10736 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
59343fc8ea addresses #1619
get cmp function for ints working correctly

git-svn-id: file:///svn/mysql/tokudb-engine/src@10727 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
0c2ffe6cd2 addresses #1619
get cmp functions to use newly made integer comparison

git-svn-id: file:///svn/mysql/tokudb-engine/src@10726 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
8e343e91c9 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
6d24224569 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
3ddf25c9d7 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
5b2bf24197 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
74071e15a6 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
78bb5202bc 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
aedf3bfc18 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
aeaa8803c3 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