]> andersk Git - moira.git/blobdiff - gen/mailhub.dc
New database and column names for Moira2.
[moira.git] / gen / mailhub.dc
index 9d3c97192448692df77dbee3fd728b6d9ff49f84..42a4dbe954330094dd9b0260341251c47022c459 100644 (file)
@@ -1,4 +1,3 @@
-
 /* $Header$
  *
  * This generates the /usr/lib/aliases file for the mailhub.
@@ -47,10 +46,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) {
@@ -145,6 +144,10 @@ get_info()
     struct list *l, *memberlist;
     register struct member *m;
 
+    /* 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 SELECT modtime INTO :buf FROM users WHERE users_id = 0;
This page took 0.03565 seconds and 4 git commands to generate.