15 #include <grass/dbmi.h>
16 #include <grass/glocale.h>
34 G_debug(3,
"db_delete_table(): driver = %s, db = %s, table = %s\n",
35 drvname, dbname, tblname);
40 G_warning(_(
"Unable open database <%s> by driver <%s>"), dbname,
53 G_warning(_(
"Unable to drop table: '%s'"),
dbDriver * db_start_driver_open_database(const char *drvname, const char *dbname)
Open driver/database connection.
int db_close_database_shutdown_driver(dbDriver *driver)
Close driver/database connection.
int db_execute_immediate(dbDriver *driver, dbString *SQLstatement)
Execute SQL statements.
int db_append_string(dbString *x, const char *s)
int db_delete_table(const char *drvname, const char *dbname, const char *tblname)
Delete table.
G_warning("category support for [%s] in mapset [%s] %s", name, mapset, type)
char * db_get_string(dbString *x)
int G_debug(int level, const char *msg,...)
Print debugging message.
int db_set_string(dbString *x, const char *s)
void db_init_string(dbString *x)