diff options
author | unknown <ramil@ram-book.(none)> | 2005-05-13 16:44:14 +0500 |
---|---|---|
committer | unknown <ramil@ram-book.(none)> | 2005-05-13 16:44:14 +0500 |
commit | c07f07c3e678f5f99bfd8ccf5c77cd4117758118 (patch) | |
tree | 0be80257f620a71ccca5b2083ac05c487bbc1bb6 /mysql-test/r/type_ranges.result | |
parent | 68768185734824a9dffeea5656f2fb5280d1f3a1 (diff) | |
download | mariadb-git-c07f07c3e678f5f99bfd8ccf5c77cd4117758118.tar.gz |
a fix (bug #6267: ENUM ... NOT NULL w/o default treated differently than other data types).
the behavior of enum changed to be consistent.
mysql-test/r/system_mysql_db.result:
a fix (bug #6267: ENUM ... NOT NULL w/o default treated differently than other data types).
mysql-test/r/type_enum.result:
a fix (bug #6267: ENUM ... NOT NULL w/o default treated differently than other data types).
mysql-test/r/type_ranges.result:
a fix (bug #6267: ENUM ... NOT NULL w/o default treated differently than other data types).
sql/sql_insert.cc:
a fix (bug #6267: ENUM ... NOT NULL w/o default treated differently than other data types).
Don't issue warnings for enum fields.
sql/sql_parse.cc:
a fix (bug #6267: ENUM ... NOT NULL w/o default treated differently than other data types).
set NO_DEFAULT_VALUE_FLAG flag for enum fields as well.
Diffstat (limited to 'mysql-test/r/type_ranges.result')
-rw-r--r-- | mysql-test/r/type_ranges.result | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/r/type_ranges.result b/mysql-test/r/type_ranges.result index b30e41f00d3..3da8d76e0f2 100644 --- a/mysql-test/r/type_ranges.result +++ b/mysql-test/r/type_ranges.result @@ -62,7 +62,7 @@ blob_col blob NULL YES NULL # tinyblob_col tinyblob NULL YES NULL # mediumblob_col mediumblob NULL NO # longblob_col longblob NULL NO # -options enum('one','two','tree') latin1_swedish_ci NO MUL one # +options enum('one','two','tree') latin1_swedish_ci NO MUL # flags set('one','two','tree') latin1_swedish_ci NO # show keys from t1; Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment @@ -231,7 +231,7 @@ date_time datetime NULL YES NULL # new_blob_col varchar(20) latin1_swedish_ci YES NULL # tinyblob_col tinyblob NULL YES NULL # mediumblob_col mediumblob NULL NO # -options enum('one','two','tree') latin1_swedish_ci NO MUL one # +options enum('one','two','tree') latin1_swedish_ci NO MUL # flags set('one','two','tree') latin1_swedish_ci NO # new_field char(10) latin1_swedish_ci NO new # show full columns from t2; |