[GRASS-SVN] r57684 - grass/branches/releasebranch_6_4/lib/db/dbmi_client
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Sep 13 22:59:09 PDT 2013
Author: hamish
Date: 2013-09-13 22:59:09 -0700 (Fri, 13 Sep 2013)
New Revision: 57684
Modified:
grass/branches/releasebranch_6_4/lib/db/dbmi_client/copy_tab.c
Log:
avoid 'format not a string literal and no format arguments' warnings (merge r57353 from devbr6)
Modified: grass/branches/releasebranch_6_4/lib/db/dbmi_client/copy_tab.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/db/dbmi_client/copy_tab.c 2013-09-14 05:56:11 UTC (rev 57683)
+++ grass/branches/releasebranch_6_4/lib/db/dbmi_client/copy_tab.c 2013-09-14 05:59:09 UTC (rev 57684)
@@ -193,7 +193,7 @@
db_append_string(&sql, " where 0 = 1"); /* to get no data */
}
- G_debug(3, db_get_string(&sql));
+ G_debug(3, "db__copy_table: %s", db_get_string(&sql));
if (db_open_select_cursor(from_driver, &sql, &cursor, DB_SEQUENTIAL) !=
DB_OK) {
G_warning(_("Unable to open select cursor: '%s'"),
@@ -270,7 +270,7 @@
}
}
- G_debug(3, db_get_string(&sql));
+ G_debug(3, "db__copy_table: %s", db_get_string(&sql));
if (db_open_select_cursor(from_driver, &sql, &cursor, DB_SEQUENTIAL) !=
DB_OK) {
G_warning(_("Unable to open select cursor: '%s'"),
@@ -361,7 +361,7 @@
if (!select)
continue;
db_append_string(&sql, ")");
- G_debug(3, db_get_string(&sql));
+ G_debug(3, "db__copy_table: %s", db_get_string(&sql));
if (db_execute_immediate(to_driver, &sql) != DB_OK) {
G_warning("Unable to insert new record: '%s'",
db_get_string(&sql));
More information about the grass-commit
mailing list