FB create new database regression

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
DPStano
Junior Boarder
Junior Boarder
Posts: 39
Joined: 16.05.2016, 09:21

FB create new database regression

Post by DPStano »

There is regression between 7.2.3/4 and patches-7.2 when creating new DB in FB 2.5+/3.0.x

Connection := CreateConnection()
Connection.Properties.Add('CreateNewDatabase=CREATE DATABASE ...
Connection.Connect; // will create db
Connection.Properties.Clear;
Connection.Reconnect //in patches-7.2 logic changed and now it will try to create db again and error is thrown
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1934
Joined: 17.01.2011, 14:17

Re: FB create new database regression

Post by marsupilami »

Hello DPStano,

this part shouldn't be necessary:

Code: Select all

Connection.Properties.Clear;
Connection.Reconnect //in patches-7.2 logic changed and now it will try to create db again and error is thrown
The Connection now is set up correctly after the first connect.

Could you please create a ticket on SourceForge? Currently our time is tight and I fear in the forums it will be forgotten easily…

Best regards,

Jan
Post Reply