Can't reconnect

Ivan Smahin ivan_smahin at paradigmasoft.com
Tue Oct 15 08:37:03 CDT 2013


On Oct 15, 2013, at 12:44 PM, Mark Schonewille <m.schonewille at economy-x-talk.com> wrote:

> Hi Ruslan,
> 
> No, you're wrong. Ivan's answer was correct. It now works.
> 


Not exactly. Ruslan was about following - that "feature" (silently open connection in database constructor) will be removed soon.
You should not rely on this.
Instead you should open connection himself either as close one:

put vConnection_Constructor("localhost","sa","sa",15432) into lDatabaseConnection
get vConnection_Open( lDatabaseConnection )
put vDatabase_Constructor(lDatabaseConnection) into lDatabase
...
get closeAllDatabases
get vConnection_Close( lDatabaseConnection )
...

-- 
Best regards,
Ivan Smahin
Senior Software Engineer
Paradigma Software, Inc
Valentina - The Ultra-Fast Database
http://www.valentina-db.com



More information about the Valentina mailing list