Jelajahi Sumber

vlib/pg: mark category as up-to-date (build from topo)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58394 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 11 tahun lalu
induk
melakukan
f6b88eccaf
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      lib/vector/Vlib/open_pg.c

+ 2 - 0
lib/vector/Vlib/open_pg.c

@@ -356,6 +356,8 @@ int Vect__open_topo_pg(struct Map_info *Map, int head_only, int update)
     if (update)
         Vect__clean_grass_db_topo(pg_info);
 
+    plus->cidx_up_to_date = TRUE;  /* category index built from topo */
+
     return ret;
 #else
     G_fatal_error(_("GRASS is not compiled with PostgreSQL support"));