[GRASS-SVN] r41243 - grass/trunk/scripts/v.db.update
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Feb 28 23:32:05 EST 2010
Author: hamish
Date: 2010-02-28 23:32:05 -0500 (Sun, 28 Feb 2010)
New Revision: 41243
Modified:
grass/trunk/scripts/v.db.update/v.db.update.py
Log:
show SQL statement in verbose mode
Modified: grass/trunk/scripts/v.db.update/v.db.update.py
===================================================================
--- grass/trunk/scripts/v.db.update/v.db.update.py 2010-03-01 04:28:00 UTC (rev 41242)
+++ grass/trunk/scripts/v.db.update/v.db.update.py 2010-03-01 04:32:05 UTC (rev 41243)
@@ -112,6 +112,8 @@
if where:
cmd += " WHERE " + where
+ grass.verbose("SQL: \"%s\"" % cmd)
+
grass.write_command('db.execute', input = '-', database = database, driver = driver, stdin = cmd)
# write cmd history:
More information about the grass-commit
mailing list