[GRASS-SVN] r50052 - grass/branches/develbranch_6/db/base
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jan 3 09:09:56 EST 2012
Author: martinl
Date: 2012-01-03 06:09:55 -0800 (Tue, 03 Jan 2012)
New Revision: 50052
Modified:
grass/branches/develbranch_6/db/base/execute.c
Log:
db.execute: attempt to fix #1526
(merge r50051 from relbr64)
Modified: grass/branches/develbranch_6/db/base/execute.c
===================================================================
--- grass/branches/develbranch_6/db/base/execute.c 2012-01-03 14:05:59 UTC (rev 50051)
+++ grass/branches/develbranch_6/db/base/execute.c 2012-01-03 14:09:55 UTC (rev 50052)
@@ -79,9 +79,13 @@
db_get_string(&stmt));
error++;
}
- else
+ else {
+ db_close_database(driver);
+ db_shutdown_driver(driver);
+
G_fatal_error(_("Error while executing: '%s'"),
db_get_string(&stmt));
+ }
}
}
}
More information about the grass-commit
mailing list