~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/errors.result

  • Committer: Brian Aker
  • Date: 2010-02-07 01:33:54 UTC
  • Revision ID: brian@gaz-20100207013354-d2pg1n68u5c09pgo
Remove giant include header to its own file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
ERROR 42S22: Unknown column 'b' in 'field list'
25
25
drop table t1;
26
26
create table t1 (a int(256));
27
 
ERROR 42000: Display width out of range for column 'a' (max = 255)
28
 
set sql_mode='traditional';
 
27
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your Drizzle server version for the right syntax to use near '(256))' at line 1
29
28
create table t1 (a varchar(66000));
30
 
ERROR 42000: Column length too big for column 'a' (max = 65535); use BLOB or TEXT instead
31
 
set sql_mode=default;
 
29
ERROR 42000: Column length too big for column 'a' (max = 16383); use BLOB or TEXT instead
32
30
CREATE TABLE t1 (a INT);
33
31
SELECT a FROM t1 WHERE a IN(1, (SELECT IF(1=0,1,2/0)));
34
32
a
 
33
Warnings:
 
34
Error   1365    Division by 0
35
35
INSERT INTO t1 VALUES(1);
36
36
SELECT a FROM t1 WHERE a IN(1, (SELECT IF(1=0,1,2/0)));
37
37
a
38
38
1
 
39
Warnings:
 
40
Error   1365    Division by 0
39
41
INSERT INTO t1 VALUES(2),(3);
40
42
SELECT a FROM t1 WHERE a IN(1, (SELECT IF(1=0,1,2/0)));
41
43
a
42
44
1
 
45
Warnings:
 
46
Error   1365    Division by 0
43
47
DROP TABLE t1;
44
48
CREATE TABLE t1( a INT );
45
49
SELECT b FROM t1;