Commit graph

714 commits

Author SHA1 Message Date
Sergey Vojtovich
d12c7adf71 MDEV-5314 - Compiling fails on OSX using clang
This is port of fix for MySQL BUG#17647863.

revno: 5572
revision-id: jon.hauglid@oracle.com-20131030232243-b0pw98oy72uka2sj
committer: Jon Olav Hauglid <jon.hauglid@oracle.com>
timestamp: Thu 2013-10-31 00:22:43 +0100
message:
  Bug#17647863: MYSQL DOES NOT COMPILE ON OSX 10.9 GM

  Rename test() macro to MY_TEST() to avoid conflict with libc++.
2014-02-19 14:05:15 +04:00
Sergei Golubchik
d28d3ba40d 10.0-base merge 2013-12-16 13:02:21 +01:00
Sergei Golubchik
46ea51ff77 tokudb post-merge compilation fixes 2013-11-23 13:05:35 +01:00
Sergei Golubchik
c6d30805db 5.5 merge 2013-11-23 00:50:54 +01:00
Sergei Golubchik
ff41edab6c merge with ft-engine and ft-index up to tag:tokudb-7.1.0 2013-11-19 15:35:31 +01:00
Rich Prohaska
ef6add4cac #122 change default compression to zlib and add a session variable to control create info row format 2013-10-07 09:11:51 -04:00
Rich Prohaska
36737f6c36 tokutek/ft-index#76 add US Patent 8,489,638 2013-10-04 16:44:43 -04:00
Rich Prohaska
a9caa21f48 remove cruft 2013-09-27 13:14:23 -04:00
Rich Prohaska
bb1fdf7ddd #92 use parent txn in ::delete_or_rename_table. this removes error messages when running dict_leak_3518 test 2013-09-24 14:27:27 -04:00
Rich Prohaska
935f78acc2 #92 add key_is_clustering accessor 2013-09-23 14:32:48 -04:00
Rich Prohaska
f0629146c3 #92 remove memcpy_fixed (no longer necessary) 2013-09-23 13:45:07 -04:00
Rich Prohaska
5cf85b79cd #92 simplify my_free calls 2013-09-23 13:42:48 -04:00
Zardosht Kasheff
577470e05a refs #94, for keys with strings, add a memcmp at the end of the comparison
function if we are doing comparisons in the fractal tree, so that case-insensitivities
get resolved. Comparisons done inside the handlerton are unaffected.
2013-09-20 11:22:39 -04:00
Sergei Golubchik
20031c6273 Enable TokuDB online ALTER
sql/create_options.cc:
  an utility function to compare two filled-in engine_option structures
sql/sql_table.cc:
  * two keys are different if their option_struct's differ
    (for ALTER TABLE DROP key, ADD key)
  * engines doing inplace alter must see the new frm image
2013-09-25 19:42:22 +02:00
Sergei Golubchik
27c9ed11ff TokuDB now compiles and passes all tests as in 5.5 2013-09-21 10:16:06 +02:00
Rich Prohaska
9f5293de5b #81 cleanup thread variables 2013-09-19 13:34:55 -04:00
Sergei Golubchik
4ec2e9d7ed 5.5 merge and fixes for compiler/test errors 2013-09-18 13:07:31 +02:00
Rich Prohaska
60a4370f9a refs #71 rearrange IS code 2013-09-10 06:22:25 -04:00
Sergei Golubchik
642aa4366d clustering == covering
tell the optimizer that every TokuDB "clustering" index is the "covering" index
in the MariaDB optimizer sense.
2013-09-09 14:00:06 +02:00
Sergei Golubchik
9fdac1ae90 tokudb: temporary 5.5-only hack to let the frm-only ALTER TABLE to work 2013-09-09 13:35:09 +02:00
Sergei Golubchik
bac94d097e tokudb: COMPRESSION = { DEFAULT | TOKUDB_UNCOMPRESSED |
TOKUDB_ZLIB | TOKUDB_QUICKLZ |
                TOKUDB_LZMA | TOKUDB_FAST |
                TOKUDB_SMALL }
