Page 1 of 1

FB create new database regression

Posted: 26.09.2018, 08:39
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

Re: FB create new database regression

Posted: 26.09.2018, 20:18
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