[Greater-commits] r329 - trunk/GREAT-ER-DB/impl/postgresql
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jun 30 14:06:19 CEST 2011
Author: bricks
Date: 2011-06-30 14:06:19 +0200 (Thu, 30 Jun 2011)
New Revision: 329
Modified:
trunk/GREAT-ER-DB/impl/postgresql/dagreater_pg.h
Log:
Add new define DA_ERR_INVALID_USERNAME for error in case of invalid characters in a username
Fix typos and update documentation for new error defines
Modified: trunk/GREAT-ER-DB/impl/postgresql/dagreater_pg.h
===================================================================
--- trunk/GREAT-ER-DB/impl/postgresql/dagreater_pg.h 2011-06-30 12:04:52 UTC (rev 328)
+++ trunk/GREAT-ER-DB/impl/postgresql/dagreater_pg.h 2011-06-30 12:06:19 UTC (rev 329)
@@ -172,9 +172,18 @@
#define DA_ERR_MOD_REF_DATA 9016 /* ERR: model mode data set which is to be deleted
is still referenced by one or more sessions */
-#define DA_ERR_ALREADY_CONNECTED 9017 /* ERR: a connection ist still established while trying
- to creater a new connection */
+/*! \def DA_ERR_ALREADY_CONNECTE
+ * Error: a connection is still established while trying to create a new connection
+ */
+#define DA_ERR_ALREADY_CONNECTED 9017 /* ERR: a connection is still established while trying
+ to create a new connection */
+/*! \def DA_ERR_INVALID_USERNAM
+ * Error: an invalid user_id is passed to a function. The user_id contains invalid characters
+ */
+#define DA_ERR_INVALID_USERNAME 9018 /* ERR: Invalid username: Username contains invalid
+ characters */
+
/* ----------------------------------------- *
* Access right constants
* ----------------------------------------- */
More information about the Greater-commits
mailing list