[GRASS-SVN] r65330 - grass/branches/releasebranch_7_0/lib/db/dbmi_client
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue May 26 09:48:14 PDT 2015
Author: martinl
Date: 2015-05-26 09:48:14 -0700 (Tue, 26 May 2015)
New Revision: 65330
Modified:
grass/branches/releasebranch_7_0/lib/db/dbmi_client/copy_tab.c
Log:
dbmilib: fix db_copy_table() - overwrite existing table
Modified: grass/branches/releasebranch_7_0/lib/db/dbmi_client/copy_tab.c
===================================================================
--- grass/branches/releasebranch_7_0/lib/db/dbmi_client/copy_tab.c 2015-05-26 16:45:48 UTC (rev 65329)
+++ grass/branches/releasebranch_7_0/lib/db/dbmi_client/copy_tab.c 2015-05-26 16:48:14 UTC (rev 65330)
@@ -166,7 +166,7 @@
if (G_get_overwrite()) {
G_warning(_("Table <%s> already exists in database and will be overwritten"),
to_tblname);
- ret = db_drop_table(from_driver, &tblnames[i]);
+ ret = db_drop_table(to_driver, &tblnames[i]);
}
else {
G_warning(_("Table <%s> already exists in database <%s>"),
More information about the grass-commit
mailing list