~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/suite/regression/r/798959.result

  • Committer: Brian Aker
  • Date: 2011-07-14 22:12:02 UTC
  • mto: (2392.1.1 drizzle-autoconf)
  • mto: This revision was merged to the branch mainline in revision 2368.
  • Revision ID: brian@tangent.org-20110714221202-9ov19jp0tmhiovqk
Fixes bug where true/false would not be interpreted correctly/displayed correctly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SELECT IF(true, result_type(1), 'yes');
 
2
IF(true, result_type(1), 'yes')
 
3
INTEGER
 
4
SELECT IF(true, typeof(1), 'yes');
 
5
IF(true, typeof(1), 'yes')
 
6
DRIZZLE_TYPE_LONGLONG
 
7
SELECT IF(true, result_type(true), 'yes');
 
8
IF(true, result_type(true), 'yes')
 
9
INTEGER
 
10
SELECT IF(true, typeof(true), 'yes');
 
11
IF(true, typeof(true), 'yes')
 
12
DRIZZLE_TYPE_LONGLONG
 
13
SELECT IF(true, true, 'yes');
 
14
IF(true, true, 'yes')
 
15
TRUE
 
16
SELECT IF(true, true, '');
 
17
IF(true, true, '')
 
18
TRUE