mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Changed mysql-test to print warnings for not existing table to DROP TABLE
Cleaned up test; Removed wrong DROP TABLE commands and use standard table and database names. changed store_warning() -> push_warning_print()
This commit is contained in:
@ -2,7 +2,10 @@
|
||||
# Test of refering to old values
|
||||
#
|
||||
|
||||
--disable_warnings
|
||||
drop table if exists t1;
|
||||
--enable_warnings
|
||||
|
||||
create table t1 (a int not null);
|
||||
insert into t1 values (1);
|
||||
insert into t1 values (a+2);
|
||||
@ -54,9 +57,11 @@ drop table t1;
|
||||
# Test of mysqld crash with fully qualified column names
|
||||
#
|
||||
|
||||
drop database if exists foo;
|
||||
create database foo;
|
||||
use foo;
|
||||
--disable_warnings
|
||||
drop database if exists test_$1;
|
||||
--enable_warnings
|
||||
create database test_$1;
|
||||
use test_$1;
|
||||
create table t1 (c int);
|
||||
insert into foo.t1 set foo.t1.c = '1';
|
||||
drop database foo;
|
||||
insert into test_$1.t1 set test_$1.t1.c = '1';
|
||||
drop database test_$1;
|
||||
|
Reference in New Issue
Block a user