Commit graph

1252 commits

Author SHA1 Message Date
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
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
Sergei Golubchik
99a0b5464d merge ft-index and ft-engine as of 7.1.5 2014-03-18 09:02:57 +01: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
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