Can't reconnect

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Tue Oct 15 03:57:18 CDT 2013


On 10/15/13 11:45 AM, "Ruslan Zasukhin" <ruslan_zasukhin at valentina-db.com>
wrote:

> On 10/15/13 11:32 AM, "Mark Schonewille" <m.schonewille at economy-x-talk.com>
> wrote:
> 
> Hi Mark,
> 
> 1)
> 
> What exactly it not says? Please clarify, while I am correcting docs.

>>> Hmm, it seems connection will be opened by
>>> vDatabase_Constructor(lDatabaseConnection) (in case of closed connection).
>>> But you have to close connection calling VConnection_Close himself.

<http://www.valentina-db.com/docs/dokuwiki/v5/doku.php?id=valentina:products
:adk:api:vdatabase_class:construction_methods#vdatabase>



We have check WIKI version,
Yes no mention here that constructor can itself open connection.

And I think this is not very good.

We will not mention this in docs.

Open connection BEFORE constructor  ALWAYS,
Because this is explicitly

 open 
      ...
 close


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list