Zardosht Kasheff
45f58be08a
addresses #1058
...
get ha_tokudb to properly support keys with NULL values in unique indexes
still need to write an automated test
git-svn-id: file:///svn/mysql/tokudb-engine/src@5589 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
3105884ec2
addresses #1069 #1077
...
merge into main line for 1.0.7
git-svn-id: file:///svn/mysql/tokudb-engine/src@5567 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
8f1f24b0f3
addresses #1066
...
remove overactive assert
git-svn-id: file:///svn/mysql/tokudb-engine/src@5476 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
9d421882db
addresses #1047
...
fix bad merge
git-svn-id: file:///svn/mysql/tokudb-engine/src@5448 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
20cc1cb9d5
addresses #1047 #1056
...
use smart DBT's for add_index and ha_tokudb cursor operations
git-svn-id: file:///svn/mysql/tokudb-engine/src@5433 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
0ac75bd40f
addresses #1057
...
add DB_PRELOCKED flag where applicable in add_index
git-svn-id: file:///svn/mysql/tokudb-engine/src@5410 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Rich Prohaska
1502e53e09
simplify the delete_all_rows. addresses #969
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@5237 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Rich Prohaska
1b27128066
implement delete_all_rows. closes #969
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@5232 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Yoni Fogel
408343fac4
Addresses #993
...
Removed duplicated temp file
git-svn-id: file:///svn/mysql/tokudb-engine/src@5187 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
6589ed4d1d
addresses #993
...
use heaviside function for index_read
git-svn-id: file:///svn/mysql/tokudb-engine/src@5164 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Yoni Fogel
a099911b21
Addresses #993
...
Cleanup
git-svn-id: file:///svn/mysql/tokudb-engine/src@5160 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
d4dc06fb6b
Addressed #993
...
Removed unused variables.
git-svn-id: file:///svn/mysql/tokudb-engine/src@5158 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
a198e8bc40
Addresses #993
...
Removed debug verification for heaviside functions
git-svn-id: file:///svn/mysql/tokudb-engine/src@5157 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
fab6ced0a1
Addresses #993
...
Fix bug in assertion
git-svn-id: file:///svn/mysql/tokudb-engine/src@5156 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Yoni Fogel
1bd22ff603
Addresses #993
...
Renamed file
git-svn-id: file:///svn/mysql/tokudb-engine/src@5155 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Yoni Fogel
57d8fd133a
Addresses #993
...
Bugfix in comparison in heaviside funcs
git-svn-id: file:///svn/mysql/tokudb-engine/src@5154 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Yoni Fogel
2011221304
Addresses #993
...
Added verification checks
git-svn-id: file:///svn/mysql/tokudb-engine/src@5153 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Yoni Fogel
8b8d3b7c33
Addresses #993
...
Add heaviside function (c_getf_heavi) use to handlerton.
git-svn-id: file:///svn/mysql/tokudb-engine/src@5150 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
80c5c9ceec
addresses #1022
...
forgot to close cursor
git-svn-id: file:///svn/mysql/tokudb-engine/src@5108 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
95a7f058d2
addresses #973
...
reintroduce change that saves memcpy when primary key is covering index,
will add note to release notes stating not to have prefix as part of primary key
git-svn-id: file:///svn/mysql/tokudb-engine/src@5068 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
c3964a361b
addresses #1013
...
make sure tokudb does not support geometry, per PRD
git-svn-id: file:///svn/mysql/tokudb-engine/src@5024 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
ff3a6e7fa3
addresses #977
...
remove hack to get decimals working
git-svn-id: file:///svn/mysql/tokudb-engine/src@4988 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
474affa43f
addresses #1001
...
reduce number of key_range64 calls
git-svn-id: file:///svn/mysql/tokudb-engine/src@4969 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
d789c29c2c
addresses #814
...
readd lock around f'n
git-svn-id: file:///svn/mysql/tokudb-engine/src@4942 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
6cae66f919
addresses #814
...
undo bad change, not sure why it is bad, but it is
git-svn-id: file:///svn/mysql/tokudb-engine/src@4941 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
83cd8f35a2
addresses #814
...
remove leak of status_block
git-svn-id: file:///svn/mysql/tokudb-engine/src@4940 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
72ec7d38a1
addresses #814
...
some function cleanup
git-svn-id: file:///svn/mysql/tokudb-engine/src@4932 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
155a4687ab
addresses #814
...
little bit of cleaning up
git-svn-id: file:///svn/mysql/tokudb-engine/src@4931 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
e743ff2066
addresses #814
...
put in real capabilities value
git-svn-id: file:///svn/mysql/tokudb-engine/src@4930 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
020a3d86de
addresses #814
...
add version and capabilities, some cleanup still required, but code works
git-svn-id: file:///svn/mysql/tokudb-engine/src@4929 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
e9e3cd0508
addresses #814
...
restructure code before adding version and capabilities
git-svn-id: file:///svn/mysql/tokudb-engine/src@4928 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
1bb28b0dac
addresses #814
...
curly braces around if clause
git-svn-id: file:///svn/mysql/tokudb-engine/src@4927 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
d7608e0a0e
addresses #814
...
remove update_status, at moment, there is nothing that needs updating when
DB is going away
git-svn-id: file:///svn/mysql/tokudb-engine/src@4926 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
614e88b935
addresses #814
...
remove extraneous variable
git-svn-id: file:///svn/mysql/tokudb-engine/src@4925 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
ba9f7d53ea
addresses #852
...
renumber flags after a couple were deleted
git-svn-id: file:///svn/mysql/tokudb-engine/src@4924 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
e07f7f7274
addresses #852
...
remove extraneous flags that were lying around
git-svn-id: file:///svn/mysql/tokudb-engine/src@4923 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
2faed401a3
addresses #852
...
remove function write_status, no longer being used
git-svn-id: file:///svn/mysql/tokudb-engine/src@4921 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
3773eee2ac
addresses #852
...
as of now, no info is stored in status.tokudb because the old info
that was stored is not needed anymore. Info will be stored soon.
git-svn-id: file:///svn/mysql/tokudb-engine/src@4920 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
1a35c789e5
addresses 967
...
remove unused variables share->rows and share->org_rows that were useed
to estimate row count. row count is now estimated with key_range64
git-svn-id: file:///svn/mysql/tokudb-engine/src@4919 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
6ef1878366
addresses #967
...
make row count displayed in show table status better by
using key_range64 to estimate stats.records instead of keeping a running tally
git-svn-id: file:///svn/mysql/tokudb-engine/src@4918 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
14db40bcc8
addresses #977
...
temporary change to test if just doing a memcpy will work for unpacking
a Field_new_decimal
real change is to modify Field_new_decimal, but by checking this in, we can
quickly get regression results
git-svn-id: file:///svn/mysql/tokudb-engine/src@4904 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
12a276cfdb
addresses 977
...
previous fix was bad, undid it
git-svn-id: file:///svn/mysql/tokudb-engine/src@4880 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:43 -04:00
Zardosht Kasheff
4f1a0afacc
addresses #977
...
get decimals working properly in tokudb
git-svn-id: file:///svn/mysql/tokudb-engine/src@4828 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:42 -04:00
Zardosht Kasheff
8a3c9885bc
addresses 612
...
change max number of keys to be 64
git-svn-id: file:///svn/mysql/tokudb-engine/src@4796 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:42 -04:00
Zardosht Kasheff
2a0b99acd8
addresses 958
...
fix file descriptor leak that happens on add_index
git-svn-id: file:///svn/mysql/tokudb-engine/src@4795 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:42 -04:00
Zardosht Kasheff
b786a3e488
addresses 962
...
grab table locks when doing a scan of a secondary index
git-svn-id: file:///svn/mysql/tokudb-engine/src@4792 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:42 -04:00
Zardosht Kasheff
f2caf9db90
addresses #973
...
just unpacking key has problems when the key is a substring of a column. MySQL still reports that it is a covering index, must back out previous change
git-svn-id: file:///svn/mysql/tokudb-engine/src@4782 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:42 -04:00
Zardosht Kasheff
7bfc891487
addresses 973
...
dont unpack entire row when primary key is used as covering index
git-svn-id: file:///svn/mysql/tokudb-engine/src@4770 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:42 -04:00
Zardosht Kasheff
7c4176a398
addresses #922
...
fix overactive assert
git-svn-id: file:///svn/mysql/tokudb-engine/src@4767 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:42 -04:00
Zardosht Kasheff
a0e9082675
addresses 922
...
when locking table, grab table locks
git-svn-id: file:///svn/mysql/tokudb-engine/src@4764 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:42 -04:00