~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/func_if.test

  • Committer: Lee Bieber
  • Date: 2008-11-21 21:52:58 UTC
  • mto: (590.2.7 devel)
  • mto: This revision was merged to the branch mainline in revision 603.
  • Revision ID: lb4072@soe-t2000-8-20081121215258-s86ky54w5r676o4q
changes to get build working on Solaris

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
#
15
15
# Test of IF and case-sensitiveness
16
16
#
17
 
CREATE TEMPORARY TABLE t1 (st varchar(255) NOT NULL, u int NOT NULL) ENGINE=MyISAM;
 
17
CREATE TABLE t1 (st varchar(255) NOT NULL, u int NOT NULL) ENGINE=MyISAM;
18
18
INSERT INTO t1 VALUES ('a',1),('A',1),('aa',1),('AA',1),('a',1),('aaa',0),('BBB',0);
19
19
select if(1,st,st) s from t1 order by s;
20
20
select if(u=1,st,st) s from t1 order by s;