~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/t/bool.test

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
SELECT * FROM t1 where (1 AND a)=1;
21
21
SELECT * FROM t1 where (1 AND a) IS NULL;
22
22
 
 
23
# WL#638 - Behaviour of NOT does not follow SQL specification
 
24
set sql_mode='high_not_precedence';
 
25
select * from t1 where not a between 2 and 3;
 
26
set sql_mode=default;
 
27
select * from t1 where not a between 2 and 3;
 
28
 
23
29
# SQL boolean tests
24
30
select a, a is false, a is true, a is unknown from t1;
25
31
select a, a is not false, a is not true, a is not unknown from t1;