Page 1 of 1

Access Violation with pooled connection

Posted: 15.03.2023, 17:04
by anfm
Using pooled.firebird has an access violation when trying to activate a query.

Code: Select all

  ZConnection2.Disconnect;
  ZConnection2.Protocol := 'pooled.firebird-3.0';
  ZConnection2.HostName := '127.0.0.1';
  ZConnection2.Database := 'c:\temp\test.fdb';
  ZConnection2.User     := 'SYSDBA';
  ZConnection2.Password := 'masterkey';
  ZConnection2.Properties.Add('ConnectionTimeout=5');
  ZConnection2.Properties.Add('MaxConnections=10');
  ZConnection2.Properties.Add('Wait=true');
  ZConnection2.Connect;

  ZQuery2.SQL.Add('select * from GROUP');
  ZQuery2.Active := True;  //<-- here occurs AV
Changing ZConnection2.Protocol := 'firebird-3.0'; works fine.