Commit graph

396 commits

Author SHA1 Message Date
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
412686a5a5 [t:1869], checkin fix with added variable to allow disabling of feature
git-svn-id: file:///svn/mysql/tokudb-engine/src@14521 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
5d0c5d23bc [t:1980], cosmetic changes, remove some tabs
git-svn-id: file:///svn/mysql/tokudb-engine/src@14516 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
98ce5154ce [t:1980], fix problem in rename_table
git-svn-id: file:///svn/mysql/tokudb-engine/src@14495 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
Rich Prohaska
40edfbb882 fix the 32bit linux compile problem [t:1999]
git-svn-id: file:///svn/mysql/tokudb-engine/src@14451 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
ca44b0d34f [t:1999], fix 32 bit compiler issue
git-svn-id: file:///svn/mysql/tokudb-engine/src@14442 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
562beba6a2 [t:885], add max_data_length
git-svn-id: file:///svn/mysql/tokudb-engine/src@14358 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
bf2e6311d9 [t:885], fix divide by zero error
git-svn-id: file:///svn/mysql/tokudb-engine/src@14354 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
72a0434700 [t:885], put entries for data_length, index_length, and mean_rec_length for show table status
git-svn-id: file:///svn/mysql/tokudb-engine/src@14345 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
e2cba2d4ed [t:1949], abstract transaction creation to own function for reuse in start_stmt
git-svn-id: file:///svn/mysql/tokudb-engine/src@14184 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
3c6b7cd274 [t:1929], fix cases where comparison needs to be done afterwards
git-svn-id: file:///svn/mysql/tokudb-engine/src@14108 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
b2f6d42898 [t:1930], remove heaviside functions
git-svn-id: file:///svn/mysql/tokudb-engine/src@14088 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
d960329eff [t:1938], make "delete from table" transactional by making it really really slow, by deleting all elements one by one, through MySQL
git-svn-id: file:///svn/mysql/tokudb-engine/src@14084 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
1a1810b7c4 [t:1929], fix bug
git-svn-id: file:///svn/mysql/tokudb-engine/src@14082 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:53 -04:00
Zardosht Kasheff
26c1c7e4e0 [t:1929], replace c_get functions in index_read with c_getf
git-svn-id: file:///svn/mysql/tokudb-engine/src@14079 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
5c07d5046e [t:1929], use getf functions in index_first and index_last
git-svn-id: file:///svn/mysql/tokudb-engine/src@14077 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -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
e1f2f60141 [t:1859], remove extraneous printf
git-svn-id: file:///svn/mysql/tokudb-engine/src@13940 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
eea66f60a0 [t:1859], make lock tables not create a parent transaction,
fix prelocking that happens in lock tables

git-svn-id: file:///svn/mysql/tokudb-engine/src@13935 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
c6edb1c3da [t:1925], fix bug where hidden primary key was not being saved
git-svn-id: file:///svn/mysql/tokudb-engine/src@13914 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
baf1a5be88 [t:1925], remove unused variable current_row
git-svn-id: file:///svn/mysql/tokudb-engine/src@13869 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
3225e8928d [t:1925], use db->getf_set in ha_tokudb::read_row
git-svn-id: file:///svn/mysql/tokudb-engine/src@13867 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
00b424a4e9 [t:1925], use db->getf_set in a couple of places
git-svn-id: file:///svn/mysql/tokudb-engine/src@13866 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
28030fe334 [t:1928], remove dead code
git-svn-id: file:///svn/mysql/tokudb-engine/src@13863 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
1d285b80de addresses #1925, make all metadata retrieval from status.tokudb not use DB_DBT_MALLOC
git-svn-id: file:///svn/mysql/tokudb-engine/src@13846 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
48ad1acdde addresses #1923
git-svn-id: file:///svn/mysql/tokudb-engine/src@13833 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
1b8d07046f addresses #1913, fix replace into with respect to unique checks
git-svn-id: file:///svn/mysql/tokudb-engine/src@13816 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
a26f49a804 addresses #1883, fix bug
git-svn-id: file:///svn/mysql/tokudb-engine/src@13584 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
677eaca52e addresses #1858, change so opt only works when auto inc is first column of key
git-svn-id: file:///svn/mysql/tokudb-engine/src@13489 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
01f2fddeb7 addresses #1869, move out of main. This change will not go in as is
git-svn-id: file:///svn/mysql/tokudb-engine/src@13487 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
b17869b2a1 addresses #1852
changes from code review

