]> andersk Git - moira.git/blobdiff - dcm/utils.c
since the Oracle-based moirad never returns MR_DEADLOCK, we don't need
[moira.git] / dcm / utils.c
index e6c6dd9359a5e611abd1d02bcc1129b6bc1a03a1..c0c4501beda326b55e10e8f485bfb1821347c797 100644 (file)
@@ -117,22 +117,3 @@ int exclusive;
       com_err(whoami, 0, "%s now locked\n", lock);
     return fd;
 }
-
-
-int mr_query_with_retry(name, argc, argv, proc, hint)
-char *name;
-int argc;
-char **argv;
-int (*proc)();
-char *hint;
-{
-    int status, tries;
-
-    for (tries = 0; tries < DEADLOCK_TRIES; tries++) {
-       status = mr_query(name, argc, argv, proc, hint);
-       if (status != MR_DEADLOCK)
-         return(status);
-       sleep(DEADLOCK_WAIT);
-    }
-    return(status);
-}
This page took 0.030853 seconds and 4 git commands to generate.