If a table has a column of type 'bit', I can insert and update data normally, but if I try to use SetSchemaInfo in Delphi 7 to get information about the table's columns and their datatypes, like:
Code: Select all
procedure GetTableStructure(tableName: string);
var
sqd: TSQLDataSet;
begin
sqd := TSQLDataSet.Create;
{ set connection etc. }
sqd.SetSchemaInfo(stColumns, tableName, '');
sqd.Open;
{...}
end;
Code: Select all
Assertion failure (D:\Projects\Delphi\Dbx\MySql\Source\dbxmda.pas, line 1542)