Access Violation with pooled connection

The forum for ZeosLib 7.2 Report problems. Ask for help, post proposals for the new version and Zeoslib 7.2 features here. This is a forum that will be edited once the 7.2.x version goes into RC/stable!!

My personal intention for 7.2 is to speed up the internals as optimal a possible for all IDE's. Hope you can help?! Have fun with testing 7.2
Post Reply
anfm
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 14.03.2023, 13:44
Location: Tatui-SP-Brasil
Contact:

Access Violation with pooled connection

Post 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.
Post Reply