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