| 1 |
CREATE TABLE t (c BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY) ENGINE=MEMORY PARTITION BY KEY(); |
| 2 |
INSERT INTO t VALUES (18446744073709551615); |
| 3 |
select * from t; |
| 4 |
c |
| 5 |
18446744073709551615 |
| 6 |
drop table t; |
| 7 |
CREATE TABLE t (c BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY) ENGINE=MEMORY; |
| 8 |
INSERT INTO t VALUES (18446744073709551615); |
| 9 |
ALTER TABLE t PARTITION BY KEY(); |
| 10 |
INSERT INTO t VALUES (1); |
| 11 |
select * from t; |
| 12 |
c |
| 13 |
18446744073709551615 |
| 14 |
1 |
| 15 |
drop table t; |
| 16 |
CREATE TABLE t (c BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY) ENGINE=MEMORY; |
| 17 |
INSERT INTO t VALUES (18446744073709551615); |
| 18 |
ALTER TABLE t PARTITION BY KEY(); |
| 19 |
INSERT INTO t VALUES (NULL); |
| 20 |
ERROR HY000: Failed to read auto-increment value from storage engine |
| 21 |
select * from t; |
| 22 |
c |
| 23 |
18446744073709551615 |
| 24 |
drop table t; |