Fix a number of trivial test failures by updating error message:
"Unknown table tbl" is now "Unknown table database.tbl" (part#3)
This commit is contained in:
parent
b83c2bc688
commit
c7020dfd70
@ -2,7 +2,7 @@ drop table if exists t1;
|
||||
drop database if exists mysqltest;
|
||||
drop database if exists client_test_db;
|
||||
drop table t1;
|
||||
ERROR 42S02: Unknown table 't1'
|
||||
ERROR 42S02: Unknown table 'test.t1'
|
||||
create table t1(n int);
|
||||
insert into t1 values(1);
|
||||
create temporary table t1( n int);
|
||||
@ -30,13 +30,13 @@ table7, table8, table9, table10, table11, table12, table13,
|
||||
table14, table15, table16, table17, table18, table19, table20,
|
||||
table21, table22, table23, table24, table25, table26, table27,
|
||||
table28;
|
||||
ERROR 42S02: Unknown table 'table1,table2,table3,table4,table5,table6,table7,table8,table9,table10,table11,table12,table13,table'
|
||||
ERROR 42S02: Unknown table 'mysqltest.table1,mysqltest.table2,mysqltest.table3,mysqltest.table4,mysqltest.table5,mysqltest.table'
|
||||
drop table table1, table2, table3, table4, table5, table6,
|
||||
table7, table8, table9, table10, table11, table12, table13,
|
||||
table14, table15, table16, table17, table18, table19, table20,
|
||||
table21, table22, table23, table24, table25, table26, table27,
|
||||
table28, table29, table30;
|
||||
ERROR 42S02: Unknown table 'table1,table2,table3,table4,table5,table6,table7,table8,table9,table10,table11,table12,table13,table'
|
||||
ERROR 42S02: Unknown table 'mysqltest.table1,mysqltest.table2,mysqltest.table3,mysqltest.table4,mysqltest.table5,mysqltest.table'
|
||||
use test;
|
||||
drop database mysqltest;
|
||||
flush tables with read lock;
|
||||
@ -154,10 +154,10 @@ End of 5.1 tests
|
||||
# --
|
||||
DROP TABLE IF EXISTS t1;
|
||||
DROP TABLE t1;
|
||||
ERROR 42S02: Unknown table 't1'
|
||||
ERROR 42S02: Unknown table 'test.t1'
|
||||
SHOW WARNINGS;
|
||||
Level Code Message
|
||||
Error 1051 Unknown table 't1'
|
||||
Error 1051 Unknown table 'test.t1'
|
||||
|
||||
# --
|
||||
# -- End of Bug#37431.
|
||||
|
@ -712,7 +712,7 @@ count(*)
|
||||
DROP TABLE t2;
|
||||
drop table if exists t1;
|
||||
Warnings:
|
||||
Note 1051 Unknown table 't1'
|
||||
Note 1051 Unknown table 'test.t1'
|
||||
CREATE TABLE t1 (a geometry NOT NULL, SPATIAL (a));
|
||||
INSERT INTO t1 VALUES (GeomFromText("LINESTRING(100 100, 200 200, 300 300)"));
|
||||
INSERT INTO t1 VALUES (GeomFromText("LINESTRING(100 100, 200 200, 300 300)"));
|
||||
|
@ -10,4 +10,4 @@ create table t1 (a int) engine=myisam;
|
||||
drop table t1;
|
||||
Got one of the listed errors
|
||||
drop table t1;
|
||||
ERROR 42S02: Unknown table 't1'
|
||||
ERROR 42S02: Unknown table 'test.t1'
|
||||
|
@ -1907,7 +1907,7 @@ INSERT INTO t1 VALUES
|
||||
('2006-09-29 21:50:01',22589,'Verified');
|
||||
DROP TABLE IF EXISTS t2;
|
||||
Warnings:
|
||||
Note 1051 Unknown table 't2'
|
||||
Note 1051 Unknown table 'test.t2'
|
||||
CREATE TABLE t2 (
|
||||
id int(8) NOT NULL,
|
||||
severity tinyint(4) NOT NULL DEFAULT '0',
|
||||
|
@ -56,7 +56,7 @@ ERROR HY000: The MariaDB server is running with the --skip-partition option so i
|
||||
ALTER TABLE t1 PARTITION BY KEY(joined) PARTITIONS 2;
|
||||
ERROR HY000: The MariaDB server is running with the --skip-partition option so it cannot execute this statement
|
||||
drop table t1;
|
||||
ERROR 42S02: Unknown table 't1'
|
||||
ERROR 42S02: Unknown table 'test.t1'
|
||||
CREATE TABLE t1 (
|
||||
firstname VARCHAR(25) NOT NULL,
|
||||
lastname VARCHAR(25) NOT NULL,
|
||||
@ -73,7 +73,7 @@ PARTITION p4 VALUES LESS THAN MAXVALUE
|
||||
);
|
||||
ERROR HY000: The MariaDB server is running with the --skip-partition option so it cannot execute this statement
|
||||
drop table t1;
|
||||
ERROR 42S02: Unknown table 't1'
|
||||
ERROR 42S02: Unknown table 'test.t1'
|
||||
CREATE TABLE t1 (id INT, purchased DATE)
|
||||
PARTITION BY RANGE( YEAR(purchased) )
|
||||
SUBPARTITION BY HASH( TO_DAYS(purchased) )
|
||||
@ -84,7 +84,7 @@ PARTITION p2 VALUES LESS THAN MAXVALUE
|
||||
);
|
||||
ERROR HY000: The MariaDB server is running with the --skip-partition option so it cannot execute this statement
|
||||
drop table t1;
|
||||
ERROR 42S02: Unknown table 't1'
|
||||
ERROR 42S02: Unknown table 'test.t1'
|
||||
create table t1 (a varchar(10) charset latin1 collate latin1_bin);
|
||||
insert into t1 values (''),(' '),('a'),('a '),('a ');
|
||||
explain partitions select * from t1 where a='a ' OR a='a';
|
||||
|
@ -74,7 +74,7 @@ In proc_bottom()
|
||||
In proc_bottom()
|
||||
Doing something that fail (simulate an error) ...
|
||||
Doing something that fail (simulate an error) ...
|
||||
ERROR 42S02: Unknown table 'no_such_table'
|
||||
ERROR 42S02: Unknown table 'demo.no_such_table'
|
||||
call proc_top_a(3);
|
||||
Starting ...
|
||||
Starting ...
|
||||
@ -167,7 +167,7 @@ Doing something that fail (simulate an error) ...
|
||||
Doing something that fail (simulate an error) ...
|
||||
Doing cleanup !
|
||||
Doing cleanup !
|
||||
ERROR 42S02: Unknown table 'no_such_table'
|
||||
ERROR 42S02: Unknown table 'demo.no_such_table'
|
||||
call proc_top_b(3);
|
||||
Starting ...
|
||||
Starting ...
|
||||
|
@ -249,7 +249,7 @@ drop procedure p1|
|
||||
drop table if exists t1|
|
||||
drop table if exists t2|
|
||||
Warnings:
|
||||
Note 1051 Unknown table 't2'
|
||||
Note 1051 Unknown table 'test.t2'
|
||||
create table t1 (id integer primary key auto_increment,
|
||||
stmt_text char(35), status varchar(20))|
|
||||
insert into t1 (stmt_text) values
|
||||
|
@ -2174,7 +2174,7 @@ FROM t1 AS alias1
|
||||
) IS NOT NULL;
|
||||
ERROR 21000: Subquery returns more than 1 row
|
||||
DROP TABLE t2;
|
||||
ERROR 42S02: Unknown table 't2'
|
||||
ERROR 42S02: Unknown table 'test.t2'
|
||||
DROP TABLE t1;
|
||||
#
|
||||
# LP BUG#1000649 EXPLAIN shows incorrectly a non-correlated constant IN subquery is correlated
|
||||
|
Loading…
x
Reference in New Issue
Block a user