mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
3f7dfc4df3
mysql-test/r/errors.result: Rename: mysql-test/r/err000001.result -> mysql-test/r/errors.result include/my_global.h: typedef for future functions that needs string length as an argument innobase/os/os0file.c: Added operation to error messages mysql-test/t/errors.test: Cleaned up file to new error number standard mysys/thr_alarm.c: Made end_thr_alarm() work also with internal alarm thread. (Not critical for MySQL) sql/mysqld.cc: Added sigemptyset() (bug found by valgrind) Removed some wrong usage of thd when writing variable values
25 lines
867 B
Text
25 lines
867 B
Text
drop table if exists t1;
|
|
insert into t1 values(1);
|
|
Table 'test.t1' doesn't exist
|
|
delete from t1;
|
|
Table 'test.t1' doesn't exist
|
|
update t1 set a=1;
|
|
Table 'test.t1' doesn't exist
|
|
create table t1 (a int);
|
|
select count(test.t1.b) from t1;
|
|
Unknown column 'test.t1.b' in 'field list'
|
|
select count(not_existing_database.t1) from t1;
|
|
Unknown table 'not_existing_database' in field list
|
|
select count(not_existing_database.t1.a) from t1;
|
|
Unknown table 'not_existing_database.t1' in field list
|
|
select count(not_existing_database.t1.a) from not_existing_database.t1;
|
|
Got one of the listed errors
|
|
select 1 from t1 order by 2;
|
|
Unknown column '2' in 'order clause'
|
|
select 1 from t1 group by 2;
|
|
Unknown column '2' in 'group statement'
|
|
select 1 from t1 order by t1.b;
|
|
Unknown column 't1.b' in 'order clause'
|
|
select count(*),b from t1;
|
|
Unknown column 'b' in 'field list'
|
|
drop table t1;
|