[GRASS-SVN] r73567 - grass/branches/releasebranch_7_6/vector/v.select

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 17 13:33:17 PDT 2018


Author: mmetz
Date: 2018-10-17 13:33:17 -0700 (Wed, 17 Oct 2018)
New Revision: 73567

Modified:
   grass/branches/releasebranch_7_6/vector/v.select/copy_tabs.c
Log:
v.select: fix attribute table key name (backport trunk r73566)

Modified: grass/branches/releasebranch_7_6/vector/v.select/copy_tabs.c
===================================================================
--- grass/branches/releasebranch_7_6/vector/v.select/copy_tabs.c	2018-10-17 20:32:17 UTC (rev 73566)
+++ grass/branches/releasebranch_7_6/vector/v.select/copy_tabs.c	2018-10-17 20:33:17 UTC (rev 73567)
@@ -83,7 +83,7 @@
                           OFi->database, OFi->driver);
         db_set_error_handler_driver(Driver);
         
-        if (db_create_index2(Driver, OFi->table, OFi->key) != DB_OK)
+        if (db_create_index2(Driver, OFi->table, IFi->key) != DB_OK)
             G_warning(_("Unable to create index"));
         if (db_grant_on_table
 	    (Driver, OFi->table, DB_PRIV_SELECT, DB_GROUP | DB_PUBLIC) != DB_OK)



More information about the grass-commit mailing list