]> andersk Git - moira.git/blobdiff - server/qfollow.pc
Rename query type enums so they're less likely to collide with random
[moira.git] / server / qfollow.pc
index 157456e64c998f80b75c78bc668355800e81541f..6ae39f92014324f7d6edcdbc6c4a84e00309f76c 100644 (file)
@@ -816,7 +816,7 @@ int followup_aqot(struct query *q, char *argv[], client *cl)
    * conflicts between what is possible in the query table and what
    * is possible in SQL.
    */
-  if (q->type == APPEND)
+  if (q->type == MR_Q_APPEND)
     {
       incremental_clear_before();
       EXEC SQL INSERT INTO quota
@@ -835,7 +835,7 @@ int followup_aqot(struct query *q, char *argv[], client *cl)
 
   if (dbms_errno)
     return mr_errcode;
-  if (q->type == APPEND)
+  if (q->type == MR_Q_APPEND)
     {
       EXEC SQL UPDATE tblstats SET appends = appends + 1, modtime = SYSDATE
        WHERE table_name = :tname;
This page took 0.032697 seconds and 4 git commands to generate.