- 15 Sep, 2017 7 commits
-
-
Marko Mäkelä authored
The underlying data members are declared public, so there is no point in hiding these const accessors.
-
Marko Mäkelä authored
Use dict_index_is_auto_gen_clust() instead.
-
Vladislav Vaintroub authored
use ut_get_name() for formatting database/table names.
-
Vladislav Vaintroub authored
-
sjaakola authored
* recorded new result file, original was copied from MariaDB which produces syntactically a bit different result * semantics are same in MariaDB and ours result file
-
sjaakola authored
* changed thd_binlog_format to return configured binlog format in wsrep execution, regardless of binlogging setting (i.e. with or without binlogging) * thd_binlog_format is used in innobase::write_row(), and would return confusing result there when log_bin==OFF
-
sjaakola authored
* ported the partition.test from MariaDB 10.3 code tree * fix to TOI replicate ALTER TABLE EXCHANGE PARTITION statement
-
- 14 Sep, 2017 7 commits
-
-
Marko Mäkelä authored
Import the changes to innodb.innodb-index innodb.innodb-index-debug Note: As noted in MDEV-13613, due to the behaviour change in MDEV-11114, DROP COLUMN will not imply DROP/ADD PRIMARY/UNIQUE KEY, like it does in MySQL. The tests have been adjusted accordingly.
-
Alexey Botchkov authored
-
Alexey Botchkov authored
-
Marko Mäkelä authored
Fix memory leaks, and add a missing newline to a message.
-
Marko Mäkelä authored
-
Marko Mäkelä authored
The type uint16_t is apparently promoted to int in a comparison, causing a sign mismatch when comparing to ulint. Convert to ulint before comparison.
-
Marko Mäkelä authored
The type uint16_t is apparently promoted to int in a comparison, causing a sign mismatch when comparing to ulint. Convert both operands to uint16_t.
-
- 13 Sep, 2017 6 commits
-
-
Marko Mäkelä authored
In online table-rebuilding ALTER TABLE (LOCK=NONE), virtual column values are being written to the online_log. WL#8149 in MySQL 5.7 changed some low-level functions that are also being used outside row0log.cc, causing performance penalty to other code. We revert those changes, and introduce separate functions for writing the virtual column values. The only functional change should be the one that is mentioned in MDEV-13795: row_log_table_low_redundant() will no longer write virtual column values along with old_pk, just like row_log_table_low(). As noted in MDEV-13795, some forms of table-rebuilding ALTER with virtual columns is broken. At least DROP PRIMARY KEY, ADD PRIMARY KEY is broken. rec_get_converted_size_temp(), rec_convert_dtuple_to_temp(): Remove the parameter for passing virtual column values. rec_get_converted_size_temp_v(), rec_convert_dtuple_to_temp_v(): New functions for appending virtual column values to the online_log. rec_get_converted_size_comp_prefix_low(), rec_convert_dtuple_to_rec_comp(): Remove the v_entry parameter, and do not allow n_fields=0.
-
Marko Mäkelä authored
The InnoDB purge subsystem can be best stopped by opening a read view, for example by START TRANSACTION WITH CONSISTENT SNAPSHOT. To ensure that everything is purged, use wait_all_purged.inc, which waits for the History list length in SHOW ENGINE INNODB STATUS to reach 0. Setting innodb_purge_run_now never guaranteed this.
-
Marko Mäkelä authored
This also avoids hitting the hang at server shutdown. That hang should be fixed, of course.
-
Marko Mäkelä authored
-
Alexander Barkov authored
-
Alexey Botchkov authored
set_charset() calls added for Item_func_json_arran and Item_func_json_object::val_str-s.
-
- 12 Sep, 2017 13 commits
-
-
Alexey Botchkov authored
Set default charset for temporary paths so UDF call don't crash.
-
Alexey Botchkov authored
JSON_QUOTE return type set to be JSON.
-
Alexey Botchkov authored
Tests added.
-
Alexey Botchkov authored
'=0' added to meke the compiler happy.
-
Alexey Botchkov authored
An extra ',' added to the JSON_MERGE result making it invalid.
-
Alexey Botchkov authored
Superfluous ',' was added to the JSON_SET result so it became invalid.
-
Sergei Petrunia authored
Part#2: stabilize the test output
-
Alexey Botchkov authored
Condition was fixed.
-
Marko Mäkelä authored
This fixes several InnoDB bugs related to innodb_encrypt_log and two Mariabackup --backup bugs. log_crypt(): Properly derive the initialization vector from the start LSN of each block. Add a debug assertion. log_crypt_init(): Note that the function should only be used when creating redo log files and that the information is persisted in the checkpoint pages. xtrabackup_copy_log(): Validate data_len. xtrabackup_backup_func(): Always use the chosen checkpoint buffer. log_group_write_buf(), log_write_up_to(): Only log_crypt() the redo log payload, not the padding bytes. innobase_start_or_create_for_mysql(): Do not invoke log_crypt_init() or initiate a redo log checkpoint. recv_find_max_checkpoint(): Return the contents of LOG_CHECKPOINT_NO to xtrabackup_backup_func() in log_sys->next_checkpoint_no.
-
Marko Mäkelä authored
-
Alexey Botchkov authored
Implementation for the reverse spatial predicates was lost somehow.
-
Alexey Botchkov authored
Let's check the validity to the end of the JSON.
-
Vladislav Vaintroub authored
Implement lock-ddl-per-table option that locks tables before it is copied to backup, and helds the lock until backup finished The "DDL-lock" itself is implemented as "SELECT * from <table> LIMIT 0", inside a transaction, and "COMMIT" of this transaction is the DDL-unlock.
-
- 11 Sep, 2017 1 commit
-
-
Oleksandr Byelkin authored
Now we allow derived in the from clause of subqueries so set flag which prevent optimisation of subqueries during view creation before derived processing so subquery will be correctly printed in the view .frm.
-
- 08 Sep, 2017 5 commits
-
-
Marko Mäkelä authored
-
Marko Mäkelä authored
trx_undo_assign_undo(): Restore the fault injection.
-
Marko Mäkelä authored
Import the test innodb.alter_crash
-
Marko Mäkelä authored
The redo log is divided into 512-byte blocks. Sometimes, some of the strings end up at a block boundary and will not be found. Look for only one match.
-
Vladislav Vaintroub authored
-
- 07 Sep, 2017 1 commit
-
-
Vladislav Vaintroub authored
full server recovery is performed . We start "mysqld" with --bootstrap and pass bootstrap script consisting of several FLUSH TABLES FOR export/ UNLOCK TABLES
-