- 10 Nov, 2018 1 commit
-
-
Alexander Barkov authored
MDEV-17660 sql_mode=ORACLE: Some keywords do not work as label names: history, system, versioning, without MDEV-17661 Add sql_mode specific tokens for the keyword DECODE
-
- 09 Nov, 2018 4 commits
-
-
Alexander Barkov authored
-
Marko Mäkelä authored
-
Jan Lindström authored
Use exit instead of return.
-
Alexander Barkov authored
Changing the way how a cursor is opened to fetch its structure only, e.g. for a cursor FOR loop record variable. The old methods with setting thd->lex->limit_rows_examined to an Item_uint(0) was not reliable and could push these messages into diagnostics area: The query examined at least 1 rows, which exceeds LIMIT ROWS EXAMINED (0) The new method should be more reliable, as it completely prevents the call of do_select() in JOIN::exec_inner() during the cursor structure discovery, so the execution of the cursor SELECT query returns immediately after the preparation step (when the result row structure becomes known), without even entering the code that fetches the result rows.
-
- 08 Nov, 2018 4 commits
-
-
Anel Husakovic authored
-
Teodor Mircea Ionita authored
-
Marko Mäkelä authored
The following merges changed sql_yacc.yy but not sql_yacc_ora.yy: commit 862af4d2 commit df563e0c Apply the same fixes to the other parser.
-
Marko Mäkelä authored
-
- 07 Nov, 2018 11 commits
-
-
Igor Babaev authored
This bug in the code of the function With_element::check_unrestricted_recursive() could force a recursive CTE to be executed in a non-standard compliant mode in which recursive UNION ALL could lead to an infinite execution. This problem could occur only in the case when this CTE was used by another recursive CTE at least twice.
-
Andrei Elkin authored
There was a failure in rpl_delayed_slave after recent MDEV-14528 commit. The parallel applier should not set its Relay_log::last_master_timestamp from Format-descriptor log event. The latter may reflect a deep past so Seconds-behind-master will be computed through it and displayed all time while the first possibly "slow" group of events is executed. The main MDEV-14528 is refined, rpl_delayed_slave now passes also in the parallel mode.
-
Marko Mäkelä authored
-
Marko Mäkelä authored
Remove the separate test innodb.alter_instant, because it can be easily mistaken for innodb.instant_alter, which in turn is covering various instant ALTER TABLE operations.
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Oleksandr Byelkin authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Vladislav Vaintroub authored
Fix is not to use blocking socket IO during SSL handshake. With non-blocking socket IO, threadpool is able to utilize the wait notification callbacks, that vio_io_wait() is calling whenever socket would block.
-
- 06 Nov, 2018 11 commits
-
-
Igor Mazur authored
When replicated events are from Master unaware of MariaDB GTID their handling by the Parallel slave misses Seconds_Behind_Master updating. In the bug condition the Show-Slave-Status' field remains unchanged. Because in such case event execution is sequential the bug is fixed with deploying the same logics as in the explicit single-threaded mode with is to set Relay_log_event::last_master_timestamp member early at the end of event reading from the relay log.
-
Sergei Petrunia authored
It tests SQL-level feature that is available in FB/MySQL and not in MariaDB
-
Sergei Golubchik authored
add a test case
-
Vladislav Vaintroub authored
-
Sergei Golubchik authored
ping is not a reliable way to detect github's availability
-
Sergei Golubchik authored
-
Anel Husakovic authored
-
Jan Lindström authored
Background: Used encryption key_id is stored to encryption metadata i.e. crypt_data that is stored on page 0 of the tablespace of the table. crypt_data is created only if implicit encryption/not encryption is requested i.e. ENCRYPTED=[YES|NO] table option is used fil_create_new_single_table_tablespace on fil0fil.cc. Later if encryption is enabled all tables that use default encryption mode (i.e. no encryption table option is set) are encrypted with default encryption key_id that is 1. See fil_crypt_start_encrypting_space on fil0crypt.cc. ha_innobase::check_table_options() If default encryption is used and encryption is disabled, you may not use nondefault encryption_key_id as it is not stored anywhere.
-
Marko Mäkelä authored
main.derived_cond_pushdown: Move all 10.3 tests to the end, trim trailing white space, and add an "End of 10.3 tests" marker. Add --sorted_result to tests where the ordering is not deterministic. main.win_percentile: Add --sorted_result to tests where the ordering is no longer deterministic.
-
Marko Mäkelä authored
Remove trailing white space, and use lower case for "eval" and "let". Add an "End of 10.2 tests" marker to ease future merges.
-
Marko Mäkelä authored
-
- 05 Nov, 2018 9 commits
-
-
Sergei Petrunia authored
Part#2: take into account that join nest that we are marking as constant might already have constant tables in it. Don't count these tables twice.
-
Sergei Petrunia authored
Update .result files after the previous patch
-
Sergei Petrunia authored
Continuation of the fix: Make condition selectivity estimate use the right estimate, too.
-
Sergei Petrunia authored
Reuse the fix for MDEV-17518 here, too.
-
Sergei Petrunia authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
The relevant InnoDB/XtraDB fixes up to 5.6.42 had already been applied to MariaDB in commit 30c3d6db. Revert some changes that appeared in the merge commit 87d852f1.
-
Marko Mäkelä authored
-
Eugene Kosov authored
Problem affects INPLACE ALTER rename columns. innobase_rename_column_try(): some strcmp() was replaced with my_strcasecmp(), queries to update data dictionary was updated to not match column name case.
-