Changeset 42637
- Timestamp:
- Feb 23, 2024, 10:08:06 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20230313/psLib/src/db/psDB.c
r42500 r42637 1040 1040 fieldCount = mysql_num_fields(result); 1041 1041 1042 psTrace("psLib.db", PS_LOG_INFO, "query returned %lu rows with %d fields", rowCount, fieldCount); 1042 // annoyingly, in some versions of mysql the value my_ulonglong is actually unsigned long long and in others 1043 // it is actually unsigned long. rather than try to set a print type which depends on the build, we just 1044 // cast here to the unsigned long since it is rare that we would need such a large rowCount 1045 psTrace("psLib.db", PS_LOG_INFO, "query returned %lu rows with %d fields", (unsigned long) rowCount, fieldCount); 1043 1046 1044 1047 while ((row = mysql_fetch_row(result))) {
Note:
See TracChangeset
for help on using the changeset viewer.
