- 21 Jan, 2015 3 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
- 19 Jan, 2015 18 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
MDEV-6220 mysqldump will not backup database with --flush-logs parameter and log_error my.cnf parameter defined some checks were "if [ -n "$err_log" ]", others were "if [ $want_syslog -eq 0 ]", so when both are set, error log file was only partially initialized. To avoid this ambiguity we reset want_syslog when error log file is used.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
correct the check for PLUGIN_VAR_STR
-
Sergei Golubchik authored
mtr internally does the following: 1. $default_vardir=.... 2. $opt_vardir=$default_vardir unless $opt_vardir; 3. $opt_vardir=realpath $opt_vardir unless IS_WINDOWS 4. if ($opt_vardir eq $default_vardir) { .... use /dev/shm ... } thus we have to realpath $default_datadir too, otherwise the comparison logic might be broken
-
Sergei Golubchik authored
-
Sergei Golubchik authored
Using a boolean flag for 'there is a RESET MASTER in progress' doesn't work very well for multiple concurrent RESET MASTER statements. Changed to a counter.
-
Sergei Golubchik authored
MDEV-7299 Assertion `m_status == DA_ERROR || m_status == DA_OK' fails on concurrent execution of DDL, queries from I_S, and KILL QUERY Fix MDL to report an error when a wait was killed, but preserve the old documented behavior of GET_LOCK() where killing it is not an error. Also remove race conditions in main.create_or_replace test
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
revert the code in filesort that conditionally updated 'found_rows', rely on filesort_limit_arg instead.
-
Sergei Golubchik authored
MDEV-7186 get_lock() crashes on Windows, main.sp_notembedded and main.trigger_notembedded fail in buildbot user locks are not affected by lowed_case_table_names
-
Sergei Golubchik authored
change the test not to use absolute values of Key_blocks_unused.
-
Sergei Golubchik authored
reset KILL_QUERY when a new query execution is just about to be started
-
Sergei Golubchik authored
copy the workaround from 5.5
-
Sergei Golubchik authored
-
Jan Lindström authored
This patch ports the work that facebook has performed to make innochecksum handle compressed tables. the basic idea is to use actual innodb-code to perform checksum verification rather than duplicating in innochecksum.cc. to make this work, innodb code has been annotated with lots of #ifndef UNIV_INNOCHECKSUM so that it can be compiled outside of storage/innobase. A new testcase is also added that verifies that innochecksum works on compressed/non-compressed tables. Merged from commit fabc79d2ea976c4ff5b79bfe913e6bc03ef69d42 from https://code.google.com/p/google-mysql/ The actual steps to produce this patch are: take innochecksum from 5.6.14 apply changes in innodb from facebook patches needed to make innochecksum compile apply changes in innochecksum from facebook patches add handcrafted testcase The referenced facebook patches used are: https://github.com/facebook/mysql-5.6/commit/91e25120e75272db4cdbc07d0e45877d9dea5715 https://github.com/facebook/mysql-5.6/commit/847fe76ea5239b09fa361b023c56e6be76d32046 https://github.com/facebook/mysql-5.6/commit/1135628a5a9b3412621b93233478f3804bcef51a https://github.com/facebook/mysql-5.6/commit/4dbf7c240ce2f08b7d6572d9452c9779ce90641c
-
- 18 Jan, 2015 3 commits
-
-
Sergei Golubchik authored
-
Michael Widenius authored
mysql-test/suite/maria/insert_select.result: Added test case mysql-test/suite/maria/insert_select.test: Added test case mysys/thr_lock.c: Ensure we don't allow concurrent_insert when a read_no_write lock is in use
-
Michael Widenius authored
Stage "Filling schema table" is now properly shown in 'show processlist' mysys/mf_keycache.c: Simple cleanup with more comments sql/lock.cc: Return to original stage after mysql_lock_tables Made 'Table lock' as a true stage sql/sql_show.cc: Restore original stage after get_schema_tables_result
-
- 17 Jan, 2015 4 commits
-
-
Alexander Barkov authored
- The code that tested if WHERE expr=value AND expr=const can be rewritten to: WHERE const=value AND expr=const was incomplete in case of STRING_RESULT. - Moving the test into a new function, to reduce duplicate code.
-
Vicențiu Ciorbaru authored
FULLTEXT indexes do not permit index first lookups. By calling: ha_index_first() with a garbage parameter, random data gets overwritten that causes the table->field array to be corrupted. Subsequently, when the field array is accessed, a segfault occurs. By not allowing index statistics for FULLTEXT indexes, the problem is resolved.
-
Alexander Barkov authored
Fixing a wrong assymetric code in Arg_comparator::set_cmp_func(). It existed for a long time, but showed up in 10.0.14 after the fix for "MDEV-6666 Malformed result for CONCAT(utf8_column, binary_string)".
-
Alexander Barkov authored
MDEV-7254 Assigned expression is evaluated twice when updating column TIMESTAMP NOT NULL The test type_timestamp failed depending on the build machine time zone. Setting a fixed time zone for the test.
-
- 16 Jan, 2015 4 commits
-
-
Sergei Golubchik authored
add "mysql-compat-server" alias to MariaDB-server package
-
Sergei Golubchik authored
it's in the dead code (ifdef-ed out) so it doesn't matter what it is. still better to keep it closer to the upstream
-
Jan Lindström authored
column TIMESTAMP NOT NULL Analysis: Problem was that value->is_null() function is called even when user had explicitly set the value for timestamp field. Calling this function had the side effect that expression was evaluated twice. Fix: (by Sergei Golubchik) check instead value->null_value.
-
Jan Lindström authored
innodb_bug12400341 innodb-mdev7046 innodb_stats_fetch_nonexistent
-
- 15 Jan, 2015 2 commits
-
-
Elena Stepanova authored
Structure of the table created by the test to archive mysql.slow_log data didn't match the structure of mysql.slow_log. The failure only appeared if the slow_log was not empty, which was very rare. Updated the structure of the table.
-
Kristian Nielsen authored
The problem was a too low timeout for slave reconnect. It was set to 9 seconds (10 retries with 1 second in-between). This is occasinally too short on some Buildbot hosts, when the test crashes and restarts the master while the slave IO thread is running. Fix by increasing --master-retry-count for this test.
-
- 14 Jan, 2015 5 commits
-
-
Nirbhay Choubey authored
mysql.service failed to load Added 'systemctl daemon-reload' command in postin and postun rpm scripts.
-
Kristian Nielsen authored
The test case injects a DBUG that will crash the server during replication, then does a START SLAVE. We need to use --error 0,2006,2013 on the START SLAVE, so that we will not fail the test if the server has time to crash before the START SLAVE returns to the client. Fixes a failure seen in Buildbot.
-
Sergey Vojtovich authored
Let mtr handle SIGHUP the same way as SIGINT. This solves stale mysqld processes left after broken/closed ssh connection.
-
Nirbhay Choubey authored
mysql.service failed to load Added 'systemctl daemon-reload' command in postin and postun rpm scripts.
-
Sergei Golubchik authored
mysql_alter_table() that is used in mysql_recreate_table() doesn't expect many tables in the TABLE_LIST.
-
- 13 Jan, 2015 1 commit
-
-
Sergei Golubchik authored
-