diff options
author | unknown <gluh@mysql.com> | 2006-05-25 19:20:34 +0500 |
---|---|---|
committer | unknown <gluh@mysql.com> | 2006-05-25 19:20:34 +0500 |
commit | 644efa51db79c53a017fe5d99a8d271147537740 (patch) | |
tree | 777606563931381e6e7f0e7ce6aec9a5a7200727 /mysql-test/t/strict.test | |
parent | 52078846fc635b913c2090c20adc18e1f06c9e56 (diff) | |
parent | fc2e96ee7b5bf2c0370310c12ec260705dfe0318 (diff) | |
download | mariadb-git-644efa51db79c53a017fe5d99a8d271147537740.tar.gz |
after merge fix
mysql-test/r/strict.result:
Auto merged
mysql-test/r/type_ranges.result:
Auto merged
mysql-test/t/strict.test:
Auto merged
sql/sql_select.cc:
Auto merged
sql/sql_show.cc:
Auto merged
mysql-test/r/information_schema.result:
manual merge
mysql-test/t/information_schema.test:
manual merge
Diffstat (limited to 'mysql-test/t/strict.test')
-rw-r--r-- | mysql-test/t/strict.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/strict.test b/mysql-test/t/strict.test index 54260b09331..212150e057c 100644 --- a/mysql-test/t/strict.test +++ b/mysql-test/t/strict.test @@ -1145,3 +1145,13 @@ create table t1(a bit(2)); insert into t1 values(b'101'); select * from t1; drop table t1; + +# +# Bug#17626 CREATE TABLE ... SELECT failure with TRADITIONAL SQL mode +# +set sql_mode='traditional'; +create table t1 (date date not null); +create table t2 select date from t1; +show create table t2; +drop table t2,t1; +set @@sql_mode= @org_mode; |