Seems your version doesn't have the required unit. It was added in 12.10.2019. Why not update your FPC? In general, not much efforts are given to support of old FPC versions unlike for Delphi because FPC is free and nothing prevents from upgrading
You're using unofficial repository that is way beyond the current state. The proper one is https://github.com/marsupilami79/zeoslib As far as I can see, the issue is fixed in current upstream
You're using unofficial repository that is way beyond the current state. The proper one is https://github.com/marsupilami79/zeoslib
Well, these records are internals, FPC team has the full right to change them without notice and backward compat. Relying on internals has always been unstable
Seems like bug indeed but why you need to ping? Just execute query and check results/exceptions
IMHO previous behavior was much more logical and safe. New SQL is equivalent to full re-init of query. Current behavior could lead to unpredictable results, f.ex., re-using temp queries for short actions. tmpQ.SQL.Text := 'select username from users where userid = :ID'; tmpQ.ParamByName('ID').Value := 123; tmpQ.Exec; ... tmpQ.SQL.Text := 'delete from very_important_data where (dataID is NULL and :ID is NULL or dataID = :ID'); // intend to do some cleanup from junk records, assuming 'ID' is NULL by...
IMHO previous behavior was much more logical and safe. New SQL is equivalent to full re-init of query. Current behavior could lead to unpredictable results, f.ex., re-using temp queries for short actions. tmpQ.SQL.Text := 'select username from users where userid = :ID'; tmpQ.ParamByName('ID').Value := 123; tmpQ.Exec; ... tmpQ.SQL.Text := 'delete from very_important_data where (dataID is NULL and :ID is NULL or dataID = :ID'); // intend to do some cleanup from junk records... tmpQ.Exec; // but OOPS,...
Well, there is -scc for that case. Anyway it's up to you, I'm glad to make this wonderful app better.