mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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
|
||||
|
@ -22,6 +22,13 @@
|
||||
# #
|
||||
###############################################################################
|
||||
|
||||
###################################################################
|
||||
# BUG#39812: Make statement replication default for 5.1 (to match 5.0)
|
||||
# We just verify that the default binlog_format is STATEMENT in 5.1.
|
||||
# In 6.0, it should be MIXED.
|
||||
###################################################################
|
||||
SELECT @@GLOBAL.binlog_format;
|
||||
|
||||
--echo '#---------------------BS_STVARS_002_01----------------------#'
|
||||
####################################################################
|
||||
# Displaying default value #
|
||||
|
Reference in New Issue
Block a user