Commit graph

409 commits

Author SHA1 Message Date
Zardosht Kasheff
c4281bd039 [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
3e280928fa [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
4e0a3e4eb9 [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
c2d5d8e1e8 [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
d5947f430a [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
6a1ef8d949 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
526e1c8327 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
4289f35f43 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
Rich Prohaska
8d7f2c450e show engines tokudb comment string. merge -c 13587 from 2.1.0 to main. [t:1892]
git-svn-id: file:///svn/mysql/tokudb-engine/src@13591 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Rich Prohaska
4107b184b1 link the handlerton to a version controlled libtokudb. merge -c 13578 from 2.1.0 to main. [t:1887]
git-svn-id: file:///svn/mysql/tokudb-engine/src@13590 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Rich Prohaska
6d927e7aa0 compile the handlerton with -O3. merge -c 13582 from 2.1.0 to main. [t:1890]
git-svn-id: file:///svn/mysql/tokudb-engine/src@13589 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Rich Prohaska
42f081a4db merge -c 13581 from 2.1.0 to main. [t:1889]
git-svn-id: file:///svn/mysql/tokudb-engine/src@13588 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:52 -04:00
Zardosht Kasheff
4723b8b33e 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
240dcaa286 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
72289f3dd8 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
6b2961b9e5 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
5ab4085fb6 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
6b0f76b25e 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
a4613d3d6e 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
5e3b01efec 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
d37da476bc 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
d67cf0dd02 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
380b42f26d 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
6c1ec24deb 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
bee55e7484 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
2c98bb1192 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
fa63f152b5 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
e561deaea9 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
Zardosht Kasheff
7249e460c4 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
b8a7d1383b 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
92408df7f5 addresses #1782
move change from 2.0.0 to main line

git-svn-id: file:///svn/mysql/tokudb-engine/src@12641 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
446cafd90c 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
10bf45d673 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
Rich Prohaska
5f44240712 addresses #1789
git-svn-id: file:///svn/mysql/tokudb-engine/src@12485 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
2fb986d9ec 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
Rich Prohaska
b62f8a3079 build the handlerton on freebsd. addresses #1789
git-svn-id: file:///svn/mysql/tokudb-engine/src@12458 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
21c11e74be 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
32bc4e1cf8 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
3b2fe275cb 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
1412a62983 addresses #1742
change checkpointing default to 60 seconds

git-svn-id: file:///svn/mysql/tokudb-engine/src@11712 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
03faa2149e 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
e35d1662ba 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
fdc8de5212 addresses #1724
set default to 5 min

git-svn-id: file:///svn/mysql/tokudb-engine/src@11523 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
d613f05980 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
5a3b7a49e3 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
e89af552a4 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
168f9591af 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
b707ce4b01 addresses #1719
give user mehtod to control checkpointing interval

git-svn-id: file:///svn/mysql/tokudb-engine/src@11472 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:51 -04:00
Zardosht Kasheff
05eaddd1d7 addresses #1719, #1718
add variable for checkpointing, address Yoni's CR comments

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