[GRASS-SVN] r57354 - grass/trunk/lib/db/dbmi_client
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Aug 2 00:53:36 PDT 2013
Author: hamish
Date: 2013-08-02 00:53:36 -0700 (Fri, 02 Aug 2013)
New Revision: 57354
Modified:
grass/trunk/lib/db/dbmi_client/copy_tab.c
Log:
avoid 'format not a string literal and no format arguments' warnings (merge from devbr6)
Modified: grass/trunk/lib/db/dbmi_client/copy_tab.c
===================================================================
--- grass/trunk/lib/db/dbmi_client/copy_tab.c 2013-08-02 07:51:47 UTC (rev 57353)
+++ grass/trunk/lib/db/dbmi_client/copy_tab.c 2013-08-02 07:53:36 UTC (rev 57354)
@@ -212,7 +212,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'"),
@@ -289,7 +289,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'"),
@@ -380,7 +380,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