]> andersk Git - moira.git/commitdiff
don't report internal errors on TIMEOUTS and DEADLOCKS
authormar <mar>
Fri, 12 Mar 1993 11:29:13 +0000 (11:29 +0000)
committermar <mar>
Fri, 12 Mar 1993 11:29:13 +0000 (11:29 +0000)
server/qrtn.dc

index 3f64b8196a6ce9e32cc1fcb0fd23c3e00bfa13a1..e812c0f4132a06b21618b4401fcc06dbaaddf3f6 100644 (file)
@@ -77,7 +77,9 @@ void ingerr()
        break;
 /* These should never come up unless someone breaks the query table */
       case INGRES_NO_CURSOR:
-       mr_errcode = MR_INTERNAL;
+       if (mr_errcode != MR_BUSY &&
+           mr_errcode != MR_DEADLOCK)
+         mr_errcode = MR_INTERNAL;
        com_err(whoami, 0, "Cursor not opened");
        break;
       case INGRES_NO_STMT:
This page took 0.029844 seconds and 5 git commands to generate.