~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/derived.test

  • Committer: Lee Bieber
  • Date: 2011-01-26 04:38:57 UTC
  • mfrom: (2115.1.2 drizzle-build)
  • Revision ID: kalebral@gmail.com-20110126043857-d5oegxrszux47793
Merge Brian - Merge in latest catalog changes
Merge Brian remove error numbers in tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
--enable_warnings
5
5
 
6
6
select * from (select 2) b;
 
7
--error ER_BAD_FIELD_ERROR
7
8
SELECT 1 as a FROM (SELECT 1 UNION SELECT a) b;
 
9
--error ER_BAD_FIELD_ERROR
8
10
SELECT 1 as a FROM (SELECT a UNION SELECT 1) b;
9
11
CREATE TABLE t1 (a int not null, b char (10) not null);
10
12
insert into t1 values(1,'a'),(2,'b'),(3,'c'),(3,'c');
105
105
#
106
106
create table t1 (a int);
107
107
insert into t1 values (1),(2),(3);
 
108
--error ER_PARSE_ERROR
108
109
delete from (select * from t1);
 
110
--error ER_PARSE_ERROR
109
111
insert into  (select * from t1) values (5);
110
112
drop table t1;
111
113