mariadb/storage/innobase
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
eval
fil cmake: re-enable -Werror in the maintainer mode 2019-03-27 22:51:37 +01:00
fsp MDEV-16283 ALTER TABLE...DISCARD TABLESPACE still takes long on a large buffer pool 2018-05-29 14:00:20 +03:00
fts Rebuild the InnoDB lexical analyzers with flex 2.6.4 2019-04-01 13:03:18 +03:00
fut
ha
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-17003 service_manager_extend_timeout() being called too often 2018-08-21 12:33:40 +03:00
mach
mem Merge 5.5 into 10.0 2018-03-20 18:36:03 +02:00
mtr
mysql-test/storage_engine Fix for MDEV-17449, typo in error message (#1146) 2019-03-24 21:24:28 +04:00
os cmake: re-enable -Werror in the maintainer mode 2019-03-27 22:51:37 +01: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
read MDEV-15772 Potential list overrun during XA recovery 2019-04-24 11:46:14 +03: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
trx Merge 5.5 into 10.1 2019-04-24 12:03:11 +03:00
usr
ut MDEV-18662 ib_wqueue_t has a data race 2019-02-21 12:23:47 +02:00
CMakeLists.txt Merge 10.0 into 10.1 2019-03-27 11:56:08 +02:00
compile-innodb
COPYING.Google
COPYING.Percona
Doxyfile
ha_innodb.def
plugin_exports