[GRASS-SVN] r50551 - grass/trunk/db/drivers/mysql
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jan 30 06:24:37 EST 2012
Author: glynn
Date: 2012-01-30 03:24:37 -0800 (Mon, 30 Jan 2012)
New Revision: 50551
Modified:
grass/trunk/db/drivers/mysql/dbe.c
Log:
Fix breakage from r50443
Modified: grass/trunk/db/drivers/mysql/dbe.c
===================================================================
--- grass/trunk/db/drivers/mysql/dbe.c 2012-01-30 11:11:45 UTC (rev 50550)
+++ grass/trunk/db/drivers/mysql/dbe.c 2012-01-30 11:24:37 UTC (rev 50551)
@@ -42,9 +42,9 @@
char *buf;
if (!replace_variables(name, &datadir, &database)) {
- append_error(_("Unable parse MySQL embedded database name"));
- append_error(mysql_error(connection));
- report_error();
+ db_d_append_error(_("Unable parse MySQL embedded database name"));
+ db_d_append_error(mysql_error(connection));
+ db_d_report_error();
return DB_FAILED;
}
@@ -58,9 +58,9 @@
server_args[3] = "--bootstrap"; /* OK? */
if (mysql_server_init(4, server_args, NULL)) {
- append_error(_("Cannot initialize MySQL embedded server"));
- append_error(mysql_error(connection));
- report_error();
+ db_d_append_error(_("Cannot initialize MySQL embedded server"));
+ db_d_append_error(mysql_error(connection));
+ db_d_report_error();
free(datadir);
free(database);
return DB_FAILED;
@@ -77,9 +77,9 @@
free(database);
if (res == NULL) {
- append_error(_("Unable to connect to MySQL embedded server: "));
- append_error(mysql_error(connection));
- report_error();
+ db_d_append_error(_("Unable to connect to MySQL embedded server: "));
+ db_d_append_error(mysql_error(connection));
+ db_d_report_error();
return DB_FAILED;
}
}
More information about the grass-commit
mailing list