mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
b2e946136d
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. Docs/manual.texi: Changelog include/global.h: Fix for BIGINT problem on AIX include/my_no_pthread.h: Fixed typo libmysql/Makefile.shared: Fix for BIGINT problem on AIX mysql-test/mysql-test-run.sh: Fix to find xterm on AIX 4.3 mysql-test/r/bigint.result: Fix for BIGINT problem on AIX mysql-test/r/func_if.result: Change results for IF() after reverting change. mysql-test/t/bigint.test: Fix for BIGINT problem on AIX mysys/Makefile.am: Fix for BIGINT problem on AIX mysys/my_gethostbyname.c: Cleanup mysys/my_init.c: Cleanup mysys/my_net.c: Cleanup mysys/my_os2cond.c: Space & CRLF cleanup mysys/my_os2dirsrch.c: Space & CRLF cleanup mysys/my_os2dirsrch.h: Space & CRLF cleanup mysys/my_os2dlfcn.c: Space & CRLF cleanup mysys/my_os2file64.c: Space & CRLF cleanup mysys/my_os2mutex.c: Space & CRLF cleanup mysys/my_os2thread.c: Space & CRLF cleanup mysys/my_os2tls.c: Space & CRLF cleanup mysys/mysys_priv.h: cleanup mysys/thr_rwlock.c: cleanup sql/ha_innobase.cc: Removed usage of sprintf() Fixed missing end \0 which caused control characters to appear in SHOW INNODB STATUS sql/item_cmpfunc.cc: Reverted change for IF() sql/mysqld.cc: Fix for shutdown on AIX
37 lines
282 B
Text
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
|