[Greater-commits] r366 - trunk/GREAT-ER-DB/impl/postgresql
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jul 7 11:59:41 CEST 2011
Author: bricks
Date: 2011-07-07 11:59:39 +0200 (Thu, 07 Jul 2011)
New Revision: 366
Modified:
trunk/GREAT-ER-DB/impl/postgresql/gdagreater_pg.pgc
Log:
Fix indentation
Modified: trunk/GREAT-ER-DB/impl/postgresql/gdagreater_pg.pgc
===================================================================
--- trunk/GREAT-ER-DB/impl/postgresql/gdagreater_pg.pgc 2011-07-07 09:57:11 UTC (rev 365)
+++ trunk/GREAT-ER-DB/impl/postgresql/gdagreater_pg.pgc 2011-07-07 09:59:39 UTC (rev 366)
@@ -26865,8 +26865,8 @@
\return DA_SUCCESS \n DA_FAIL
*/
-int gda_insert_phrase (DB_con *db_con,
- DA_T_phrase *vp_phrase,
+int gda_insert_phrase (DB_con *db_con,
+ DA_T_phrase *vp_phrase,
DA_T_errinfo *vp_errinfo)
{
DA_T_MODULE_NAME v_module = "gda_insert_phrase";
@@ -26887,8 +26887,6 @@
EXEC SQL END DECLARE SECTION;
-
-
/* ------------------ *
* Start of function
* ------------------ */
@@ -26910,7 +26908,7 @@
errln = 10;
EXEC SQL SELECT NEXTVAL('PHRASE_SEQ')
INTO :h_phrase.phrase_id;
-
+
/*
* copy passed record into host variable except for phrase_id
*/
@@ -26922,18 +26920,18 @@
/* Insert passed record */
errln = 20;
- EXEC SQL INSERT INTO PHRASE_TAB (PHRASE_ID,
+ EXEC SQL INSERT INTO PHRASE_TAB (PHRASE_ID,
PHRASE_GRP_ID,
LANGUAGE,
SORT,
VALUE_PT,
REMARK)
VALUES (:h_phrase.phrase_id,
- :h_phrase.phrase_grp_id,
- :h_phrase.language,
- :h_phrase.sort,
- :h_phrase.value,
- :h_phrase.remark);
+ :h_phrase.phrase_grp_id,
+ :h_phrase.language,
+ :h_phrase.sort,
+ :h_phrase.value,
+ :h_phrase.remark);
/* set return value (created PHRASE_ID) into passed struct/record */
vp_phrase->phrase_id = h_phrase.phrase_id;
More information about the Greater-commits
mailing list