~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/errors.test

  • Committer: Andrew Hutchings
  • Date: 2011-02-07 17:20:59 UTC
  • mfrom: (2148 staging)
  • mto: (2148.2.3 build)
  • mto: This revision was merged to the branch mainline in revision 2149.
  • Revision ID: andrew@linuxjedi.co.uk-20110207172059-dyeahrgzrlincoe3
Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
--disable_warnings
6
6
drop table if exists t1;
7
7
--enable_warnings
8
 
--error ER_NO_SUCH_TABLE
 
8
--error ER_TABLE_UNKNOWN
9
9
insert into t1 values(1);
10
 
--error ER_NO_SUCH_TABLE
 
10
--error ER_TABLE_UNKNOWN
11
11
delete from t1;
12
 
--error ER_NO_SUCH_TABLE
 
12
--error ER_TABLE_UNKNOWN
13
13
update t1 set a=1;
14
14
create table t1 (a int);
15
15
--error ER_BAD_FIELD_ERROR
18
18
select count(not_existing_database.t1) from t1;
19
19
--error ER_BAD_FIELD_ERROR
20
20
select count(not_existing_database.t1.a) from t1;
21
 
--error ER_DBACCESS_DENIED_ERROR, ER_NO_SUCH_TABLE
 
21
--error ER_DBACCESS_DENIED_ERROR, ER_TABLE_UNKNOWN
22
22
select count(not_existing_database.t1.a) from not_existing_database.t1;
23
23
--error ER_BAD_FIELD_ERROR
24
24
select 1 from t1 order by 2;