Icon View Incident Report

Serious Serious
Reported By: Raul Sinimae
Reported On: 6/23/2023
For: Version 4.50 Build 5
# 4908 DateTimeToAnsiStr Method Not Returning Correct Strings When Seconds Portion is Zero

Ran into something interesting and looks like bug to me .

It's related to using Engine.DateTimeToAnsiStr when building timestamp query.

In "dbisamlb" unit and "AnsiTimeToStr" function milliseconds are ONLY added if seconds are not zero.

In my case the timestamp was "2023-04-24 12-57-00.553" and i ended up with clause of "CREATE_TIME <= '2023-04-24 12:57'" which of course finds no records since record was 553 msec further in the future.



Resolution Resolution
Fixed Problem on 6/25/2023 in version 4.50 build 6


Products Affected Products Affected
DBISAM Additional Software and Utilities
DBISAM ODBC Client-Server
DBISAM ODBC Client-Server with Source
DBISAM ODBC Standard
DBISAM ODBC Standard with Source
DBISAM ODBC Trial
DBISAM VCL Client-Server
DBISAM VCL Client-Server with Source
DBISAM VCL Standard
DBISAM VCL Standard with Source
DBISAM VCL Trial

Image