Zardosht Kasheff
840d7774bb
addresses #1149
...
move some defines out of ha_tokudb.cc and into new file hatoku_defines.h
git-svn-id: file:///svn/mysql/tokudb-engine/src@6077 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
97f437f75d
addresses #1105
...
fix records_in_range to be able to handle a prefix that is passed in
git-svn-id: file:///svn/mysql/tokudb-engine/src@6073 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
903bfbe3b2
addresses #1116
...
remove unused constants
git-svn-id: file:///svn/mysql/tokudb-engine/src@6026 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:45 -04:00
Zardosht Kasheff
be203841a0
addresses #387
...
use db->delboth to do delete
git-svn-id: file:///svn/mysql/tokudb-engine/src@5883 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
b63611ccc0
addresses #1111
...
change flag of 0 to DB_YESOVERWRITE so that it is explicit
git-svn-id: file:///svn/mysql/tokudb-engine/src@5868 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
ced0f7606d
addresses #1016
...
get MySQL to realize that alter table change requires making a new table
git-svn-id: file:///svn/mysql/tokudb-engine/src@5735 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
dca967909e
fix memory leaks
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@5727 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
9d4d6b5b6e
addresses #915
...
simplify ::create
git-svn-id: file:///svn/mysql/tokudb-engine/src@5726 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
9d86ad0a64
addresses #915
...
merge auto increment fix into main branch
git-svn-id: file:///svn/mysql/tokudb-engine/src@5725 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
a1b7692cae
addreses #1094
...
git-svn-id: file:///svn/mysql/tokudb-engine/src@5650 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
177f7b9a67
addresses #1087
...
make sure ::optimize uses valid transaction
git-svn-id: file:///svn/mysql/tokudb-engine/src@5648 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
c86dc3f490
addresses #1078
...
small changes to get savepoint code to compile
git-svn-id: file:///svn/mysql/tokudb-engine/src@5647 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
728227237a
addresses #1088
...
fix null keys in case for updates
git-svn-id: file:///svn/mysql/tokudb-engine/src@5632 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
39634ae96d
addresses #1068
...
use right transaction param
git-svn-id: file:///svn/mysql/tokudb-engine/src@5612 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
a5ffdc7ca9
addresses #1068
...
for function optimize tables, does a full table scan on each key to flatten DB
git-svn-id: file:///svn/mysql/tokudb-engine/src@5611 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
Zardosht Kasheff
f9850e0fde
addresses #1084
...
implement HA_EXTRA_IGNORE_DUP_KEY correctly
git-svn-id: file:///svn/mysql/tokudb-engine/src@5592 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:44 -04:00
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
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
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
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
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