- 16 Apr, 2018 2 commits
-
-
Sergei Golubchik authored
revert incorrect change
-
Jan Lindström authored
Fix mtr to be able to wait for >1 exited mysqld
-
- 14 Apr, 2018 2 commits
-
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
if volume can't be opened due to permissions, or IOCTL_STORAGE_QUERY_PROPERTY fails with not implemented, do not report it. Those errors happen, there is nothing user can do. This patch amends fix for MDEV-12948.
-
- 13 Apr, 2018 3 commits
-
-
Jan Lindström authored
Fixed typo on select that is executed only when something unexpected happens.
-
Jan Lindström authored
MDEV-12632: Source and destination overlap in memcpy, encryption.innodb-discard-import-change fails in buildbot with valgrind Use block->page.offset for checking page number.
-
Jan Lindström authored
Problem was that we did not delete explain information when Galera must replay a query. Could not find easily repeatable test case that would not cause other problems.
-
- 12 Apr, 2018 5 commits
-
-
Sergei Petrunia authored
Cherry-pick this fix from the upstream: commit 6ddedd8f1e0ddcbc24e8f9a005636c5463799ab7 Author: Sergei Petrunia <psergey@askmonty.org> Date: Tue Apr 10 11:43:01 2018 -0700 [mysql-5.6][PR] Issue #802: MyRocks: Statement rollback doesnt work correctly for nes⦠Summary: â¦ted statements Variant #1: When the statement fails, we should roll back to the latest savepoint taken at the top level. Closes https://github.com/facebook/mysql-5.6/pull/804 Differential Revision: D7509380 Pulled By: hermanlee fbshipit-source-id: 9a6f414
-
Jacob Mathew authored
The error occurs because of how the character set and collation are chosen for stored procedure parameters that have a character data type. If the character set and collation are not explicitly stated in the declaration, the server chooses the database character set and collation in effect at routine creation time. To fix the problem, I added explicit character set and collation attributes for the stored procedure parameters in the install_spider.sql script. Author: Jacob Mathew. Reviewer: Kentoku Shiba. Cherry-Picked: Commit ff0bf451 on bb-10.3-MDEV-15692
-
Jan Lindström authored
MDEV-12632: Source and destination overlap in memcpy, encryption.innodb-discard-import-change fails in buildbot with valgrind Problem was that if tablespace was encrypted we try to copy also page 0 from read buffer to write buffer that are in that case the same memory area. fil_iterate When tablespace is encrypted or compressed its first page (i.e. page 0) is not encrypted or compressed and there is no need to copy buffer.
-
Jan Lindström authored
Wait until rotation has ended and shutdown before grep to make sure that dirty pages are on datafiles.
-
Vicențiu Ciorbaru authored
If we use hostnames, it will fail during name resolution on UNIX systems
-
- 11 Apr, 2018 3 commits
-
-
Vicentiu Ciorbaru authored
Also fix perfschema.hostcache_ipv6_max_con. The test case makes use of a debug switch to execute some special code. The code does hostname replacement. Every hostname sent during connect phase becomes santa.claus.ipv4.example.com (or ipv6). This causes a connection from root@localhost to fail, as root is not registered as santa claus user. The failure is only apparent on Windows as Unix systems make use of sockets, which bypass the name resolution check entirely.
-
Vladislav Vaintroub authored
Fix 10.2-specific bug - copy-back is not prepared to handle system tablespaces with absolute path.
-
Igor Babaev authored
The implementations of the convert_to_basic_const_item() virtual function for the Item_cache classes should call cache_value() when value_cached == NULL.
-
- 10 Apr, 2018 7 commits
-
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
There was a missing argument to service_manager_extend_timeout call and the signness of arguments did not match.
-
Alexander Barkov authored
-
Jan Lindström authored
Wait drop table to be replicated before continuing.
-
Alexander Barkov authored
The code in Type_handler_blob****::make_conversion_table_field() erroneously assumed that row format replication uses MYSQL_TYPE_TINYBLOB, MYSQL_TYPE_BLOB, MYSQL_TYPE_MEDIUMBLOB, MYSQL_TYPE_LONGBLOB type codes to tranfer BLOB variations. In fact, all BLOB variations use MYSQL_TYPE_BLOB as the type code, while the BLOB packlength (1,2,3 or 4) it tranferred in metadata. The bug was introduced by aee06808 (MDEV-9238 Wrap create_virtual_tmp_table() into a class, split into different steps)
-
Marko Mäkelä authored
If innodb_fast_shutdown<2, all transactions of active connections will be rolled back on shutdown. This can take a long time, and the systemd shutdown timeout should be extended during the wait. logs_empty_and_mark_files_at_shutdown(): Extend the timeout when waiting for other threads to complete.
-
Marko Mäkelä authored
This reverts commit 76ec37f5. This behaviour change will be done separately in: MDEV-15832 With innodb_fast_shutdown=3, skip the rollback of connected transactions
-
- 09 Apr, 2018 7 commits
-
-
Marko Mäkelä authored
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
Vicențiu Ciorbaru authored
Table_open_cache gets adjusted on server startup to prevent an out of file descriptor error. However this means that when we reset its value to default, it does not get re-adjusted. This leads to the mtr consistency check to fail with different server status at the end of the test case as opposed to when it started. To fix the problem, do not make use of the DEFAULT keyword to set the variable back, instead save the value before any modifications and restore it from there.
-
Jan Lindström authored
Disable occasionally failing test case galera.galera_var_slave_threads.
-
Jan Lindström authored
Wait until create table is replicated before continuing.
-
Jan Lindström authored
Wait until create tables are replicated to the slave before trying lock table.
-
- 08 Apr, 2018 4 commits
-
-
Vladislav Vaintroub authored
In async IO completion code, after reading a page,Innodb can wait for completion of other bufferpool reads. This is for example what happens if change-buffering is active. Innodb on Windows could deadlock, as it did not have dedicated threads for processing change buffer asynchronous reads. The fix for that is to have windows now has the same background threads, including dedicated thread for ibuf, and log AIOs. The ibuf/read completions are now dispatched to their threads with PostQueuedCompletionStatus(), the write and log completions are processed in thread where they arrive.
-
Jan Lindström authored
Disable more occasionally failing test cases. galera.galera_lock_table galera.galera_gra_log galera.MW-44 galera.lp1376747 galera.lp1376747-2 galera.galera_pc_ignore_sb
-
Jan Lindström authored
Make sure DDL's (create tables) are replicated before continuing to lock table.
-
Jan Lindström authored
Disable occasionally failing test cases pxc-421 query_cache galera_parallel_simple
-
- 07 Apr, 2018 6 commits
-
-
Marko Mäkelä authored
fil_crypt_read_crypt_data(): Do not attempt to read the tablespace if the file is unaccessible due to a pending DDL operation, such as renaming the file or DROP TABLE or TRUNCATE TABLE. This is only reducing the probability of the race condition, not completely preventing it.
-
Vicențiu Ciorbaru authored
-
Sergei Petrunia authored
Adjust the fix for MDEV-15472: In close_cached_tables(), locked_tables_list.reopen_tables(...) call might be made when a previous call to some function has already returned error. In this scenario, the function should return 0, even if reopen_tables(...) call has succeeded.
-
Sergei Petrunia authored
When "FLUSH TABLE ... FOR EXPORT" fails, the SQL layer should rollback the statement. Otherwise we hit an assert when we try to close the tables while having a non-empty list of statement transaction participants.
-
Jan Lindström authored
-
Jan Lindström authored
MDEV-13549 Fix test galera.galera_wsrep_desync_wsrep_on
-
- 06 Apr, 2018 1 commit
-
-
Jan Lindström authored
-