- 19 Nov, 2015 3 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
feedback was bzero-ing thd->status_vars.memory_used, but server was asserting the correct value of it
-
- 18 Nov, 2015 7 commits
-
-
Sergei Golubchik authored
-
Sergei Petrunia authored
RENAME TABLE code tries to update EITS statistics. It hung, because it used an index on (db_name,table_name) to find the table, and attempted to update these values at the same time. The fix is do what SQL UPDATE statement does when updating index that it's used for scanning: - First, buffer the rowids of rows to be updated, - then make the second pass to actually update the rows Also fixed the call to rename_table_in_stat_tables() in sql_rename.cc to pass the correct new database (before, it passed old db_name so cross- database renames were not handled correctly). Variant #2, with review feedback addressed.
-
Monty authored
rpl/rpl_mdev382 ; Wrong replace in show_binlog_events2.inc binlog/database ; Different error on Solaris if file exists mroonga/repair_table_no_index_file ; Different system error on Solaris partition_not_blackhole ; Different error on Solaris partition_myisam ; Different error on Solaris Some other failures in mroonga was because have_32bit.inc didn't correctly detect 64 bits on Solaris. Fixed using DEFAULT_MACHINE instead of MACHINE_TYPE for Sys_version_compile_machine.
-
Monty authored
-
Sergei Golubchik authored
feedback plugin needs to set tables->select_lex properly
-
Sergei Golubchik authored
make it possible to change feedback plugin wait intervals * only in debug builds * and force the feedback report to be ignored update the test to use this feature
-
Nirbhay Choubey authored
In domain ID based filtering, a flag is used to filter-out the events that belong to a particular domain. This flag gets set when IO thread receives a GTID_EVENT for the domain on filter list and its reset at the last event in the GTID group. The resetting, however, was wrongly done before the decision to write/filter the event from relay log is made. As a result, the last event in the group will always pass through the filter. Fixed by deferring the reset logic. Also added a test case.
-
- 17 Nov, 2015 6 commits
-
-
Vladislav Vaintroub authored
-
Alexey Botchkov authored
Turn the 'abort_on_warning' on for assigning value to fields.
-
Vladislav Vaintroub authored
-
Monty authored
-
Oleksandr Byelkin authored
fix it only for local operations.
-
Jan Lindström authored
-
- 16 Nov, 2015 11 commits
-
-
Sergei Golubchik authored
in *BSD family alloca() is in stdlib.h
-
Sergei Golubchik authored
first add mroonga plugin (MYSQL_ADD_PLUGIN) then add dependent targets (add_subdirectory(groonga))
-
Sergei Golubchik authored
first add tokudb plugin (MYSQL_ADD_PLUGIN) then add dependent targets (ADD_SUBDIRECTORY(ft-index))
-
Sergei Golubchik authored
remove ~15 years old print_lock_error() function, use handler::print_error() instead
-
Sergei Golubchik authored
-
Sergei Golubchik authored
The workaround is not needed anymore - mariadb requires bison 2.x. And removing all __attribute__ in sql_yacc.yy breaks new DBUG_ENTER.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
when func1 calls func2 from DBUG_RETURN, dbug shows the trace as | > func1 | < func1 | > func2 | < func2 because DBUG_LEAVE happens before func2(). Change that to invoke DBUG_LEAVE when the local variable goes out of scope. This uses gcc specific __attribute__((cleanup)).
-
Sergei Golubchik authored
Don't mark the SEQUENCE engine as XA-capable. The engine never registers itself for any transaction, so it doesn't matter whether it is XA-capable or not. The only effect of being "XA-capable" is breaking the "number of XA-capable engines" check of TC_LOG_MMAP.
-
Sergei Golubchik authored
remove the test that depended on the current cracklib dictionary
-
Sergei Golubchik authored
because buildbot config invokes BUILD/compile-solaris-amd64 with the --extra-args=--without-plugin-innodb argument, but BUILD/compile-solaris-amd64 doesn't take arguments and doesn't invoke configure.pl, so this extra-args is lost.
-
- 15 Nov, 2015 1 commit
-
-
Oleksandr Byelkin authored
Accepted patch of Georg: do not setup Differ-Hellman parameters on client.
-
- 14 Nov, 2015 3 commits
-
-
Kristian Nielsen authored
-
Kristian Nielsen authored
-
Monty authored
-
- 13 Nov, 2015 9 commits
-
-
Monty authored
Bug was that ReplSemiSyncMaster::commitTrx() was waiting on a condition for state to change, but didn't take into account that one could have disabled semi-sync during the wait.
-
Monty authored
-
Kristian Nielsen authored
Conflicts: sql/sql_parse.cc
-
Kristian Nielsen authored
-
Kristian Nielsen authored
-
Kristian Nielsen authored
Conflicts: mysql-test/suite/perfschema/r/stage_mdl_global.result sql/rpl_rli.cc sql/sql_parse.cc
-
Kristian Nielsen authored
-
Elena Stepanova authored
-
Kristian Nielsen authored
Problem is that FLUSH TABLES WITH READ LOCK first blocks threads from starting new commits, then waits for running commits to complete. But in-order parallel replication needs commits to happen in a particular order, so this can easily deadlock. To fix this problem, this patch introduces a way to temporarily pause the parallel replication worker threads. Before starting FTWRL, we let all worker threads complete in-progress transactions, and then wait. Then we proceed to take the global read lock. Once the lock is obtained, we unpause the worker threads. Now commits are blocked from starting by the global read lock, so the deadlock will no longer occur.
-