34 G_debug(3,
"db_start_driver_open_database(): drvname='%s', dbname='%s'",
41 G_warning(
_(
"Unable to start driver <%s>"), drvname);
46 G_warning(
_(
"Unable to open database <%s> by driver <%s>"),
67 G_debug(2,
"db_close_database() result: %d (%d means success)",
72 G_debug(2,
"db_shutdown_driver() failed");
dbDriver * db_start_driver_open_database(const char *drvname, const char *dbname)
Open driver/database connection.
dbDriver * db_start_driver(const char *)
Initialize a new dbDriver for db transaction.
int db_close_database_shutdown_driver(dbDriver *driver)
Close driver/database connection.
int db_set_handle(dbHandle *, const char *, const char *)
Set handle (database and schema name)
int db_close_database(dbDriver *)
Close database connection.
const struct driver * driver
int db_shutdown_driver(dbDriver *)
Closedown the driver, and free the driver structure.
void db_init_handle(dbHandle *)
Initialize handle (i.e database/schema)
int db_open_database(dbDriver *, dbHandle *)
Open database connection.
void G_warning(const char *,...) __attribute__((format(printf
int G_debug(int, const char *,...) __attribute__((format(printf