syntax for tables
2013-09-09 13:35:00 +02:00
Sergei Golubchik
86bc6b6ae8 tokudb: CLUSTERING=YES syntax for indexes 2013-09-09 13:34:50 +02:00
Sergei Golubchik
f2b5f1fdc6 tokudb: auto-increment not on the first keypart 2013-09-09 13:34:38 +02:00
Rich Prohaska
3ac574c06b refs Tokutek/ft-engine#30 trace all txn begin calls 2013-09-09 07:04:45 -04:00
Rich Prohaska
d46b4cfce2 #69 run create unique index with MDL shared no write (not hot WRT writes) 2013-08-21 10:15:47 -04:00
Zardosht Kasheff
a8c9af2786 closes #66, have may_table_be_empty call use the same transaction that opens and possibly creates the table, otherwise it may block behind that transaction's lock tree locks 2013-08-17 18:23:48 -04:00
Zardosht Kasheff
9baa37146c refs Tokutek/ft-index/#26 have ha_tokudb use new XXX_multiple API 2013-08-12 17:11:45 -04:00
Rich Prohaska
a43124c1e5 #58 #62 ignore key block size settings for tokudb. use session variables instead. 2013-08-05 10:07:47 -04:00
Rich Prohaska
d58b0523c8 #57 error our unpack_blobs if the blobs input buffer can not be parsed 2013-07-30 11:15:40 -04:00
Yoni Fogel
73ce418e2d Merge branch '6712' 2013-07-17 15:18:12 -07:00
Yoni Fogel
4780c8bbf7 Refs Tokutek/ft-engine#40 Rename c_restrict_to_range to c_set_bounds, delete c_pre_acquire_range_lock 2013-07-17 15:16:11 -07:00
Yoni Fogel
85a164fb09 Refs Tokutek/ft-engine/#40 Use c_restrict_to_range function to force cursor to keep track of prelocked range 2013-07-17 15:16:11 -07:00
Zardosht Kasheff
e69e0cff9a refs #42, exit gracefully from ha_tokudb::create if we notice a field that is invalid 2013-06-24 15:07:20 -04:00
Rich Prohaska
1200ca6dad svn #6706 add GPL headers to the tokudb handlerton 2013-05-28 08:33:07 -04:00
Rich Prohaska
d3f4822885 remove overactive assert in ha_tokudb::external_lock 2013-05-24 11:23:52 -04:00
zkasheff
d5fb75ca2f refs #6684, fix icp bug of queries that do multiple index_next_same calls with the same cursor 2013-04-30 18:48:08 -04:00
Zardosht Kasheff
575867e17c refs #6278, merge to main
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54501 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:18 -04:00
Rich Prohaska
32156c75ba refs #6184 new cardinality and status code with better unit tests
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54450 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:18 -04:00
Yoni Fogel
70107a436e fixes #6086 Merge 6086 to main. We now read in basement nodes if a full keyrange resides in it so that we can answer more accurately.
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54342 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:18 -04:00
Zardosht Kasheff
295d6879bf refs #6058, make a handlerton fix for stored functions
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54330 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:18 -04:00
Zardosht Kasheff
c2ba13873e refs #6195, fix bug in add index where bf_info->key_to_compare was not set
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54295 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:18 -04:00
Zardosht Kasheff
9a88c96b14 refs #6058, merge handlerton piece to main
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54235 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:18 -04:00
Zardosht Kasheff
04576080b2 refs #6195, fix was good, put it back
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54220 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:18 -04:00
Zardosht Kasheff
f2e2043d28 refs #6195, fix still not working, backing out
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54179 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:18 -04:00
Zardosht Kasheff
d22280144e refs #6195, make proper fix
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54177 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:18 -04:00
Zardosht Kasheff
822f9c0ed3 refs #6195, undo change, needs tweaking
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54130 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:18 -04:00
Zardosht Kasheff
df5cc2716c refs #6195, make fix
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54128 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:18 -04:00
Rich Prohaska
2cfb7b0af2 refs #6022 implement cardinality on the mainline
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@53943 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:18 -04:00
Rich Prohaska
5fd169998f refs #5852 ext keys in 5.6
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@53707 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:18 -04:00
Rich Prohaska
a5c4dfa409 refs #6094 remove HA_GENERAL_ONLINE code from the handlerton
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@53679 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:02:18 -04:00