- 25 Oct, 2017 6 commits
-
-
Sergei Golubchik authored
-
Marko Mäkelä authored
-
Vladislav Vaintroub authored
This is necessary to analyze hangs on buildbot, because they also happen when mysqltest executes external programs.
-
Marko Mäkelä authored
Replace the remaining "xtrabackup:" references in the code.
-
Jan Lindström authored
Some test are still disabled as they provide different results, fail on different error or crash. Fixes also MDEV-14060 InnoDB: Foreign key constraint to geometry type does not work where test intentionally tried incorrect cases.
-
Jan Lindström authored
Add missing innodb_gis tests.
-
- 24 Oct, 2017 8 commits
-
-
Sergei Golubchik authored
followup for 4c2c057d fix broken script (set -u)
-
Marko Mäkelä authored
MDEV-13918 Race condition between INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS and ALTER/DROP/TRUNCATE TABLE MDEV-14021 Failing assertion: table->get_ref_count() == 0 on ALTER TABLE with implicit ALGORITHM=INPLACE Post-merge fix: Remove the now-useless use of table reference count. The dict_operation_lock S-latch whose use was introduced in the 10.0 fix will prevent the table from disappearing due to concurrent DDL operations (DROP, table-rebuilding ALTER, TRUNCATE).
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Vladislav Vaintroub authored
If pid belongs to my_safe_process.exe, create crashdump of my_safe_process's child, because my_safe_process is only used to start other programs.
-
Vladislav Vaintroub authored
-
Marko Mäkelä authored
InnoDB was writing unnecessary information to the update undo log records. Most notably, if an indexed column is updated, the old value of the column would be logged twice: first as part of the update vector, and then another time because it is an indexed column. Because the InnoDB undo log record must fit in a single page, this would cause unnecessary failure of certain updates. Even after this fix, InnoDB still seems to be unnecessarily logging indexed column values for non-updated columns. It seems that non-updated secondary index columns only need to be logged when a PRIMARY KEY column is updated. To reduce risk, we are not fixing this remaining flaw in GA versions. trx_undo_page_report_modify(): Log updated indexed columns only once.
-
Sergei Golubchik authored
-
- 23 Oct, 2017 8 commits
-
-
Igor Babaev authored
The method Field_iterator_table::create_item() must take into account that it can be called when processing DELETE RETURNING.
-
Igor Babaev authored
An overflow of the double variable storing the estimate of the number of rows in a partial join could trigger an assertion failure during the optimization stage.
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
Vladislav Vaintroub authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
Fix a failure in rocksdb_rpl.rpl_rocksdb_2pc_crash_recover test. Don't do XA with binlog if @@rocksdb_enable_2pc=OFF.
-
- 22 Oct, 2017 2 commits
-
-
Sergei Golubchik authored
gcc 5.4 and 7.1, Debug and Release builds
-
Sergei Golubchik authored
-
- 20 Oct, 2017 2 commits
-
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
- 18 Oct, 2017 14 commits
-
-
Sergei Golubchik authored
remove remnants of 10.0 bugfix, incorrectly merged into 10.2 Using col_names[i] was obviously, wrong, must've been col_names[ifield->col_no]. incorrect column name resulted in innodb having index unique_id2(id1), while the server thought it's unique_id2(id4). But col_names[ifield->col_no] is wrong too, because `table` has non-renamed columns, so the correct column name is always dict_table_get_col_name(table, ifield->col_no)
-
Sergei Golubchik authored
$WSREP_SST_OPT_CONF already includes --defaults-extra-file= prefix.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
allow to build with the default port number 3306. Now -DMYSQL_TCP_PORT=# sets the default port name and -DMYSQL_TCP_PORT_DEFAULT=# sets the magic port=0 behavior, if it's MYSQL_TCP_PORT_DEFAULT=0 it's enabled, otherwise - disabled.
-
Sergei Golubchik authored
Use mariadb_config, for C/C config variables
-
Marko Mäkelä authored
MDEV-13918 Race condition between INFORMATION_SCHEMA.INNODB_SYS_TABLESTATS and ALTER/DROP/TRUNCATE TABLE i_s_sys_tables_fill_table_stats(): Acquire dict_operation_lock S-latch before acquiring dict_sys->mutex, to prevent the table from being removed from the data dictionary cache and from being freed while i_s_dict_fill_sys_tablestats() is accessing the table handle.
-
Michael Widenius authored
-
Sergei Golubchik authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Darshan M N authored
Issue ===== The original issue was that the size of a fil_per_table tablespace was calculated incorrectly during truncate in the presence of an fts index. This incorrect calculation was fixed as part of BUG#25053705 along with a testcase to reproduce the bug. The assert that was added as part of it to reproduce the bug was wrong and resulted in this bug. Fix === Although the assert was removed earlier in a seperate commit as it was blocking the ntest, this patch replaces the other parts of the code that were added to reproduce the bug and replaces it with code that tries to reproduce the bug in a different way. The new code basically tries to tweak conditions so as to simulate the random read where a page that doesn't exist is tried to be read. RB: 15890 Reviewed-by: Jimmy Yang <Jimmy.Yang@oracle.com> Reviewed-by: Satya Bodapati <satya.bodapati@oracle.com>
-
Marko Mäkelä authored
The ownership of the field query->intersection usually transfers to query->doc_ids. In some error scenario, it could be possible that fts_query_free() would be invoked with query->intersection!=NULL. Let us handle that case, instead of intentionally crashing the server.
-
Marko Mäkelä authored
-
Daniel Bartholomew authored
-