1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Bug#11028 Crash on create table like

Report error instead of crashing
This commit is contained in:
acurtis@xiphis.org
2005-06-09 16:06:15 +01:00
parent f183ee49eb
commit 304bb0c66d
3 changed files with 27 additions and 5 deletions

View File

@ -580,3 +580,9 @@ ERROR 42000: Incorrect database name 'xyz'
create table t1(t1.name int);
create table t2(test.t2.name int);
drop table t1,t2;
create database mysqltest;
use mysqltest;
drop database mysqltest;
create table test.t1 like x;
ERROR 42000: Incorrect database name 'NULL'
drop table if exists test.t1;