mariadb/storage/xtradb
Marko Mäkelä 1cd31bc132 Bug#28573894 ALTER PARTITIONED TABLE ADD AUTO_INCREMENT DIFF RESULT DEPENDING ON ALGORITHM
For partitioned table, ensure that the AUTO_INCREMENT values will
be assigned from the same sequence. This is based on the following
change in MySQL 5.6.44:

commit aaba359c13d9200747a609730dafafc3b63cd4d6
Author: Rahul Malik <rahul.m.malik@oracle.com>
Date:   Mon Feb 4 13:31:41 2019 +0530

    Bug#28573894 ALTER PARTITIONED TABLE ADD AUTO_INCREMENT DIFF RESULT DEPENDING ON ALGORITHM

    Problem:
    When a partition table is in-place altered to add an auto-increment column,
    then its values are starting over for each partition.

    Analysis:
    In the case of in-place alter, InnoDB is creating a new sequence object
    for each partition. It is default initialized. So auto-increment columns
    start over for each partition.

    Fix:
    Assign old sequence of the partition to the sequence of next partition
    so it won't start over.

    RB#21148
    Reviewed by Bin Su <bin.x.su@oracle.com>
2019-04-25 14:12:45 +03:00
..
api Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00
btr cmake: re-enable -Werror in the maintainer mode 2019-03-27 22:51:37 +01:00
buf Fix -Wnonnull-compare 2019-04-03 09:46:49 +03:00
data Fix -Wnonnull-compare 2019-04-03 09:46:49 +03:00
dict Bug #19811005 ALTER TABLE ADD INDEX DOES NOT UPDATE INDEX_LENGTH IN I_S TABLES 2019-04-25 14:12:45 +03:00
dyn Fix compiler error on gcc 6.x and most of the compiler warnings. 2017-04-05 10:50:12 +03:00
eval move to storage/xtradb 2015-05-04 19:15:28 +02:00
fil cmake: re-enable -Werror in the maintainer mode 2019-03-27 22:51:37 +01:00
fsp Merge branch 'merge/merge-xtradb-5.5' into 5.5 2018-10-24 11:09:16 +02:00
fts Rebuild the InnoDB lexical analyzers with flex 2.6.4 2019-04-01 13:03:18 +03:00
fut Part 1 of MDEV-8139 Fix scrubbing tests 2017-01-04 18:21:42 +02:00
ha 5.6.30-76.3 2016-06-21 14:20:09 +02:00
handler Bug#28573894 ALTER PARTITIONED TABLE ADD AUTO_INCREMENT DIFF RESULT DEPENDING ON ALGORITHM 2019-04-25 14:12:45 +03:00
ibuf MDEV-13103 Deal with page_compressed page corruption 2018-06-14 13:46:07 +03:00
include Clean up ib_sequence::m_max_value 2019-04-25 14:12:45 +03:00
lock Merge 5.5 into 10.1 2019-04-24 12:03:11 +03:00
log MDEV-18659: Fix string truncation/overflow in InnoDB and XtraDB 2019-03-06 11:22:27 +02:00
mach 5.5.55-38.8 2017-07-18 19:47:01 +02:00
mem Merge 5.5 into 10.0 2018-03-20 18:36:03 +02:00
mtr Fix compiler error on gcc 6.x and most of the compiler warnings. 2017-04-05 10:50:12 +03:00
mysql-test/storage_engine Merge branch '10.0' into 10.1 2017-08-08 10:18:43 +02:00
os Merge 10.0 into 10.1 2019-01-17 06:40:24 +02:00
page Merge 10.0 into 10.1 2018-12-13 13:37:21 +02:00
pars Omit the definition of unused function yyset_extra() 2019-04-02 08:50:53 +03:00
que 5.6.24-72.2 2015-06-16 11:04:40 +02:00
read move to storage/xtradb 2015-05-04 19:15:28 +02:00
rem Fix -Wnonnull-compare 2019-04-03 09:46:49 +03:00
row Fix -Wnonnull-compare 2019-04-03 09:46:49 +03:00
srv MDEV-18659: Fix string truncation/overflow in InnoDB and XtraDB 2019-03-06 11:22:27 +02:00
sync 5.5.61-38.13 2018-10-24 10:30:31 +02:00
trx Merge 5.5 into 10.1 2019-04-24 12:03:11 +03:00
usr Remove redundant UT_LIST_INIT() calls 2017-05-17 10:33:49 +03:00
ut MDEV-18662 ib_wqueue_t has a data race 2019-02-21 12:23:47 +02:00
.clang-format 5.6.41-84.1 2018-10-27 20:53:19 +02:00
CMakeLists.txt fix gcc 8 compiler warnings 2019-03-14 16:33:17 +01:00
COPYING.Google move to storage/xtradb 2015-05-04 19:15:28 +02:00
COPYING.Percona move to storage/xtradb 2015-05-04 19:15:28 +02:00
Doxyfile move to storage/xtradb 2015-05-04 19:15:28 +02:00
ha_innodb.def move to storage/xtradb 2015-05-04 19:15:28 +02:00