Zardosht Kasheff
060d2d73b4
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
c38e0d7800
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
69b3d73aad
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
5c938aae5f
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
9c9c5f985f
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
52abaa223d
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
512c3e5c3c
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
d08a579059
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
d3de732f61
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
2bcd7bf091
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
3c5cc701f3
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
6313f1f675
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
1915677d7a
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
798179fd10
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
5884ae2d70
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
fb90472a5c
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
0cd1ab4ed4
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
4239e6179e
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
887e51dc95
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
e460e8c991
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
c5f1fb75f4
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
23fb4b4628
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
15e8649e50
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
f5f6715103
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
61612cdcf3
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
43d0540e71
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
3ef8c9d2cb
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
5bde893355
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
8cd2f2b5cd
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
cf3a9de692
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
0af29e918b
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
914273aa6a
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
8b5e9a44bc
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
2cfc80d4aa
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
01008c5abd
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
d39ec884d6
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
4fd737063d
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
63c0be36e5
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
2251847caf
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
eb23b1f6c5
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
6d229ca2d5
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
2929a3c472
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
5ebd148d08
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
790800429a
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
9090a45745
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
9b4c56fd78
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
b75787e10b
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
ea35126a84
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
661e8854f8
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
4d300a2348
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