- 28 Aug, 2018 2 commits
-
-
Ian Gilfillan authored
-
Jan Lindström authored
MDEV-14851: galera_recovery to read correct configuration file sections
-
- 27 Aug, 2018 1 commit
-
-
Monty authored
Problem was that a parallel open of a table, overwrote info->state that was in used by repair. Fixed by changing _ma_tmp_disable_logging_for_table() to use a new state buffer state.no_logging to store the temporary state. Other things: - Use original number of rows when retrying repair to get rid of a potential warning "Number of rows changed from X to Y" - Changed maria_commit() to make it easier to merge with 10.4 - If table is not locked (like with show commands), use the global number of rows as the local number may not be up to date. (Minor not critical fix) - Added some missing DBUG_RETURN
-
- 21 Aug, 2018 4 commits
-
-
Jan Lindström authored
MDEV-10754 wsrep_sst_rsync does not support innodb_data_home_dir
-
Marko Mäkelä authored
trx_purge_add_update_undo_to_history(): Relax the too strict assertion by removing the condition on srv_fast_shutdown (innodb_fast_shutdown). Rollback is allowed during any form of shutdown.
-
Marko Mäkelä authored
buf_dump(): Only generate the output when shutdown is in progress. log_write_up_to(): Only generate the output before actually writing to the redo log files. srv_purge_should_exit(): Rate-limit the output, and instead of displaying the work done, indicate the work that remains to be done until the completion of the slow shutdown.
-
Oleksandr Byelkin authored
-
- 17 Aug, 2018 1 commit
-
-
Julius Goryavsky authored
-
- 15 Aug, 2018 5 commits
-
-
Oleksandr Byelkin authored
-
Sergei Petrunia authored
Item_subselect::is_expensive() used to return FALSE (Inexpensive) whenever it saw that one of SELECTs in the Subquery's UNION is degenerate. It ignored the fact that other parts of the UNION might not be inexpensive, including the case where pther parts of the UNION have no query plan yet. For a subquery in form col >= ANY (SELECT 'foo' UNION SELECT 'bar') this would cause the query to be considered inexpensive when there is no query plan for the second part of the UNION, which in turn would cause the SELECT 'foo' to compute and free itself while still inside JOIN::optimize for that SELECT (See MDEV comment for full description).
-
Oleksandr Byelkin authored
MDEV-15475: Assertion `!table || (!table->read_set || bitmap_is_set(table->read_set, field_index))' failed on EXPLAIN EXTENDED with constant table and view Print constant ISNULL value independent. Fix of printing of view FRM and CREATE VIEW output
-
https://jira.mariadb.org/browse/MDEV-9519Julius Goryavsky authored
If we have a 2+ node cluster which is replicating from an async master and the binlog_format is set to STATEMENT and multi-row inserts are executed on a table with an auto_increment column such that values are automatically generated by MySQL, then the server node generates wrong auto_increment values, which are different from what was generated on the async master. The causes and fixes: 1. We need to improve processing of changing the auto-increment values after changing the cluster size. 2. If wsrep auto_increment_control switched on during operation of the node, then we should immediately update the auto_increment_increment and auto_increment_offset global variables, without waiting of the next invocation of the wsrep_view_handler_cb() callback. In the current version these variables retain its initial values if wsrep_auto_increment_control is switched on during operation of the node, which leads to inconsistent results on the different nodes in some scenarios. 3. If wsrep auto_increment_control switched off during operation of the node, then we must return the original values of the auto_increment_increment and auto_increment_offset global variables, as the user has set. To make this possible, we need to add a "shadow copies" of these variables (which stores the latest values set by the user).
-
Jan Lindström authored
MDEV-15933 Cannot resume Node SYNCED state when wsrep_desync is done after FTWRL
-
- 14 Aug, 2018 2 commits
-
-
Vladislav Vaintroub authored
Moved parts of mysql.test to mysql_not_windows.test
-
mkaruza authored
Manually setting wsrep_desync after FTWRL should not be allowed.
-
- 13 Aug, 2018 2 commits
-
-
Vladislav Vaintroub authored
Use real DACL instead of NULL DACL. Grant Everyone just read/write access to pipe (instead of all access like previously with NULL ACL)
-
Julius Goryavsky authored
-
- 11 Aug, 2018 1 commit
-
-
Sergei Golubchik authored
truncate incorrect values in convert_period_to_month() so that PERIOD_DIFF never returns a value outside of 2^23 range. And, for safety, increase buffer sizes for int10_to_str to be sufficienly big for any int10_to_str result.
-
- 09 Aug, 2018 2 commits
-
-
faust authored
* Backport from 10.4 to resolve dependency problem Using the dependency syntax from 10.4 branch because {$LIBSSL} can not be used.
-
Julius Goryavsky authored
Fixes after review and correction of the problems caused by the fact that during the SST innodb plugin is not yet initialized, as well as problems with running tests from the root user (not directly related to the MDEV-10754).
-
- 08 Aug, 2018 1 commit
-
-
- 07 Aug, 2018 2 commits
-
-
Daniel Bartholomew authored
-
Sachin authored
not empty We should swap the list only when list is not empty.
-
- 06 Aug, 2018 2 commits
-
-
Rasmus Johansson authored
-
Jan Lindström authored
InnoDB executed code that is mean to execute only when Galera is used and in bad luck one of the transactions is selected incorrectly as deadlock victim. Fixed by adding wsrep_on_trx() condition before entering actual Galera transaction handling. No always repeatable test case for this issue is known.
-
- 05 Aug, 2018 3 commits
-
-
Jan Lindström authored
-
Varun Gupta authored
After the commit b76b69cd loose index scan for queries with DISTINCT stopped working. That is why that commit has to be reverted. Additionally this patch fixes the problem of MDEV-10880.
-
Jan Lindström authored
MDEV-15511 - Use stunnel during rsync SST if available
-
- 04 Aug, 2018 2 commits
-
-
Vladislav Vaintroub authored
Use table_arg that was passed to the function, instead of dereferencing this->table, which is a NULL pointer.
-
Elena Stepanova authored
-
- 03 Aug, 2018 7 commits
-
-
sachin authored
with spatial index So the issue is since it is spatial index , at the time of searching index for key (Rows_log_event::find_row) we use wrong field image we use Field::itRAW while we should be using Field::itMBR
-
Oleksandr Byelkin authored
-
Oleksandr Byelkin authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
fts_query(): Remove a redundant condition (result will never be NULL), and instead check if *result is NULL, to prevent SIGSEGV in fts_query_free_result().
-
- 02 Aug, 2018 1 commit
-
-
Oleksandr Byelkin authored
-
- 01 Aug, 2018 2 commits
-
-
Daniel Bartholomew authored
-
Marko Mäkelä authored
-