diff options
author | unknown <jani@a193-229-222-105.elisa-laajakaista.fi> | 2005-09-13 01:44:50 +0300 |
---|---|---|
committer | unknown <jani@a193-229-222-105.elisa-laajakaista.fi> | 2005-09-13 01:44:50 +0300 |
commit | 4d29b85d1415f693e20215d159cb3513eba84aad (patch) | |
tree | 6414cd373698630a269c9bfce92b5710c9a2ef24 /mysql-test/r/create.result | |
parent | b33da62c5ea7e179beef7bdfead216168997bb36 (diff) | |
download | mariadb-git-4d29b85d1415f693e20215d159cb3513eba84aad.tar.gz |
Merged from 4.1 to 5.0.
Diffstat (limited to 'mysql-test/r/create.result')
-rw-r--r-- | mysql-test/r/create.result | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/mysql-test/r/create.result b/mysql-test/r/create.result index a463fb309f9..3e7c9d6eb4a 100644 --- a/mysql-test/r/create.result +++ b/mysql-test/r/create.result @@ -278,16 +278,16 @@ create table t1 (a int not null, b int, primary key (a)); insert into t1 values (1,1); create table if not exists t1 select 2; Warnings: -Warning 1364 Field 'a' doesn't have a default value Note 1050 Table 't1' already exists +Warning 1364 Field 'a' doesn't have a default value select * from t1; a b 1 1 0 2 create table if not exists t1 select 3 as 'a',4 as 'b'; Warnings: -Warning 1364 Field 'a' doesn't have a default value Note 1050 Table 't1' already exists +Warning 1364 Field 'a' doesn't have a default value create table if not exists t1 select 3 as 'a',3 as 'b'; ERROR 23000: Duplicate entry '3' for key 1 select * from t1; @@ -621,6 +621,13 @@ create table test.t1 like x; ERROR 42000: Incorrect database name 'NULL' drop table if exists test.t1; create database mysqltest; +use mysqltest; +create view v1 as select 'foo' from dual; +create table t1 like v1; +ERROR HY000: 'mysqltest.v1' is not BASE TABLE +drop view v1; +drop database mysqltest; +create database mysqltest; create database if not exists mysqltest character set latin2; Warnings: Note 1007 Can't create database 'mysqltest'; database exists @@ -634,9 +641,3 @@ create table if not exists t1 (a int); Warnings: Note 1050 Table 't1' already exists drop table t1; -use mysqltest; -create view v1 as select 'foo' from dual; -create table t1 like v1; -ERROR HY000: 'mysqltest.v1' is not BASE TABLE -drop view v1; -drop database mysqltest; |