33 G_debug(3,
"db_start_driver_open_database(): drvname='%s', dbname='%s'",
40 G_warning(
_(
"Unable to start driver <%s>"), drvname);
45 G_warning(
_(
"Unable to open database <%s> by driver <%s>"), dbname,
66 G_debug(2,
"db_close_database() result: %d (%d means success)", status,
71 G_debug(2,
"db_shutdown_driver() failed");
int db_close_database_shutdown_driver(dbDriver *driver)
Close driver/database connection.
dbDriver * db_start_driver_open_database(const char *drvname, const char *dbname)
Open driver/database connection.
int db_shutdown_driver(dbDriver *)
Closedown the driver, and free the driver structure.
dbDriver * db_start_driver(const char *)
Initialize a new dbDriver for db transaction.
int db_open_database(dbDriver *, dbHandle *)
Open 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.
void db_init_handle(dbHandle *)
Initialize handle (i.e database/schema)
void G_warning(const char *,...) __attribute__((format(printf
int G_debug(int, const char *,...) __attribute__((format(printf
const struct driver * driver