summaryrefslogtreecommitdiff
path: root/mysql-test/t/create.test
diff options
context:
space:
mode:
authormonty@mysql.com <>2006-01-06 00:47:49 +0200
committermonty@mysql.com <>2006-01-06 00:47:49 +0200
commit6e22e29de669b95aefc4f5f7ce46420e52c99870 (patch)
treecd157631ca39d533f8aa37ebb570f304e91c81e2 /mysql-test/t/create.test
parent88eee63d8c02e5a4b3ac39c0ed31794dcf243a29 (diff)
downloadmariadb-git-6e22e29de669b95aefc4f5f7ce46420e52c99870.tar.gz
Review fixes of new pushed code
- Fixed tests - Optimized new code - Fixed some unlikely core dumps - Better bug fixes for: - #14397 - OPTIMIZE TABLE with an open HANDLER causes a crash - #14850 (ERROR 1062 when a quering a view using a Group By on a column that can be null
Diffstat (limited to 'mysql-test/t/create.test')
-rw-r--r--mysql-test/t/create.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/t/create.test b/mysql-test/t/create.test
index 470a7bcbb59..fcbdff7ec5b 100644
--- a/mysql-test/t/create.test
+++ b/mysql-test/t/create.test
@@ -573,6 +573,22 @@ drop table t1;
--warning 1364
create table t1 (
+ a varchar(12) charset utf8 collate utf8_bin not null,
+ b int not null, primary key (a)
+) select a, 1 as c from t2 ;
+show create table t1;
+drop table t1;
+
+--warning 1364
+create table t1 (
+ a varchar(12) charset utf8 collate utf8_bin not null,
+ b int null, primary key (a)
+) select a, 1 as c from t2 ;
+show create table t1;
+drop table t1;
+
+--warning 1364
+create table t1 (
a varchar(12) charset utf8 collate utf8_bin not null,
b int not null, primary key (a)
) select 'a' as a , 1 as b from t2 ;