mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
2b53b711d8
into mysql.com:/home/timka/mysql/src/5.0-2486-merge mysql-test/r/errors.result: Auto merged mysql-test/r/fulltext.result: Auto merged mysql-test/r/fulltext_order_by.result: Auto merged mysql-test/r/innodb.result: Auto merged mysql-test/r/join_nested.result: Auto merged mysql-test/r/subselect.result: Auto merged mysql-test/t/errors.test: Auto merged mysql-test/t/fulltext.test: Auto merged mysql-test/t/fulltext_order_by.test: Auto merged mysql-test/t/innodb.test: Auto merged mysql-test/t/join_nested.test: Auto merged mysql-test/t/subselect.test: Auto merged sql/item.cc: Auto merged sql/mysql_priv.h: Auto merged sql/sp.cc: Auto merged sql/sql_base.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_delete.cc: Auto merged sql/sql_lex.cc: Auto merged sql/sql_lex.h: Auto merged sql/sql_parse.cc: Auto merged sql/sql_select.cc: Auto merged sql/sql_update.cc: Auto merged sql/sql_yacc.yy: Auto merged sql/table.h: Auto merged tests/mysql_client_test.c: Auto merged sql/sql_insert.cc: merge WL#2486 sql/sql_show.cc: merge WL#2486
30 lines
1.2 KiB
Text
30 lines
1.2 KiB
Text
drop table if exists t1;
|
|
insert into t1 values(1);
|
|
ERROR 42S02: Table 'test.t1' doesn't exist
|
|
delete from t1;
|
|
ERROR 42S02: Table 'test.t1' doesn't exist
|
|
update t1 set a=1;
|
|
ERROR 42S02: Table 'test.t1' doesn't exist
|
|
create table t1 (a int);
|
|
select count(test.t1.b) from t1;
|
|
ERROR 42S22: Unknown column 'test.t1.b' in 'field list'
|
|
select count(not_existing_database.t1) from t1;
|
|
ERROR 42S22: Unknown column 'not_existing_database.t1' in 'field list'
|
|
select count(not_existing_database.t1.a) from t1;
|
|
ERROR 42S22: Unknown column 'not_existing_database.t1.a' 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;
|
|
ERROR 42S22: Unknown column '2' in 'order clause'
|
|
select 1 from t1 group by 2;
|
|
ERROR 42S22: Unknown column '2' in 'group statement'
|
|
select 1 from t1 order by t1.b;
|
|
ERROR 42S22: Unknown column 't1.b' in 'order clause'
|
|
select count(*),b from t1;
|
|
ERROR 42S22: Unknown column 'b' in 'field list'
|
|
drop table t1;
|
|
create table t1 (a int(256));
|
|
ERROR 42000: Display width out of range for column 'a' (max = 255)
|
|
set sql_mode='traditional';
|
|
create table t1 (a varchar(66000));
|
|
ERROR 42000: Column length too big for column 'a' (max = 65535); use BLOB or TEXT instead
|