mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Merge from mysql-5.1-5.1.29-rc into mysql-5.1-bugteam
This commit is contained in:
@@ -977,4 +977,14 @@ select (@orig_max_data_length > @changed_max_data_length);
|
||||
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# Bug #23113: Different behavior on altering ENUM fields between 5.0 and 5.1
|
||||
#
|
||||
CREATE TABLE t1(a INT AUTO_INCREMENT PRIMARY KEY,
|
||||
b ENUM('a', 'b', 'c') NOT NULL);
|
||||
INSERT INTO t1 (b) VALUES ('a'), ('c'), ('b'), ('b'), ('a');
|
||||
ALTER TABLE t1 MODIFY b ENUM('a', 'z', 'b', 'c') NOT NULL;
|
||||
SELECT * FROM t1;
|
||||
DROP TABLE t1;
|
||||
|
||||
--echo End of 5.1 tests
|
||||
|
||||
Reference in New Issue
Block a user