- 09 May, 2017 13 commits
-
-
Jan Lindström authored
In windows error message contains .exe.
-
Sachin Setiya authored
Reason for this crash is that table->rpl_write_set is NULL. In Rows_log_event::do_apply_event we set table->rpl_write_set equal to table->write_set. But we do not set table->rpl_write_set in Old_rows_log_event::do_apply_event.
-
Sergei Golubchik authored
Revert commit db0917f6, because the fix for MDEV-12696 is coming from 5.5 and 10.1 in this merge.
-
Marko Mäkelä authored
This fixes the cmake -DWITH_ASAN test failure that was mentioned in commit f9cc3918 (merging MDEV-12253 from 10.1 to 10.2). fil_parse_write_crypt_data(): If the tablespace is not found, invoke fil_space_destroy_crypt_data(&crypt_data) to properly free the created object. With this, the test encryption.innodb-redo-badkey still reports "Missing MLOG_FILE_NAME or MLOG_FILE_DELETE before MLOG_CHECKPOINT" but does not fail. The misleading message should be corrected, maybe as part of MDEV-12699.
-
Jan Lindström authored
galera_new_cluster man page and sh typo
-
=Ian Gilfillan authored
-
Sachin Setiya authored
Binlog_background_thread does not make a call to set_time(), And when we call binlog_checkpoint_log_event->write() , we write the wrong timestamp. In this patch we correct this by calling thd->set_time().
-
Marko Mäkelä authored
This bug was introduced in the fix of MDEV-12123, which invoked page_zip_write_header() in the wrong way. page_zip_write_header(): Assert that the length is not zero, to be compatible with page_zip_parse_write_header(). btr_root_raise_and_insert(): Update the uncompressed page and then invoke page_zip_write_header() with the correct length.
-
Jan Lindström authored
-
Marko Mäkelä authored
row_undo_mod_parse_undo_rec(): Relax the too strict assertion and correct the comment. innodb.innodb-blob: Force a flush of the redo log right before killing the server, to ensure that the code path gets exercised. (The bogus debug assertion failed on the rollback of the statement UPDATE t3 SET c=REPEAT('j',3000) WHERE a=2 which did not modify any indexes before the server was killed.)
-
Jan Lindström authored
MDEV-8684: innodb ut_delay - no maths
-
Jan Lindström authored
MDEV-12706: !trx->declared_to_be_inside_innodb with innodb_thread_concurrency during CREATE .. SELECT There were two calls to innobase_srv_conc_enter_innodb on ::general_fetch() due to incorrect merge of 5.7.14.
-
Daniel Black authored
Reintroduce 3d1a7cba that removed the maths from ut_delay. Existing definitions of UT_COMPILE_BARRIER used. Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
-
- 08 May, 2017 14 commits
-
-
Sergei Golubchik authored
extend the fix from 5.5 (in read_sep_field()) to apply to read_xml_field()
-
Marko Mäkelä authored
ha_innobase::check_if_supported_inplace_alter(): For now, reject ALGORITHM=INPLACE when a non-constant DEFAULT expression is specified for ADD COLUMN or for changing a NULL column to NOT NULL. Later, we should evaluate the non-constant column values in these cases.
-
Marko Mäkelä authored
These tests were broken by commit 8773f146 which disabled the innodb_defragment=ON functionality on OPTIMIZE TABLE.
-
Vicențiu Ciorbaru authored
* Update debian control file to include AWS key management plugin. * Update dependencies in control file to include uuid. * Include enable_encryption.preset with the aws-key-management plugin.
-
Sachin Setiya authored
-
Jan Lindström authored
-
Sergei Golubchik authored
-
Jan Lindström authored
Actual error number returned from the query depends what point corrupted page is accessed, is it accessed when we read one of the pages for result set or is it accessed during background page read.
-
Jan Lindström authored
Removed creation of unused backup file and unused variables.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
JOIN_TAB::remove_redundant_bnl_scan_conds() removes select_cond from a JOIN_TAB if join cache is enabled, and tab->cache_select->cond is the equal to tab->select_cond. But after 8d99166c the code to initialize join cache was moved to happen much later than JOIN_TAB::remove_redundant_bnl_scan_conds(), and that code might, under certain conditions, revert to *not* using join cache (set_join_cache_denial()). If JOIN_TAB::remove_redundant_bnl_scan_conds() removes the WHERE condition from the JOIN_TAB and later set_join_cache_denial() disables join cache, we end up with no WHERE condition at all. Fix: move JOIN_TAB::remove_redundant_bnl_scan_conds() to happen after all possible set_join_cache_denial() calls.
-
Sergei Golubchik authored
table_already_fk_prelocked() was looking for a table in the wrong list (not the complete list of prelocked tables, but only in its tail, starting from the current table - which is always empty for the last added table), so for circular FKs it kept adding same tables to the list indefinitely.
-
Jan Lindström authored
Actual error number returned from the query depends what point corrupted page is accessed, is it accessed when we read one of the pages for result set or is it accessed during background page read.
-
Jan Lindström authored
Removed creation of unused backup file and unused variables.
-
- 07 May, 2017 2 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
Missed doing a few updates to rocksdb.use_direct_reads_writes test.
-
- 06 May, 2017 7 commits
-
-
Marko Mäkelä authored
The function buf_read_page_low() invokes fil_io(), which can return DB_ERROR when the requested page is out of bounds (such as when restoring a buffer pool dump). The callers should be handling that.
-
Vicențiu Ciorbaru authored
Our RPL_VERSION_HACK prefix caused MySQL clients to always report 5.5 major and minor versions, even if a specific fake version is passed via my.cnf or command line parameters. When a specific version is requested, don't employ the RPL_VERSION_HACK prefix within the server handshake packet.
-
Marko Mäkelä authored
-
Marko Mäkelä authored
We only want to retry posix_fallocate() on EINTR as long as the system is not being shut down. We do not want to retry on any other (hard) error. Thanks to Jocelyn Fournier for quickly noticing the mistake in my previous commit.
-
Marko Mäkelä authored
Also, include fixes by Vladislav Vaintroub to the aws_key_management plugin. The AWS C++ SDK specifically depends on OPENSSL_LIBRARIES, not generic SSL_LIBRARIES (such as YaSSL).
-
Marko Mäkelä authored
Earlier versions of MariaDB only use posix_fallocate() when extending data files, not when initially creating the files,
-
=Ian Gilfillan authored
-
- 05 May, 2017 4 commits
-
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
Monty authored
Problem was two race condtion in Aria page cache: - find_block() didn't inform free_block() that it had released requests - free_block() didn't handle pinned blocks, which could happen if free_block() was called as part of flush. This is fixed by not freeing blocks that are pinned. This is safe as when maria_close() is called when last thread is using a table, there can be no pinned blocks. For other flush calls it's safe to ignore pinned blocks.
-
Monty authored
- Changed to 'strict' - Fixed scope of variables - Made timing smaller for of repair, check, flush and alter to get them to trigger earlier
-