[koha-commits] main Koha release repository branch new/bug_8164 created. v3.08.00-1332-g8dd9294

Git repo owner gitmaster at git.koha-community.org
Thu Nov 29 01:02:45 CET 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, new/bug_8164 has been created
        at  8dd92940bb8f3777f63cddf401e6fc01550173c7 (commit)

- Log -----------------------------------------------------------------
commit 8dd92940bb8f3777f63cddf401e6fc01550173c7
Author: Jonathan Druart <jonathan.druart at biblibre.com>
Date:   Thu Aug 23 16:36:24 2012 +0200

    Bug 8164: Replace IFNULL with COALESCE
    
    mysql> SELECT IFNULL(0, 123);
    +----------------+
    | IFNULL(0, 123) |
    +----------------+
    |              0 |
    +----------------+
    1 row in set (0.00 sec)
    
    mysql> SELECT IFNULL(1, 123);
    +----------------+
    | IFNULL(1, 123) |
    +----------------+
    |              1 |
    +----------------+
    1 row in set (0.00 sec)
    
    mysql> SELECT IFNULL(NULL, 123);
    +-------------------+
    | IFNULL(NULL, 123) |
    +-------------------+
    |               123 |
    +-------------------+
    1 row in set (0.00 sec)
    
    mysql> SELECT COALESCE(0, 123);
    +------------------+
    | COALESCE(0, 123) |
    +------------------+
    |                0 |
    +------------------+
    1 row in set (0.00 sec)
    
    mysql> SELECT COALESCE(1, 123);
    +------------------+
    | COALESCE(1, 123) |
    +------------------+
    |                1 |
    +------------------+
    1 row in set (0.00 sec)
    
    mysql> SELECT COALESCE(NULL, 123);
    +---------------------+
    | COALESCE(NULL, 123) |
    +---------------------+
    |                 123 |
    +---------------------+
    1 row in set (0.00 sec)
    
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>

-----------------------------------------------------------------------


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list