- 28 Dec, 2017 3 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Eugene Kosov authored
MDEV-14744 Assertion `table->versioned() == m_prebuilt->table->versioned()' failed in ha_innobase::open
-
- 26 Dec, 2017 4 commits
-
-
Aleksey Midenkov authored
-
Aleksey Midenkov authored
-
Aleksey Midenkov authored
SQL: TABLE_LIST cleanup on free_tmp_table() May affect non-versioning tests (main suite passed).
-
Aleksey Midenkov authored
Invalidate via ULONG_MAX was wrong because sp_cache_flush_obsolete() works incorrectly in this case. Fixes MDEV-14749
-
- 25 Dec, 2017 1 commit
-
-
Eugene Kosov authored
-
- 22 Dec, 2017 6 commits
-
-
Aleksey Midenkov authored
-
Eugene Kosov authored
-
Aleksey Midenkov authored
in row_truncate_table_for_mysql()
-
Eugene Kosov authored
-
Eugene Kosov authored
MDEV-14632 Assertion `!((new_col->prtype ^ col->prtype) & ~256U)' failed in row_log_table_apply_convert_mrec Follow up on comments.
-
Aleksey Midenkov authored
Assertion `thd->locked_tables_mode <= LTM_LOCK_TABLES || !thd->lex->requires_prelocking()' failed in lock_tables().
-
- 21 Dec, 2017 18 commits
-
-
Eugene Kosov authored
-
Aleksey Midenkov authored
SQL: class Table_locker
-
Aleksey Midenkov authored
-
Sergei Golubchik authored
sql/table.h:1531:17: warning: enumeral and non-enumeral type in conditional expression [-Wextra]
-
Sergei Golubchik authored
* test results * HISTORY in ora parser
-
Sergei Golubchik authored
This reverts commit b13f1cc5 Don't scan the list of added columns for every row in copy_data_between tables.
-
Aleksey Midenkov authored
Error ER_VERS_TRT_IS_DISABLED is not thrown.
-
Eugene Kosov authored
MDEV-14689 Server crashes in find_field_in_tables on 2nd execution of PS with versioned table and view SQL: wrong usage of Item::transform()
-
Eugene Kosov authored
MDEV-14632 Assertion `!((new_col->prtype ^ col->prtype) & ~256U)' failed in row_log_table_apply_convert_mrec ha_innobase::check_if_supported_inplace_alter(): enabled non-rebuilding operations for trx_id-based system-versioning tables Also added better error message for not implemented operations.
-
Aleksey Midenkov authored
debug_key_management encrypt_and_grep Related to 62b44b0e
-
Aleksey Midenkov authored
-
Aleksey Midenkov authored
1. Reverts "Tests: disabled TRT for some IB tests [#302]" 6d78496a 2. Removes setting TRANSACTION_REGISTRY=0 in mysqldump --system-versioning-transaction-registry now is OFF by default. This commit should be reverted back if the default will change. Tests affected: mysqldump mysqldump-max openssl_1
-
Aleksey Midenkov authored
Merge branch '10.3' into trunk
-
Aleksey Midenkov authored
-
Aleksey Midenkov authored
-
Eugene Kosov authored
SQL: disable system-versioning stuff on TEMPORARY tables
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
- 20 Dec, 2017 8 commits
-
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
Now that MDEV-14717 made RENAME TABLE crash-safe within InnoDB, it should be safe to drop the #sql- tables within InnoDB during crash recovery. These tables can be one of two things: (1) #sql-ib related to deferred DROP TABLE (follow-up to MDEV-13407) or to table-rebuilding ALTER TABLE...ALGORITHM=INPLACE (since MDEV-14378, only related to the intermediate copy of a table), (2) #sql- related to the intermediate copy of a table during ALTER TABLE...ALGORITHM=COPY We will not drop tables whose name starts with #sql2, because the server can be killed during an ALGORITHM=COPY operation at a point where the original table was renamed to #sql2 but the finished intermediate copy was not yet renamed from #sql- to the original table name.
-
Marko Mäkelä authored
-
Marko Mäkelä authored
InnoDB in MariaDB 10.2 appears to only write MLOG_FILE_RENAME2 redo log records during table-rebuilding ALGORITHM=INPLACE operations. We must write the records for any .ibd file renames, so that the operations are crash-safe. If InnoDB is killed during a RENAME TABLE operation, it can happen that the transaction for updating the data dictionary will be rolled back. But, nothing will roll back the renaming of the .ibd file (the MLOG_FILE_RENAME2 only guarantees roll-forward), or for that matter, the renaming of the dict_table_t::name in the dict_sys cache. We introduce the undo log record TRX_UNDO_RENAME_TABLE to fix this. fil_space_for_table_exists_in_mem(): Remove the parameters adjust_space, table_id and some code that was trying to work around these deficiencies. fil_name_write_rename(): Write a MLOG_FILE_RENAME2 record. dict_table_rename_in_cache(): Invoke fil_name_write_rename(). trx_undo_rec_copy(): Set the first 2 bytes to the length of the copied undo log record. trx_undo_page_report_rename(), trx_undo_report_rename(): Write a TRX_UNDO_RENAME_TABLE record with the old table name. row_rename_table_for_mysql(): Invoke trx_undo_report_rename() before modifying any data dictionary tables. row_undo_ins_parse_undo_rec(): Roll back TRX_UNDO_RENAME_TABLE by invoking dict_table_rename_in_cache(), which will take care of both renaming the table and the file.
-
Eugene Kosov authored
-
Aleksey Midenkov authored
-
Eugene Kosov authored
MDEV-14632 Assertion `!((new_col->prtype ^ col->prtype) & ~256U)' failed in row_log_table_apply_convert_mrec SQL, IB: proper fix is to disable unimplemented Online DDL for system-versioned tables inside InnoDB
-