Direct SQL - Delphi News
Brought to you by:
whity
I've just discovered an interesting bug ...
When running a query eg: "select afield from atable" and you get a recordset like: "one","","two","three" you will see only the first row.
The fix is in read_rows function while
which should be:
while not (( byte(cp[0]) = 254) and (pkt_len = 1)) do
instead of
while ( byte(cp[0]) <> 254) and (pkt_len <> 1) do
Sorry for inconvenience,
Cristian Nicola
ps: version 1.1 does not have this problem