Icon View Incident Report

Minor Minor
Reported By: Lucian Radulescu
Reported On: 7/10/2009
For: Version 4.28 Build 4
# 3032 Internal Table Name Comparisons Invalid for Table Exists Functionality

While I was debugging some code I was inspecting the code for CompareDataTables, in dbisamen.pas, which looks like the following. At this point though, the DataTable.TableName does not have the extension, while the TableName has it. TDataDirectory.DataTableExists adds the extension (EnsureFileExt) before calling FindDataTable.

function CompareDataTables(DataTable: TDataTable; const TableName: ShortString): Integer;
begin
   Result:=OSCompareFileNames(Trim(DataTable.TableName),Trim(TableName));
end;



Resolution Resolution
Fixed Problem on 7/12/2009 in version 4.28 build 5


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