Commit graph

1460 commits

Author SHA1 Message Date
Rich Prohaska
c636dd5287 #226 delete CMakeLists.in, no longer used 2014-05-07 15:21:46 -04:00
Rich Prohaska
b0493252e0 #228 use thd_get/set_ha_data for tokudb_trx data 2014-05-07 08:20:41 -04:00
Rich Prohaska
5624a03c83 #226 delete CMakeLists.in, no longer used 2014-05-06 13:17:49 -04:00
Sergei Golubchik
7a0a2c4b84 after tokudb-7.1.6 merge 2014-05-06 14:40:32 +02:00
Sergei Golubchik
aff4854dfd merge:
git://github.com/Tokutek/ft-index.git
git://github.com/Tokutek/ft-engine.git
at the tag tokudb-7.1.6
2014-05-05 22:59:44 +02:00
Rich Prohaska
d274f91a8e #224 fail tokudb init if jemalloc is not loaded 2014-05-05 08:13:25 -04:00
Rich Prohaska
394202d207 #224 fail tokudb init if jemalloc is not loaded 2014-05-05 07:59:33 -04:00
Rich Prohaska
2eb45b888e #223 build tokudb without upserts 2014-05-03 06:03:39 -04:00
Rich Prohaska
2a8682244a #223 build tokudb without upserts 2014-05-02 15:55:52 -04:00
Rich Prohaska
fa301b7bd4 #222 filter out degenerate key range in tokudb::record_in_range 2014-05-01 14:38:26 -04:00
Sergei Golubchik
5b6c75ca4d increase TokuDB plugins maturity to "stable". 2014-05-01 14:06:06 +02:00
Sergei Golubchik
4544e60d29 MDEV-6106 Cannot create a table with 229 or greater columns in TokuDB
correct the length encoding for the extra2 frm segment. add the comment.
2014-05-01 14:04:00 +02:00
Rich Prohaska
85d338cc3e #222 filter out degenerate key range in tokudb::record_in_range 2014-04-30 18:19:14 -04:00
Rich Prohaska
879d9449cc #218 fix incorrect use of num_DBs_lock 2014-04-29 13:53:37 -04:00
Rich Prohaska
53cb5329e4 #218 fix incorrect use of num_DBs_lock 2014-04-29 13:51:05 -04:00
Rich Prohaska
d36f401008 ft-index#218 use cursor set range with bound for point queries 2014-04-25 14:39:54 -04:00
Rich Prohaska
fa3526f17a #110 turn off replace into and insert ignore optimizations when binlog format != statement (2nd try) 2014-04-25 14:39:53 -04:00
Rich Prohaska
f2e73c9a6f #110 turn off replace into and insert ignore optimizations when binlog format != statement 2014-04-25 14:39:53 -04:00
Rich Prohaska
975c904f16 #202 allow non-null AND null key index cursor operations (2nd try) 2014-04-25 14:39:53 -04:00
Rich Prohaska
197e2a44aa #206 support mariadb 10.0.10 start_bulk_insert api change 2014-04-25 14:39:53 -04:00
Rich Prohaska
847e14f3b0 #212 binlog row replication turns the insert ignore optimization off 2014-04-25 14:39:53 -04:00
Rich Prohaska
4fbec79e55 #202 allow non-null AND null key index cursor operations 2014-04-25 14:39:53 -04:00
Rich Prohaska
dbb07c3f9e #194 fix gcc 4.8 warnings 2014-04-25 14:39:53 -04:00
Rich Prohaska
a97122c505 #206 compile without partition storage engine 2014-04-25 14:39:53 -04:00
Rich Prohaska
c9dfa7496e #206 support mariadb 10.0.10 alter compression table attribute 2014-04-25 14:39:53 -04:00
Rich Prohaska
06274e30cf #209 add variable to control table empty algorithm 2014-04-25 14:39:53 -04:00
Rich Prohaska
25f13fdac0 #208 debug create temp table and transactions 2014-04-25 14:39:53 -04:00
Rich Prohaska
2df1755756 #133 dont overlock key ranges for unique secondary keys 2014-04-25 14:39:53 -04:00
Rich Prohaska
d9bddf1341 #209 add tokudb_open_table_check_empty session variable to enable/disable may_table_be_open 2014-04-25 14:26:29 -04:00
Rich Prohaska
d8fdb8dc9f #205 build tokudb with webscalesql-5.6 2014-04-25 14:26:29 -04:00
Rich Prohaska
f2a7a7d0b4 #204 print compression status variables 2014-04-25 14:26:29 -04:00
Rich Prohaska
1c3a7b0be7 #200 handle errors when writing cardinality data 2014-04-25 14:26:28 -04:00
Rich Prohaska
2e45809303 #195 merge mariadb 10.0.9 2014-04-25 14:26:28 -04:00
Rich Prohaska
3527f774f0 #198 add tokudb_backtrace to help debug handler interface bugs 2014-04-25 14:26:28 -04:00
Rich Prohaska
94ed981ffe ft-index#218 use cursor set range with bound for point queries 2014-04-25 13:43:45 -04:00
Igor Babaev
b186575fc0 Merge 10.0->10.1 2014-04-23 23:14:29 -07:00
Rich Prohaska
02fce56777 #110 turn off replace into and insert ignore optimizations when binlog format != statement (2nd try) 2014-04-21 12:35:59 -04:00
Rich Prohaska
99c4517b29 #110 turn off replace into and insert ignore optimizations when binlog format != statement 2014-04-21 10:35:03 -04:00
Alexander Barkov
d3d3a4b834 MDEV-4511 Assertion `scale <= precision' fails on GROUP BY TIMEDIFF with incorrect types 2014-04-24 16:59:01 +04:00
Rich Prohaska
25f931c6b6 #202 allow non-null AND null key index cursor operations (2nd try) 2014-04-18 14:07:14 -04:00
Rich Prohaska
5d2d9bfdeb #206 support mariadb 10.0.10 start_bulk_insert api change 2014-04-17 09:12:43 -04:00
Rich Prohaska
9f324de94d #212 binlog row replication turns the insert ignore optimization off 2014-04-14 17:23:06 -04:00
Rich Prohaska
e7e91ab6bb #202 allow non-null AND null key index cursor operations 2014-04-14 15:11:31 -04:00
Rich Prohaska
cb41cf0db1 #194 fix gcc 4.8 warnings 2014-04-13 14:40:54 -04:00
Rich Prohaska
da5e2a19e6 #206 compile without partition storage engine 2014-04-09 07:45:15 -04:00
Rich Prohaska
38b95830b5 #206 support mariadb 10.0.10 alter compression table attribute 2014-04-08 15:24:06 -04:00
Rich Prohaska
5b3f63c0d0 #209 add variable to control table empty algorithm 2014-04-08 11:15:28 -04:00
Rich Prohaska
fb30dc2667 #208 debug create temp table and transactions 2014-04-07 16:58:51 -04:00
Rich Prohaska
4a88423538 #133 dont overlock key ranges for unique secondary keys 2014-04-07 13:34:58 -04:00
Rich Prohaska
22bf01e7f5 #209 add tokudb_open_table_check_empty session variable to enable/disable may_table_be_open 2014-04-03 11:21:00 -04:00
Rich Prohaska
dc9ed4c5fe #205 build tokudb with webscalesql-5.6 2014-03-31 11:05:45 -04:00
Rich Prohaska
a77a73fd32 #204 print compression status variables 2014-03-31 08:57:42 -04:00
Michael Widenius
9aac546872 MDEV-5930 Server crashes in thd_get_ha_data on CREATE OR REPLACE TABLE
mysql-test/r/create_or_replace.result:
  More tests for create or replace
mysql-test/t/create_or_replace.test:
  More tests for create or replace
sql/log.cc:
  Don't use binlog_hton if binlog is not enabmed
sql/sql_base.cc:
  We have to call restart_trans_for_tables also if tables where not locked with LOCK TABLES.
  If not, we will get a crash in TokuDB
sql/sql_insert.cc:
  Don't call binlog_reset_cache() if we don't have binary log open
sql/sql_table.cc:
  Don't log to binary log if not open
  Better test if we where using create or replace ... select
storage/tokudb/mysql-test/tokudb_mariadb/r/create_or_replace.result:
  More tests for create or replace
storage/tokudb/mysql-test/tokudb_mariadb/t/create_or_replace.test:
  More tests for create or replace
2014-03-23 18:39:10 +02:00
Sergei Golubchik
707dd6b9e9 MDEV-5943 'show table status' does not immediately show tokudb tables
MDEV-5839 TokuDB tables not properly cleaned on DROP DATABASE

TokuDB does not support discover_table_names() and writes no files
in the database directory, so automatic filename-based
discover_table_names() doesn't work either. So, it must force .frm
file to disk in ::create()
2014-03-26 22:32:15 +01:00
Sergei Golubchik
06bdc441f0 update tokudb tests for 10.0 2014-03-26 22:31:17 +01:00
Sergei Golubchik
10740939eb 5.5 merge 2014-03-26 22:25:38 +01:00
Sergei Golubchik
525c3c2435 TokuDB: make the default value for the table compression= attribute to come
from the variable @@session.tokudb_row_format
2014-03-26 09:33:54 +01:00
Sergei Golubchik
c11c64e972 MDEV-5822 TokuDB fails to compile without partition storage engine 2014-03-24 20:01:55 +01:00
Sergei Golubchik
c18fb72e71 tokudb: make compression=TOKUDB_ZLIB the default (instead of TOKUDB_UNCOMPRESSED)
for new tables
2014-03-24 20:01:50 +01:00
Rich Prohaska
000f5143c3 #200 handle errors when writing cardinality data 2014-03-20 12:45:32 -04:00
Sergei Golubchik
94c97e5b68 update plugins' maturity levels:
old plugins get STABLE
newer plugins get GAMMA
those that had bugs recently get BETA
2014-03-19 09:56:46 +01:00
Rich Prohaska
daddc85f76 #195 merge mariadb 10.0.9 2014-03-18 19:18:40 -04:00
Sergei Golubchik
99a0b5464d merge ft-index and ft-engine as of 7.1.5 2014-03-18 09:02:57 +01:00
Rich Prohaska
ff1be5d961 #198 add tokudb_backtrace to help debug handler interface bugs 2014-03-12 10:28:57 -04:00
John Esmet
8a3e6b9c81 Fix include search paths in the handlerton 2014-03-04 11:22:10 -05:00
Alexander Barkov
f5b73fe3f1 Merge from 5.3. 2014-04-21 12:19:47 +04:00
Rich Prohaska
4e6d8249db #192 support HTON_SUPPORTS_CLUSTERED_KEYS 2014-02-26 14:39:06 -05:00
Rich Prohaska
7c506b017b #191 support -DTOKUDB_VERSION=SOME_VERSION_STRING 2014-02-26 10:58:44 -05:00
Sergei Golubchik
0dc23679c8 10.0-base merge 2014-02-26 15:28:07 +01:00
Sergei Golubchik
0b9a0a3517 5.5 merge 2014-02-25 16:04:35 +01:00
Rich Prohaska
e9b9fd9077 #188 keep track of and cleanup last_lock_timeout memory 2014-02-24 09:46:24 -05:00
Sergei Golubchik
004642525d Fix "cmake . && cmake -DWITHOUT_TOKUDB=1" to disable tokudb 2014-02-21 23:42:29 +01:00
Rich Prohaska
b77c0addba #190 zero out new null bytes to force valgrind to quit complaining about uninitialized bytes 2014-02-21 15:53:05 -05:00
Rich Prohaska
3fbd54a96d #189 add tokudb_kill_time session variable to set lock tree kill callback frequency 2014-02-21 08:21:31 -05:00
Rich Prohaska
f07613f140 #186 update cardinality on first table open 2014-02-20 07:41:11 -05:00
unknown
fc86a1f4af Make tokudb working with 10.1 2014-02-20 09:28:18 +02:00
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
Rich Prohaska
2e7e13af2d #185 fix out of range read from uint3korr 2014-02-14 10:11:51 -05:00
Rich Prohaska
a8ca3e2ab3 #184 fix mismatch between table_share->key_parts and the number really there. mysql increments key_parts for the extended keys. 2014-02-13 20:13:36 -05:00
Rich Prohaska
bc07ccf8a7 #182 fix dbt array memory leak 2014-02-12 15:07:44 -05:00
Rich Prohaska
d06d73633d #181 fix memory leak of the inserted bytes partitioned counter 2014-02-11 14:24:02 -05:00
Rich Prohaska
dfe4872524 #180 avoid thd_proc_info pointing to invalid info (like when a function sets proc info with a local variable and then returns) 2014-02-07 12:58:10 -05:00
Rich Prohaska
b7e362e48c #178 clean up hatoku_defines.h a bit. it is a mess. 2014-02-07 12:07:53 -05:00
Rich Prohaska
04b8c2f63c #177 disable inline alter table drop default, add key, drop key, rename column when null bytes changed 2014-02-05 15:38:06 -05:00
Michael Widenius
0557de84f1 Marked some very slow tokudb test with --big_test 2014-02-05 19:25:18 +02:00
Michael Widenius
10001c8e4f Automatic merge 2014-02-05 19:23:11 +02:00
Sergei Golubchik
3b3a7a524e test fixes 2014-02-03 22:28:35 +01:00
Rich Prohaska
be8aa787db #175 compare enums using eq_def 2014-02-03 16:12:57 -05:00
Sergei Golubchik
72c20282db 10.0-base merge 2014-02-03 15:22:39 +01:00
Sergei Golubchik
59d9d08e2b 5.5 merge 2014-02-01 00:54:03 +01:00
Rich Prohaska
8e26447aa3 #172 simplify test case for -30994 leak 2014-01-31 14:00:23 -05:00
Rich Prohaska
2ea52a40ca #172 map ydb errors to handler errors in prelocking functions 2014-01-29 14:03:00 -05:00
Michael Widenius
2410ecac60 Fixed compiler warnings
Made stopping of slave more robust
Fixed tokudb test cases that gave different results between runs
Speed up some slow tokudb tests by adding begin ... commit


mysql-test/extra/rpl_tests/rpl_stop_slave.test:
  Ensure that slaves are properly synced before they are stopped.
  (Otherwise some tests results will be different between runs)
storage/innobase/buf/buf0buf.cc:
  Fixed compiler warning
storage/tokudb/mysql-test/tokudb/r/cluster_filter_unpack_varchar_and_int_hidden.result:
  Test case could be solved with index or range scan.
storage/tokudb/mysql-test/tokudb/t/cluster_filter_unpack_varchar_and_int_hidden.test:
  Test case could be solved with index or range scan.
storage/tokudb/mysql-test/tokudb_bugs/r/5733_innodb.result:
  Speed up test by adding begin...commit
storage/tokudb/mysql-test/tokudb_bugs/r/5733_tokudb.result:
  Speed up test by adding begin...commit
storage/tokudb/mysql-test/tokudb_bugs/t/5733_innodb.test:
  Speed up test by adding begin...commit
storage/tokudb/mysql-test/tokudb_bugs/t/5733_tokudb.test:
  Speed up test by adding begin...commit
storage/tokudb/mysql-test/tokudb_mariadb/r/compression.result:
  Added drop table (safety)
storage/tokudb/mysql-test/tokudb_mariadb/t/compression.test:
  Added drop table (safety)
2014-01-29 15:41:10 +02:00
Sergei Golubchik
ebaac51c2f mtr: check that tests clean up debug_sync. fix tests that didn't. 2014-01-27 12:10:53 +01:00
Michael Widenius
46c4f3a785 speed up tokudb tests by adding begin/commit around insert loops
Marked very long running tests as big_test
2014-01-26 20:46:15 +02:00
Rich Prohaska
2c1dff7228 #171 add a field types array to classify types into fixed, variable and blob types 2014-01-24 15:33:19 -05:00
Rich Prohaska
459aa71b9c #171 clean up tokudb comparison APIs a bit 2014-01-24 13:54:16 -05:00
Michael Widenius
7335c6f2a4 Fixed failures in tokudb test cases
storage/tokudb/mysql-test/tokudb_bugs/r/5733_innodb.result:
  Speed up test
storage/tokudb/mysql-test/tokudb_bugs/r/5733_tokudb.result:
  Speed up test
  Fix results
storage/tokudb/mysql-test/tokudb_bugs/r/xa-6.result:
  Ensure that mysql.proc is properly closed
storage/tokudb/mysql-test/tokudb_bugs/t/5733_innodb.test:
  Speed up test
storage/tokudb/mysql-test/tokudb_bugs/t/5733_tokudb.test:
  Speed up test
  Accept both index and range scan for one query
storage/tokudb/mysql-test/tokudb_bugs/t/xa-6.test:
  Ensure that mysql.proc is properly closed
2014-01-24 14:30:19 +02:00
Rich Prohaska
3ec9648f3d Tokutek/mysql56#54 fix to tokudb::external_lock for the alter table assert bug, plus a rewrite of the tokudb debug tracing 2014-01-22 08:54:46 -05:00
Sergei Golubchik
e8f6f40292 clarify plugin-load usage in tokudb.cnf file 2014-01-21 17:20:51 +01:00
Rich Prohaska
babd7525a9 #169 simplify the tokudb config for mariadb 5.5 2014-01-20 14:49:39 -05:00
Rich Prohaska
4a9dccc9ac #168 remove obsolete is_fast_alter_running 2014-01-15 17:28:56 -05:00
Rich Prohaska
0d6c69d760 #167 use a serializable cursor to check for PK duplicate 2014-01-15 11:51:10 -05:00
Rich Prohaska
907eaff9e4 #167 ignore dictionary too new errors 2014-01-14 15:57:30 -05:00
Rich Prohaska
c258157515 #166 pretty print external lock type 2014-01-14 15:06:07 -05:00
Rich Prohaska
c7836bb38d #166 add this handler to debug enter and return 2014-01-14 14:00:58 -05:00
Rich Prohaska
3a789b41f6 #159 set last_auto_increment from create info 2014-01-08 08:01:40 -05:00
Rich Prohaska
1e3a1b0f52 #158 support slave exec mode idempotent 2013-12-27 08:20:57 -05:00
Rich Prohaska
876b3a7909 #148 change the default of tokudb_hide_default_row_format to ON 2013-12-22 16:03:10 -05:00
Sergei Golubchik
ffa8c4cfcc Percona-Server-5.6.14-rel62.0 merge
support ha_innodb.so as a dynamic plugin.
* remove obsolete *,innodb_plugin.rdiff files
* s/--plugin-load=/--plugin-load-add=/
* MYSQL_PLUGIN_IMPORT glob_hostname[]
* use my_error instead of push_warning_printf(ER_DEFAULT)
* don't use tdc_size and tc_size in a module

update test cases (XtraDB is 5.6.14, InnoDB is 5.6.10)
* copy new tests over
* disable some tests for (old) InnoDB
* delete XtraDB tests that no longer apply

small compatibility changes:
* s/HTON_EXTENDED_KEYS/HTON_SUPPORTS_EXTENDED_KEYS/
* revert unnecessary InnoDB changes to make it a bit closer to the upstream

fix XtraDB to compile on Windows (both as a static and a dynamic plugin)

disable XtraDB on Windows (deadlocks) and where no atomic ops are available (e.g. CentOS 5)


storage/innobase/handler/ha_innodb.cc:
  revert few unnecessary changes to make it a bit closer to the original InnoDB
storage/innobase/include/univ.i:
  correct the version to match what it was merged from
2013-12-22 17:06:50 +01:00
Rich Prohaska
6e3e7fb5fc register the tokudb_alter_print_error variable 2013-12-20 09:14:56 -05:00
Rich Prohaska
8bcf6c5379 add a session variable that controls whether or not alter table errors are printed to stderr 2013-12-20 07:28:08 -05:00
Rich Prohaska
295947c6f8 #157 fix tokudb::index_next_same error handling 2013-12-18 16:04:05 -05:00
Sergey Petrunya
41208f6e5b MDEV-5426: Assertion `toku_ft_needed_unlocked(src_h)' failed (errno=11) ...
- the problem was caused by EXPLAIN INSERT SELECT. For that statement, 
  the code would call select_insert::prepare2(), which would call 
  handler->ha_start_bulk_insert().  The corresponding handler->end_bulk_insert() 
  call is made from select_insert::send_eof or select_insert::abort_result_set 
  which are never called for EXPLAIN INSERT SELECT.
