mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge mysql.com:/home/hf/work/32247/my51-32247
into mysql.com:/home/hf/work/mrg/my51-mrg
This commit is contained in:
@ -1577,4 +1577,25 @@ INSERT INTO t1 (int_column, char_column) VALUES
|
||||
SELECT * FROM t1 ORDER BY char_column DESC;
|
||||
DROP TABLE t1;
|
||||
|
||||
#
|
||||
# Bug #32247 Test reports wrong value of "AUTO_INCREMENT" (on a partitioned InnoDB table)
|
||||
#
|
||||
|
||||
CREATE TABLE t1(id MEDIUMINT NOT NULL AUTO_INCREMENT,
|
||||
user CHAR(25), PRIMARY KEY(id))
|
||||
PARTITION BY RANGE(id)
|
||||
SUBPARTITION BY hash(id) subpartitions 2
|
||||
(PARTITION pa1 values less than (10),
|
||||
PARTITION pa2 values less than (20),
|
||||
PARTITION pa11 values less than MAXVALUE);
|
||||
--disable_query_log
|
||||
let $n= 15;
|
||||
while ($n)
|
||||
{
|
||||
insert into t1 (user) values ('mysql');
|
||||
dec $n;
|
||||
}
|
||||
--enable_query_log
|
||||
show create table t1;
|
||||
drop table t1;
|
||||
--echo End of 5.1 tests
|
||||
|
Reference in New Issue
Block a user