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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jun 23 17:15:09 CEST 2011


Author: aheinecke
Date: 2011-06-23 17:15:08 +0200 (Thu, 23 Jun 2011)
New Revision: 254

Modified:
   trunk/GREAT-ER-DB/impl/postgresql/gdagreater_pg.pgc
Log:
Disable two useless statements which blocked login for lowercase usernames


Modified: trunk/GREAT-ER-DB/impl/postgresql/gdagreater_pg.pgc
===================================================================
--- trunk/GREAT-ER-DB/impl/postgresql/gdagreater_pg.pgc	2011-06-23 10:58:52 UTC (rev 253)
+++ trunk/GREAT-ER-DB/impl/postgresql/gdagreater_pg.pgc	2011-06-23 15:15:08 UTC (rev 254)
@@ -4104,9 +4104,13 @@
   EXEC SQL WHENEVER NOT FOUND GOTO not_a_valid_greater_user;
   EXEC SQL WHENEVER SQLERROR  GOTO sql_error;
 
-  errln = 30;  
+/*
+ * Statement disabled because it makes no sence if the user
+ * is not a user and could not be connected we woudl not be here
+  errln = 30;
   EXEC SQL SELECT :h_user_id 
              INTO :h_user_id INDICATOR :h_ind_user_id;
+*/
  
   errln = 40; 
   EXEC SQL SELECT GROUP_ID
@@ -4280,10 +4284,14 @@
   errln = 20;  
   EXEC SQL WHENEVER NOT FOUND GOTO not_a_valid_user;
 
+/*
+ * Statement disabled because it makes no sence if the user
+ * is not a user and could not be connected we woudl not be here
   errln = 30;  
   EXEC SQL SELECT UPPER(:h_user_id)
              INTO :h_user_id INDICATOR :h_ind_user_id;
- 
+*/
+
   errln = 40;  
   EXEC SQL SELECT GROUP_ID
              INTO :h_group_id



More information about the Greater-commits mailing list