git-svn-id: file:///svn/mysql/tokudb-engine/src@13403 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
ba2cb0fce4 addresses #1869
prelock entire table when you think you might have an empty table

git-svn-id: file:///svn/mysql/tokudb-engine/src@13357 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
ec82648ce1 addresses #1832
have truncate work even if cursors exist on dictionary

git-svn-id: file:///svn/mysql/tokudb-engine/src@13297 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
2b7a057d16 addresses #1858
remove auto increment overhead on bulk loads

git-svn-id: file:///svn/mysql/tokudb-engine/src@13202 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
a8e993e3cd addresses #1852, #1334
prelock ranges that are read in reverse order

git-svn-id: file:///svn/mysql/tokudb-engine/src@13150 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
946e8f8078 addresses #1841
fix small bug

git-svn-id: file:///svn/mysql/tokudb-engine/src@13096 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
eb74eb5bb9 addresses #1841, #1334
do prelocking in handler when we are going to do a range query that
gets all values with a key prefix

git-svn-id: file:///svn/mysql/tokudb-engine/src@13056 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
c127074043 addresses #1833
do a DB_YESOVERWRITE put when doing "replace into" on a table with no secondary indexes

git-svn-id: file:///svn/mysql/tokudb-engine/src@12996 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
3b7f4d410a addresses BUILD
fix compiler error

git-svn-id: file:///svn/mysql/tokudb-engine/src@12993 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
abfadfafcc addresses #1832, #1821
pre-acquire a table lock before attempting a truncate in the handlerton

git-svn-id: file:///svn/mysql/tokudb-engine/src@12985 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -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
a48ecb2bea addresses #1813
make records_in_range not use heaviside function
could result to better perf on small queries

git-svn-id: file:///svn/mysql/tokudb-engine/src@12774 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
0d9348640d addresses #1803
implement ha_tokudb::index_read_last
using same implementation as every other storage engine

git-svn-id: file:///svn/mysql/tokudb-engine/src@12705 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
6dcda10c36 addresses #1797
git-svn-id: file:///svn/mysql/tokudb-engine/src@12631 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
12d3797b60 addresses #1795
make own version of blob packing and unpacking

git-svn-id: file:///svn/mysql/tokudb-engine/src@12630 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
ae6689eb13 addresses #1740
remove HA_FAST_KEY_READ from int_table_flags

git-svn-id: file:///svn/mysql/tokudb-engine/src@12470 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
e10e4c0ced addresses #1788
make updates faster
by not doing extraneous delete

git-svn-id: file:///svn/mysql/tokudb-engine/src@12434 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
2882af6375 addresses #1751
check if fn_format fails due to path being too long

git-svn-id: file:///svn/mysql/tokudb-engine/src@11890 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
440e2b3717 addresses #1751
fix buffers

git-svn-id: file:///svn/mysql/tokudb-engine/src@11874 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
2bc55318d0 addresses #1097
back out analyze table for this release

git-svn-id: file:///svn/mysql/tokudb-engine/src@11531 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
65dbfb2f0b addresses #1723
small change

git-svn-id: file:///svn/mysql/tokudb-engine/src@11524 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
ad9fc0f688 addresses #1097
do not set cardinality for clustering keys, because it is inaccurate

git-svn-id: file:///svn/mysql/tokudb-engine/src@11500 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
d38b8f6e31 addresses #1097
implement ha_tokudb::analyze

git-svn-id: file:///svn/mysql/tokudb-engine/src@11499 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
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