gda_connection_real_open

Name

gda_connection_real_open —

Synopsis

static void gda_connection_real_open (Gda_Connection* cnc);

Arguments

cnc

the connection object which describes the server and the database name to which the connection shuld be opened

Description

The function activates the correct CORBA server (defined with he #gda_connection_set_provider() function. Then it tries to open the database using the DSN or the default database as a data source. If user or pwd is not NULL, it will overwrite the appropriate entry in the DSN passed as par2. Entries in the DSN have the form = seperated from the database name . Currently the DSN is not parsed.

Returns

0 on success, -1 on error