mariadb/mysql-test/suite
Anel Husakovic 81870e499f MDEV-21786 mysqldump will forget sequence definition details on --no-data dump
- Original patch was contributed by Jani Tolonen <jani.k.tolonen@gmail.com>
https://github.com/an3l/server/commits/bb-10.3-anel-MDEV-21786-dump-sequence
which distinguishes data structure (linked list) of sequences from
tables.
- Added standard sql output to prevent future changes
of sequences and disabled locks for sequences.
- Added test case for `MDEV-20070: mysqldump won't work correct on
sequences` where table column depends on sequence value.
- Restore sequence last value in the following way:
  - Find `next_not_cached_value` and use it to `setval()`
  - We just need for logical restore, so don't execute `setval()`
  - `setval()` should be showed also in case of `--no-data` option.

Reviewed-by: daniel@mariadb.org
2020-10-23 09:06:56 +02:00
..
archive
binlog Merge 10.2 into 10.3 2020-10-22 08:26:28 +03:00
binlog_encryption MDEV-16372 ER_BASE64_DECODE_ERROR upon replaying binary log via mysqlbinlog --verbose 2020-08-31 18:45:14 +03:00
compat MDEV-19632 Replication aborts with ER_SLAVE_CONVERSION_FAILED upon CREATE ... SELECT in ORACLE mode 2020-08-01 07:43:50 +04:00
csv Fixed errors found by MSAN 2020-07-02 23:50:56 +03:00
encryption Merge 10.2 into 10.3 2020-10-22 08:26:28 +03:00
engines Merge branch '10.2' into 10.3 2020-08-03 13:41:29 +02:00
federated MDEV-16937 Strict SQL with system versioned tables causes issues 2020-05-28 22:22:20 +03:00
funcs_1 Merge 10.2 into 10.3 2020-10-22 08:26:28 +03:00
funcs_2 Merge 10.2 into 10.3 2020-07-02 06:17:51 +03:00
galera Merge 10.2 into 10.3 2020-10-22 08:26:28 +03:00
galera_3nodes MDEV-23659: Update Galera disabled.def file 2020-10-15 13:49:34 +02:00
gcol Merge 10.2 into 10.3 2020-10-22 08:26:28 +03:00
handler
heap Merge 10.2 into 10.3 2020-04-15 09:56:03 +03:00
innodb Merge 10.2 into 10.3 2020-10-22 08:26:28 +03:00
innodb_fts Merge 10.2 into 10.3 2020-10-22 08:26:28 +03:00
innodb_gis Merge 10.2 into 10.3 2020-04-28 22:29:13 +03:00
innodb_zip Merge 10.2 into 10.3 2020-04-15 09:56:03 +03:00
jp
json
large_tests
maria Merge branch '10.2' into 10.3 2020-08-03 13:41:29 +02:00
mariabackup Merge 10.2 into 10.3 2020-09-21 16:39:23 +03:00
mtr/t
mtr2
multi_source Merge 10.2 into 10.3 2020-08-21 19:18:34 +03:00
optimizer_unfixed_bugs
parts MDEV-23248 Server crashes in mi_extra / ha_partition::loop_extra_alter upon REORGANIZE 2020-10-16 19:48:36 +03:00
perfschema
perfschema_stress
plugins Merge 10.2 into 10.3 2020-07-31 13:51:28 +03:00
roles Merge 10.2 into 10.3 2020-08-21 19:18:34 +03:00
rpl Merge 10.2 into 10.3 2020-10-22 08:26:28 +03:00
sql_sequence MDEV-21786 mysqldump will forget sequence definition details on --no-data dump 2020-10-23 09:06:56 +02:00
storage_engine Merge 10.2 into 10.3 2020-08-21 19:18:34 +03:00
stress MDEV-22339 - Assertion `str_length < len' failed 2020-06-04 23:52:10 +02:00
sys_vars Merge 10.2 into 10.3 2020-10-22 08:26:28 +03:00
unit
vcol Merge 10.2 into 10.3 2020-09-03 09:26:54 +03:00
versioning MDEV-23968 CREATE TEMPORARY TABLE .. LIKE (system versioned table) returns error if unique index is defined in the table 2020-10-20 10:49:54 +03:00
wsrep Merge 10.2 into 10.3 2020-10-22 08:26:28 +03:00