]> andersk Git - moira.git/blobdiff - gen/passwd.dc
New database and column names for Moira2.
[moira.git] / gen / passwd.dc
index 658163ab0eca67f8876484d372df06ecedbc2c3a..ea66e64056182149db66a43e13617764e81bcd67 100644 (file)
@@ -35,10 +35,10 @@ char **argv;
     EXEC SQL END DECLARE SECTION;
 
 #ifsql INGRES
-    EXEC SQL CONNECT sms;
+    EXEC SQL CONNECT moira;
 #endsql
 #ifsql INFORMIX
-    EXEC SQL DATABASE sms;
+    EXEC SQL DATABASE moira;
 #endsql
 
     if (argc == 2) {
@@ -64,6 +64,10 @@ char **argv;
        outf = NULL;
     }
 
+    /* The following is declarative, not executed,
+     * and so is dependent on where it is in the file,
+     * not in the order of execution of statements.
+     */
     EXEC SQL WHENEVER SQLERROR GOTO sqlerr;
 
     EXEC SQL DECLARE x CURSOR FOR SELECT 
This page took 0.111285 seconds and 4 git commands to generate.