- Fixed by re-using approach of mysql-5.6: don't call ha_start_bulk_insert() if 
  we are in EXPLAIN.
2014-01-21 14:02:56 +04:00
Sergei Golubchik
50808b30d2 MDEV-5396 Assertion `Handlerton: r==0 ' failed (errno=0) on EXPLAIN with TokuDB tables
Fix EXPLAIN and CREATE SELECT to join_free() (and, thus, ha_index_end())
before ha_commit_trans().
2013-12-17 17:26:54 +01:00
Rich Prohaska
5c147cc943 Tokutek/mysql56#42 turn on HA_PRIMARY_KEY_REQUIRED_FOR_POSITION to fix failing partition tests on mysql 5.6 2013-12-16 07:47:36 -05:00
Sergei Golubchik
d28d3ba40d 10.0-base merge 2013-12-16 13:02:21 +01:00
Sergei Golubchik
6bf10fac44 5.5 merge 2013-12-15 15:57:26 +01:00
Sergei Golubchik
39a8d7965d don't run tokudb tests for --embedded by default 2013-12-15 15:55:15 +01:00
Sergei Golubchik
47b615d84b Fix tokudb.hotindex-insert-bigchar failure in buildbot.
This test needs at least 320M for tokudb-max-lock-memory.
Normally tokudb-max-lock-memory is auto-sized to be 1/16th
of the available RAM size, and many our test VMs have 4G of RAM.
2013-12-15 11:31:57 +01:00
Rich Prohaska
484c30bdf2 #152 fix MDEV-5399 2013-12-14 10:05:22 -05:00
Rich Prohaska
503863aeac remove junk debug code 2013-12-12 16:23:15 -05:00
Rich Prohaska
5172855d16 #150 cleanup cursor when a txn is retired 2013-12-12 16:14:12 -05:00
Sergei Golubchik
5313e00199 fix tokudb tests that fail in --ps-protocol
https://github.com/Tokutek/ft-engine/issues/153
2013-12-12 14:58:44 +01:00
Sergei Golubchik
976e242c78 update tokudb version. mask tests that are broken there. 2013-12-12 11:42:00 +01:00
Rich Prohaska
521cf40b4e port to mysql 5.6.15 2013-12-11 15:47:25 -05:00
Rich Prohaska
2924878769 #141 fix another open close race 2013-12-10 17:16:57 -05:00
Rich Prohaska
12e3e629a4 #141 fix table open and close race 2013-12-09 15:55:53 -05:00
Rich Prohaska
610474f974 #150 cleanup indexing cursor when a txn is retired 2013-12-08 16:36:37 -05:00
Rich Prohaska
b65e6e3d74 #141 redo table open and close locking to avoid table opening pileup 2013-12-05 11:59:34 -05:00
Rich Prohaska
7e71d5fd62 #142 remove tokudb meta dictionary 2013-12-03 13:50:34 -05:00
Rich Prohaska
dde0c43553 #142 remove tokudb_meta_mutex 2013-12-03 13:34:21 -05:00
Rich Prohaska
11e4b8b84c Tokutek/mysql#10 use DB_TYPE_TOKUDB in mysql 5.5 2013-12-02 14:49:08 -05:00
Rich Prohaska
affe5ac600 #15 set the tokudb plugin type to DB_TYPE_TOKUDB 2013-12-02 12:46:28 -05:00
Rich Prohaska
4c988a01bc #17 support mariadb clustering option 2013-12-01 17:56:16 -05:00
Rich Prohaska
2df023d3dd Tokutek/mariadb#12 rebase to mariadb-5.5.34 2013-11-28 09:51:21 -05:00
Sergei Golubchik
c2839e2cf2 mysql-test: allow suite.pm add its suite to the default list.
run tokudb suites by default.
mark big and slow tests tokudb.change_column_all_1000_1 and
tokudb.change_column_all_1000_10 test as --big
2013-11-27 21:58:36 +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
Rich Prohaska
215d477904 #147 change column names in the tokudb_file_map 2013-11-22 06:33:16 -05:00
Rich Prohaska
3840ef6b44 #87 grab exclusive MDL in the tokudb alter table commit function 2013-11-21 17:42:54 -05:00
Sergei Golubchik
98c609248b set CMP0022 policy to avoid cmake warnings 2013-11-20 11:50:27 +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
466b63aa48 #146 add debug trace to tokudb info schema tables 2013-11-14 21:32:38 -05:00
Sergei Golubchik
4157185f24 10.0-base merge 2013-11-13 23:03:48 +01:00
Sergei Golubchik
bdd883ed9a 5.5. merge 2013-11-13 14:07:58 +01:00
Sergei Golubchik
fb46f35f05 mark ft-index cmake variables as advanced 2013-11-11 17:20:10 +01:00
Sergei Golubchik
db635ab590 MDEV-5124 cmake failure when fullhostname is not resolved
expand fullhostname inside the string, to have an empty string, not nothing,
when fullhostname is not defined
2013-11-11 09:30:48 +01:00
Sergei Golubchik
3d57c343e5 MDEV-5038 put tokudb into the server package 2013-11-11 09:30:35 +01:00
Rich Prohaska
fb6d749f2f start port of tokudb to mariadb 10 2013-11-10 16:45:11 -05:00
Rich Prohaska
b8d7ee9795 basic tokudb running in mysql 5.7 2013-11-09 16:55:12 -05:00
Rich Prohaska
76a9489f9b Tokutek/mysql56#5 optimize read only transactions 2013-11-04 09:45:42 -05:00
Sergei Golubchik
97bbf3af34 update tokudb test results 2013-11-01 20:31:27 +01:00
Rich Prohaska
97f1989efb compile when tokudb row format compression types are not defined 2013-10-24 08:30:19 -04:00
Rich Prohaska
a8af167fe3 tokutek/mysql56#23 turn on extended keys for tokudb 2013-10-23 12:30:07 -04:00
Zardosht Kasheff
62abb74a6c refs Tokutek/mongo#645, fix call to hot_optimize 2013-10-21 16:22:01 -04:00
Rich Prohaska
43dec55024 #131 make fast and small aliases for quicklz and lzma 2013-10-18 15:25:37 -04:00
Rich Prohaska
dc4e26d618 #131 make small and fast aliases for quicklz and lzma 2013-10-18 13:01:59 -04:00
Rich Prohaska
09ce3fad57 #128 change the comment on the lock timeout session variable 2013-10-17 11:50:57 -04:00
Rich Prohaska
056b8ee352 #127 make tokudb_loader_memory_size a session variable 2013-10-15 10:29:48 -04:00
Rich Prohaska
d7e467295e #128 change tokudb_lock_timeout to session variable 2013-10-10 16:25:57 -04: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
1e46d54027 tokutek/ft-engine#94 tokutek/ft-index#80 configure an upper bound on loader memory reservations
Merge branch 'loadermem80'
2013-10-07 08:38:50 -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
e0ecc3f2f5 #121 change default basement node size to 64KB from 128KB 2013-10-04 16:05:34 -04:00
Rich Prohaska
26ccf76d45 tokutek/ft-index#80 tokutek/ft-engine#94 add tokudb_loader_memory_size system variable that controls the size of each loader memory size 2013-10-03 13:56:57 -04:00
Rich Prohaska
2277254793 #90 set tokudb_last_lock_timeout to a string parsable by the python json module 2013-10-02 12:14:14 -04:00
Rich Prohaska
e9084aaaf2 tokutek/ft-engine#111 tokutek/ft-index#74 merge the tokumx error message for transparent huge pages into tokudb 2013-09-30 13:18:07 -04:00
Rich Prohaska
c8fc4d662b #80 default compress tokudb bulk loader temp files 2013-09-30 11:08:53 -04:00
Rich Prohaska
e99cb96b9d #86 tokudb lock tree info schema 2013-09-27 13:43:43 -04:00
Rich Prohaska
a9caa21f48 remove cruft 2013-09-27 13:14:23 -04:00
Rich Prohaska
f79b8486a2 #104 default capture lock timeout conflict info into tokudb_last_lock_timeout variable 2013-09-27 09:43:39 -04:00
Rich Prohaska
3152434eeb #92 add compiler and cmake checks from mariadb 2013-09-26 12:05:54 -04:00
Rich Prohaska
9e67557d89 #104 write frm for existing tables before the txn is committed 2013-09-26 09:53:50 -04:00
unknown
9d83468e78 merge 5.5 -> 10.0-base 2013-09-25 21:07:06 +03: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
c939c606e8 #97 use ${ZLIB_LIBRARY} 2013-09-24 10:26:27 -04:00
Rich Prohaska
55ef63ac00 #99 reduce analyze time to 5 seconds (from 60 seconds). this will probably allow > 1M rows to be in the cardinality computation 2013-09-23 16:13:40 -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
Michael Widenius
5f0c91998a TokuDB fixes:
- Better error message when using huge pages
- Fixed link error
- Test suite should run even on system with huge pages

storage/tokudb/ft-index/cmake_modules/TokuThirdParty.cmake:
  Fixed that linking works on systems that uses lib64
storage/tokudb/ft-index/portability/huge_page_detection.cc:
  Better error message
storage/tokudb/mysql-test/rpl/suite.pm:
  Test suite should run even on system with huge pages
storage/tokudb/mysql-test/tokudb/suite.pm:
  Test suite should run even on system with huge pages
2013-09-23 20:17:03 +03: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
unknown
e5746665c9 merge 10.0-base -> 10.0 2013-09-26 21:20:15 +03:00
Sergei Golubchik
828be0d9ba TokuuDB: add handlerton::discover_table_existence() method 2013-09-25 19:42:28 +02: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
181b13d926 simplify CMakeLists.txt for cassandra/connect engines
now, if the dynamic plugin puts itself in a distinct component, then
* ${plugin}.cnf file is generated and installed automatically
* a separate RPM is generated automatically
* necessary FILELIST/PROVIDES/OBSOLETES/REQUIRES are filled in automatically
2013-09-25 19:32:14 +02:00
Michael Widenius
26474cd204 Fixed issue where tokudb xz used lib64 in some cases, which caused a link failure 2013-09-23 20:25:14 +03:00
Rich Prohaska
9c47f41e3b #81 cleanup thread variables a bit 2013-09-20 09:53:15 -04:00
Sergei Golubchik
2fe0836eed 5.5.33a merge 2013-09-20 11:29:01 +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
002d451e7c #81 denormalize dname in tokudb_file_map 2013-09-19 14:24:13 -04:00
Sergei Golubchik
43f4e364f0 MDEV-5021 tokudb ft-index libraries are build with -DWITHOUT_TOKUDB=1 2013-09-19 20:19:10 +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
Leif Walsh
a4f82b7d99 added -flto -fuse-linker-plugin to RelWithDebInfo #77 2013-09-17 13:02:58 -04:00
unknown
28a8d40c22 Tokudb made compilig. 2013-09-23 12:17:18 +03:00
Sergey Vojtovich
8e9cead365 Fixed tokudb with ccache build failure. 2013-09-17 17:37:03 +04:00
Rich Prohaska
de7b04efff refs #82 delete the user data information schemas 2013-09-17 08:04:02 -04:00
Rich Prohaska
770533e2dd refs #83 cond compile gdb on error feature 2013-09-17 07:43:22 -04:00