GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
DBMI Library (client) - standard error handlers. More...
Go to the source code of this file.
Functions | |
void | db_set_error_handler_driver (dbDriver *driver) |
Define standard error handler for open database connection. More... | |
void | db_unset_error_handler_driver (dbDriver *driver) |
Remove error handler before closing the driver. More... | |
DBMI Library (client) - standard error handlers.
(C) 2013 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file db/dbmi_client/handler.c.
void db_set_error_handler_driver | ( | dbDriver * | driver | ) |
Define standard error handler for open database connection.
This handler:
Note: It's recommended to call this routine after db_start_driver_open_database().
driver | DB driver |
Definition at line 38 of file db/dbmi_client/handler.c.
References G_add_error_handler().
void db_unset_error_handler_driver | ( | dbDriver * | driver | ) |
Remove error handler before closing the driver.
driver | DB driver |
Definition at line 48 of file db/dbmi_client/handler.c.
References G_remove_error_handler().
Referenced by db_shutdown_driver().