summaryrefslogtreecommitdiff
path: root/mysql-test/t/create.test
diff options
context:
space:
mode:
authormonty@mysql.com <>2006-01-06 01:08:48 +0200
committermonty@mysql.com <>2006-01-06 01:08:48 +0200
commitb0a5ea01ef4a9ba0f41c2c263b3cc53a0611fc1a (patch)
tree14416e5a83f9880e39f89a0bf5f03a8613ef7ce0 /mysql-test/t/create.test
parentb197c9abea9fdce0a595449f393520eb8354e784 (diff)
parent6e22e29de669b95aefc4f5f7ce46420e52c99870 (diff)
downloadmariadb-git-b0a5ea01ef4a9ba0f41c2c263b3cc53a0611fc1a.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/my/mysql-5.0
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 4e99b0c4b8b..162db3d0c0a 100644
--- a/mysql-test/t/create.test
+++ b/mysql-test/t/create.test
@@ -566,6 +566,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 ;