IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42354


Ignore:
Timestamp:
Feb 3, 2023, 11:16:00 AM (3 years ago)
Author:
eugene
Message:

mysql removed my_bool in version 8.0.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20220316/psLib/src/db/psDB.c

    r42353 r42354  
    5656
    5757
    58 # if (MYSQL_VERSION_ID > 57000)
     58# if (MYSQL_VERSION_ID >= 80000)
    5959    # define MYSQL_BOOL bool
    6060# else
     
    761761    // XXX EAM 2022.03.15 : at least in mysql 8.0.28, my_bool is gone and just bool is used
    762762    // in 5.0 and 5.6, my_bool is char
     763    //
    763764    return !(bool)mysql_autocommit(dbh->mysql, !mode);
    764765}
Note: See TracChangeset for help on using the changeset viewer.