]> andersk Git - moira.git/blobdiff - gen/stats.dc
changing status field in host table now results in only the target host's
[moira.git] / gen / stats.dc
index feea0f57ccc90de52078bc37aaaba9587eb21eb6..0933aba1cd6d95b9ce69890d4c2ccbfcc261cde2 100644 (file)
@@ -117,6 +117,10 @@ char **argv;
 
  sqlerr:
     com_err(whoami, MR_INGRES_ERR, " code %d\n", sqlca.sqlcode);
+#ifsql INGRES
+    if (sqlca.sqlcode == 17700 || sqlca.sqlcode == -37000)
+      exit(MR_DEADLOCK);
+#endsql
     critical_alert("DCM", "Central America build encountered INGRES ERROR %d",
                   sqlca.sqlcode);
     exit(MR_INGRES_ERR);
This page took 0.031875 seconds and 4 git commands to generate.