#1 2018-07-28 08:50:20

delphi_911
Member
Registered: 2018-06-11
Posts: 31

SynDB - ToDataSet Error

In MSSQL DB: A table has 13 columns, all type are int. There are 30 rows, All fields have null data but Field1 and Field2.
If exec 'select * from tbl' , break here:


//---------------------------------------------------------------------------
Line:
procedure TSQLDBProxyStatementAbstract.IntHeaderProcess(Data: PByte; DataLen: integer);
...
...
   if (fColumnCount>sizeof(TSQLDBProxyStatementColumns)shl 3) or
       (cardinal(fDataRowCount)>=cardinal(DataLen) div cardinal(fColumnCount)) then
      break;
...
//---------------------------------------------------------------------------

Kind Regards.

Last edited by delphi_911 (2018-07-28 08:51:23)

Offline

Board footer

Powered by FluxBB