summaryrefslogtreecommitdiff
path: root/mysql-test/r/strict.result
diff options
context:
space:
mode:
authorunknown <gluh@eagle.intranet.mysql.r18.ru>2006-05-23 13:27:45 +0500
committerunknown <gluh@eagle.intranet.mysql.r18.ru>2006-05-23 13:27:45 +0500
commitfc2e96ee7b5bf2c0370310c12ec260705dfe0318 (patch)
tree31aa349670df620266f221cd9fb26ce00b18d335 /mysql-test/r/strict.result
parent2d98d2438b94bb4e8a829d507cfddef466ad4388 (diff)
downloadmariadb-git-fc2e96ee7b5bf2c0370310c12ec260705dfe0318.tar.gz
Fix for bug#17626 CREATE TABLE ... SELECT failure with TRADITIONAL SQL mode
transfer NO_DEFAULT_VALUE_FLAG flag to new field mysql-test/r/strict.result: Fix for bug#17626 CREATE TABLE ... SELECT failure with TRADITIONAL SQL mode test case mysql-test/r/type_ranges.result: Fix for bug#17626 CREATE TABLE ... SELECT failure with TRADITIONAL SQL mode result fix mysql-test/t/strict.test: Fix for bug#17626 CREATE TABLE ... SELECT failure with TRADITIONAL SQL mode test case
Diffstat (limited to 'mysql-test/r/strict.result')
-rw-r--r--mysql-test/r/strict.result10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/r/strict.result b/mysql-test/r/strict.result
index 2b1a47ed337..271cd7bf486 100644
--- a/mysql-test/r/strict.result
+++ b/mysql-test/r/strict.result
@@ -1288,3 +1288,13 @@ ERROR 22001: Data too long for column 'a' at row 1
select * from t1;
a
drop table t1;
+set sql_mode='traditional';
+create table t1 (date date not null);
+create table t2 select date from t1;
+show create table t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `date` date NOT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+drop table t2,t1;
+set @@sql_mode= @org_mode;