mirror of
https://github.com/MariaDB/server.git
synced 2025-11-09 11:41:36 +03:00
Simple misc cases - warnings
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
--disable_warnings
|
||||
drop table if exists t1,t2;
|
||||
drop table if exists t1,t2,t3;
|
||||
--enable_warnings
|
||||
|
||||
create table t1 (b char(0));
|
||||
|
||||
@@ -19,3 +19,10 @@ set SQL_WARNINGS=0;
|
||||
# Test other warnings
|
||||
|
||||
drop temporary table if exists not_exists;
|
||||
drop table if exists not_exists_table;
|
||||
show warnings limit 1;
|
||||
drop database if exists not_exists_db;
|
||||
show count(*) warnings;
|
||||
create table t1(id int);
|
||||
create table if not exists t1(id int);
|
||||
select @@warning_count;
|
||||
|
||||
Reference in New Issue
Block a user