summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* update plugin API versions in testsSergei Golubchik2013-07-132-4/+4
|
* SHA1 serviceSergei Golubchik2013-07-1313-25/+136
| | | | (because mysql_ssl library is built with -fvisibility=hidden)
* Fix compiler warning - using "const" twice for CHARSET_INFO.Vladislav Vaintroub2013-07-132-6/+6
| | | | CHARSET_INFO is already typedef'ed as "const" strúcture, thus "const CHARSET_INFO" generates multiple type modifier warning.
* Fix compile error on Windows.Vladislav Vaintroub2013-07-131-3/+2
|
* sys_var suite passesSergei Golubchik2013-07-1377-7023/+3659
|
* fix the maria suiteSergei Golubchik2013-07-126-18/+21
| | | | | | | sql/handler.h: not "unused" sql/sql_table.cc: move this check where it is in 10.0
* update handler.* testsSergei Golubchik2013-07-125-18/+18
|
* update test resultsSergei Golubchik2013-07-125-111/+0
|
* federated.partition test - fix the bad mergeSergei Golubchik2013-07-121-0/+3
|
* binlog_old_versions.testSergei Golubchik2013-07-121-2/+2
|
* archive.test and othersSergei Golubchik2013-07-125-48/+25
|
* now results is correctunknown2013-07-121-2/+3
|
* fix lost vcol checks in sql_table.cc,Sergei Golubchik2013-07-1214-20/+35
| | | | | remove unused FIELD_IS_xxx flags change vcol tests to use innodb, not xtradb.
* restore ha_example::check_if_incompatible_data(), ↵Sergei Golubchik2013-07-124-0/+104
| | | | | | | create_info->fields_option_struct, create_info->indexes_option_struct lost in the merge. add test cases.
* Merge the following patch from MySQL 5.6.10, in order to make ↵unknown2013-07-117-26/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | perfschema.binlog_* tests work. revno: 4559 committer: Marc Alff <marc.alff@oracle.com> branch nick: mysql-5.6-bug14741537-v4 timestamp: Thu 2012-11-08 22:40:31 +0100 message: Bug#14741537 - MYSQL 5.6, GTID AND PERFORMANCE_SCHEMA Before this fix, statements using performance_schema tables: - were marked as unsafe for replication, - did cause warnings during execution, - were written to the binlog, either in STATEMENT or ROW format. When using replication with the new GTID feature, unsafe warnings are elevated to errors, which prevents to use both the performance_schema and GTID together. The root cause of the problem is not related to raising warnings/errors in some special cases, but deeper: statements involving the performance schema should not even be written to the binary log in the first place, because the content of the performance schema tables is 'local' to a server instance, and may differ greatly between nodes in a replication topology. In particular, the DBA should be able to configure (INSERT, UPDATE, DELETE) or flush (TRUNCATE) performance schema tables on one node, without affecting other nodes. This fix introduces the concept of a 'non-replicated' or 'local' table, and adjusts the replication logic to ignore tables that are not replicated when deciding if or how to log a statement to the binlog. Note that while this issue was detected using the performance_schema, other tables are also affected by the same problem. This fix define as 'local' the following tables, which are then never replicated: - performance_schema.* - mysql.general_log - mysql.slow_log - mysql.slave_relay_log_info - mysql.slave_master_info - mysql.slave_worker_info Existing behavior for information_schema.* is unchanged by this fix, to limit the scope of changes. Coding wise, this fix implements the following changes: 1) Performance schema tables are not using any replication flags, since performance schema tables are not replicated. 2) In open_table_from_share(), tables with no replication capabilities (performance_schema.*), tables with TABLE_CATEGORY_LOG (logs) and tables with TABLE_CATEGORY_RPL_INFO (replication) are marked as non replicated, with TABLE::no_replicate 3) A new THD member, THD::m_binlog_filter_state, indicate if the current statement is written to the binlog (normal cases for most statements), or is to be discarded (because the statements affects non replicated tables). 4) In THD::decide_logging_format(), the replication logic is changed to take into account non replicated tables. Statements that affect only non replicated tables are executed normally (no warning or errors), but not written to the binlog. Statements that affect (i.e., write to) a replicated table while also using (i.e., reading from or writing to) a non replicated table are executed normally in MIXED and ROW binlog format, and cause a new error in STATEMENT binlog format. THD::decide_logging_format() uses THD::m_binlog_filter_state to indicate if a statement is to be ignored, when writing to the binlog. 5) In THD::binlog_query(), statements marked as ignored are not written to the binary log. 6) For row based replication, the existing test for 'table->no_replicate', has been moved from binlog_log_row() to check_table_binlog_row_based().
* fix upgrade.test - update from 5.6Sergei Golubchik2013-07-122-2/+8
|
* merge bugfuxes for sp-error.testSergei Golubchik2013-07-126-5/+1890
|
* changes corresponts to changes in 5.6unknown2013-07-121-7/+24
|
* temporal-related changes. don't apply sql_mode flags on the lower level ↵Sergei Golubchik2013-07-119-30/+35
| | | | | | | | (str_to_datetime), do it on the upper level, in items that return temporal values. update tests results to match 5.6 better and to fix old bugs.
* fix truncate_coverage.test: update from 5.6Sergei Golubchik2013-07-112-5/+5
|
* fix signal_demo3.test: fix a typo in the merge, and update results to match 5.6Sergei Golubchik2013-07-112-11/+11
|
* fix merge.test: online alter table support for MERGE tables, reallySergei Golubchik2013-07-114-14/+45
|
* fix create.test: update the results, don't restore the incorrectly merged ↵Sergei Golubchik2013-07-112-15/+13
| | | | | | feature. it'll go away in the next 10.0 merge
* remove unused functionSergei Golubchik2013-07-111-30/+0
|
* fix alter_table.test: remove old assert as it was removed from 5.6,Sergei Golubchik2013-07-113-7/+9
| | | | add extra_func code from 5.5, that was lost in a merge
* added lost part about preopened temporary tablesunknown2013-07-111-2/+13
|
* MDEV-4710 Merge Performance Schema test cases from MySQL 5.6.10unknown2013-07-111-30/+1
| | | | mysql 5.6.10 's part_table_io.result passes the test.
* fix cast.test, select.test, select_jcl6.test: update results after ↵Sergei Golubchik2013-07-103-5/+19
| | | | strict_date_checking=1
* fix plugin.test - bad merge in TABLE_SHARE::destroy, ha_share must be ↵Sergei Golubchik2013-07-102-9/+9
| | | | deleted before the plugin
* fix func_time.test - WEEK(), WEEKDAY(), WEEKOFYEAR() must require ↵Sergei Golubchik2013-07-101-3/+3
| | | | TIME_NO_ZERO_IN_DATE
* fix select_pkeycache: update results after strict_date_checking=1Sergei Golubchik2013-07-101-1/+5
|
* fix status.test - don't use lock_tables_precheck() for SHOW PROC STATUS,Sergei Golubchik2013-07-101-6/+2
| | | | it shouldn't require LOCK_TABLE_ACL
* fix innodb_mysql_sync test - update from 5.6Sergei Golubchik2013-07-102-28/+485
|
* fix flush_read_lock - update the test and results form 5.6Sergei Golubchik2013-07-102-56/+15
|
* clearly mark unused error messages as suchSergei Golubchik2013-07-101-35/+11
|
* fix for alter_table_online test.Sergei Golubchik2013-07-106-81/+82
| | | | | Map ALTER ONLINE TABLE to ALTER TABLE ... ALGORITHM=INPLACE. Make MERGE engine to announce its support of inplace operations.
* MDEV-4710 Merge Performance Schema test cases from MySQL 5.6.10unknown2013-07-1052-192/+726
| | | | | | | | | Merged all perfschema tests, except for the following: perfschema.part_table_io perfschema.binlog_mix perfschema.binlog_row perfschema.binlog_stmt perfschema.statement_digest_consumers perfschema.statement_digest privilege.inc privilege.result
* MDEV-4758 10.0-monty tree: ALTER TABLE CHANGE COLUMN doesn't drop EITS statsSergei Golubchik2013-07-094-24/+77
| | | | | add missing rename_column_in_stat_tables(), delete_statistics_for_column(), delete_statistics_for_index(), rename_table_in_stat_tables() calls.
* cmake: don't check for the compiler on every invocation of ↵Sergei Golubchik2013-07-091-13/+12
| | | | | | RESTRICT_SYMBOL_EXPORTS(), do it only once
* commit_1innodb.test: update results from 5.6Sergei Golubchik2013-07-092-4/+4
|
* fix mysql_client_test failure, sometimes we do warnings differentlySergei Golubchik2013-07-091-3/+2
|
* Cought errors are not shownunknown2013-07-091-43/+1
|
* 10.0-monty: trivial test result updatesSergey Petrunya2013-07-096-57/+57
|
* Trivial test result updates.Sergey Petrunya2013-07-092-5/+5
|
* Fix merge.test failureSergey Petrunya2013-07-092-2/+10
| | | | | | | | - Problem: mysql_admin_table() calls open_temporary_tables(). This causes assertion failure, because mysql_execute_command() has already called open_temporary_tables() - Solution: call close_thread_tables() at the start of mysql_admin_table(), like mysql-5.6 does
* MergeIgor Babaev2013-07-081-9/+0
|\
| * Automatic mergeSergey Petrunya2013-07-081-9/+0
| |\
| | * Fix assert failures in main.merge test (line 234) and main.merge_mmap (line 44)Sergey Petrunya2013-07-081-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - After the merge from mysql-5.6, open_tables() did not call open_and_process_table() for temporary table. The logic was that temporary tables were already opened when mysql_execute_command() has called open_temporary_tables(). This worked for the most part, except for temporary tables of type MERGE. for which open_and_process_table() must call table->file->extra(HA_EXTRA_ADD_CHILDREN_LIST). Failure to make this call resulted in crash further in execution. tables->table->file->extra(HA_EXTRA_ADD_CHILDREN_LIST)
* | | Fixed all remaining failures in partition tests. Igor Babaev2013-07-088-131/+59
|/ / | | | | | | Commented out the test case for bug 50036 as it was done in mysql-5.6.10.
* | MergeIgor Babaev2013-07-089-12/+12
|\ \ | |/