[Greater-commits] r179 - trunk/GREAT-ER-DB/trunk/impl/postgresql

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jun 9 17:00:50 CEST 2011


Author: aheinecke
Date: 2011-06-09 17:00:49 +0200 (Thu, 09 Jun 2011)
New Revision: 179

Modified:
   trunk/GREAT-ER-DB/trunk/impl/postgresql/gdagreater_pg.pgc
Log:
Add todo about a broken line of code and keep the old value
instead of overwriting it with an uninitialized value.


Modified: trunk/GREAT-ER-DB/trunk/impl/postgresql/gdagreater_pg.pgc
===================================================================
--- trunk/GREAT-ER-DB/trunk/impl/postgresql/gdagreater_pg.pgc	2011-06-09 14:51:27 UTC (rev 178)
+++ trunk/GREAT-ER-DB/trunk/impl/postgresql/gdagreater_pg.pgc	2011-06-09 15:00:49 UTC (rev 179)
@@ -7403,8 +7403,11 @@
 
   /* set old catch_id for getting access right */
   v_catch_id_new    = vp_disch.catch_id;
-  vp_disch.catch_id = h_catch_id_qry;
 
+// TODO (aheinecke) debug what value needs to be what here.
+// at least the old code was broken
+// vp_disch.catch_id = h_catch_id_qry;
+
   /* get access right for data */
   v_status = lgda_get_access_right(DA_A_DISCH_TAB, (void*) &vp_disch,
                                   &v_access_right, vp_errinfo);



More information about the Greater-commits mailing list