Changeset 42118 for branches/eam_branches/ipp-20220316/psLib/src/db/psDB.c
- Timestamp:
- Mar 16, 2022, 4:56:37 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20220316/psLib/src/db/psDB.c
r41896 r42118 753 753 // the return value also needs to be inverted for the same reason. 754 754 // is it safe to assume my_bool always safely casts to bool? 755 // XXX EAM 2022.03.15 : at least in mysql 8.0.28, my_bool is gone and just bool is used 756 // in 5.0 and 5.6, my_bool is char 755 757 return !(bool)mysql_autocommit(dbh->mysql, !mode); 756 758 } … … 1447 1449 1448 1450 mysqlType *mType; // type tmp variable 1449 static my_bool isNull = true; // used in a MYSQL_BIND to indicate NULL 1451 1452 // XXX EAM 2022.03.15 : at least in mysql 8.0.28, my_bool is gone and just bool is used 1453 // in 5.0 and 5.6, my_bool is char 1454 static bool isNull = true; // used in a MYSQL_BIND to indicate NULL 1450 1455 1451 1456 MYSQL_BIND *bind = mysqlRow->bind; … … 1602 1607 // assume for the time being that we don't have negative 1603 1608 // time as ISO8601 doesn't support dates prior to 0 1604 myTime->neg = (my_bool)false; 1609 // XXX EAM 2022.03.15 : at least in mysql 8.0.28, my_bool is gone and just bool is used 1610 // in 5.0 and 5.6, my_bool is char 1611 myTime->neg = (bool)false; 1605 1612 // currently unused by mysql 1606 1613 myTime->second_part = (unsigned long)time->nsec;
Note:
See TracChangeset
for help on using the changeset viewer.
