]> andersk Git - moira.git/commitdiff
fix gdss problem, add _set_debug_level query
authormar <mar>
Tue, 12 Jan 1993 12:02:18 +0000 (12:02 +0000)
committermar <mar>
Tue, 12 Jan 1993 12:02:18 +0000 (12:02 +0000)
server/qsupport.dc

index 3f57ea54c3f54cfce0c8b062921b9746dc8a67ba..1e575db0997ecc10f3a890f2d474c377c59829a1 100644 (file)
@@ -1539,7 +1539,7 @@ followup_ausr(q, argv, cl)
                 EXEC SQL INSERT INTO strings (string_id, string) 
                  VALUES (:sigwho, :name);
             } else if (status)
-              return(gdss2et(status));
+              return(status);
             timestamp = si.timestamp;
         } else
           return(gdss2et(status));
@@ -1639,7 +1639,7 @@ followup_uuac(q, argv, cl)
                 EXEC SQL INSERT INTO strings (string_id, string) 
                  VALUES (:sigwho, :name);
             } else if (status)
-              return(gdss2et(status));
+              return(status);
             timestamp = si.timestamp;
         } else
           return(gdss2et(status));
@@ -3501,6 +3501,21 @@ static int set_pop_usage(id, cnt)
     return(MR_SUCCESS);
 }
 
+int _sdl_followup(q, argv, cl)
+    struct query *q;
+    char **argv;
+    client *cl;
+{
+    int i;
+    i = atoi(argv[0]);
+    log_flags = i;
+    if (i && LOG_SQL) {
+       EXEC SQL set printqry;
+    } else {
+       EXEC SQL set no printqry;
+    }
+}
+
 
 \f
 /* Validation Routines */
This page took 0.527715 seconds and 5 git commands to generate.