mariadb/mysql-test/r/func_if.result
monty@hundin.mysql.fi b779b63862 Fixed problem with BIGINT and shutdown on AIX
Moved IF(test,column,NULL) code to 4.0
Changed mysys_priv.h to include my_pthread.h or my_no_pthread.h.
Removed some CR's in os2 files.
2002-08-12 03:28:02 +03:00

37 lines
282 B
Text

IF(0,"ERROR","this") IF(1,"is","ERROR") IF(NULL,"ERROR","a") IF(1,2,3)|0 IF(1,2.0,3.0)+0
this is a 2 2.0
s
a
A
a
aa
AA
aaa
BBB
s
a
A
a
aa
AA
aaa
BBB
s
A
AA
BBB
a
a
aa
aaa
s
A
AA
a
a
aa
aaa
sum(if(num is null,0.00,num))
144.54
min(if(y -x > 5,y,NULL)) max(if(y - x > 5,y,NULL))
16 6