]> andersk Git - moira.git/blobdiff - server/qsupport.qc
Used /bin/sh format instead of /bin/csh format, by accident.
[moira.git] / server / qsupport.qc
index 1d2be1e589931af0cb8e622d4182d26ef7b8430c..5e3638346f3508628b5d3798a85acfc5228157f6 100644 (file)
@@ -331,10 +331,15 @@ setup_ausr(q, argv, cl)
 ##  int nuid, rowcount;
 ##  char *mit_id;
 
+#ifdef notdef
+    /* this is currently disabled because we need an index on ID's
+     * before it can run in finite time.
+     */
     mit_id = argv[U_MITID];
 ##  retrieve (rowcount = any(u.#mit_id where u.#mit_id = mit_id))
     if (ingres_errno) return(mr_errcode);
     if (rowcount) return(MR_EXISTS);
+#endif notdef
 
     if (!strcmp(argv[1], UNIQUE_UID) || atoi(argv[1]) == -1) {
        if (set_next_object_id("uid", "users"))
@@ -1806,7 +1811,7 @@ get_list_info(q, aargv, cl, action, actarg)
  * how many different ancestors a member is allowed to have.
  */
 
-#define MAXLISTDEPTH   100
+#define MAXLISTDEPTH   1024
 
 int add_member_to_list(q, argv, cl)
     struct query *q;
This page took 1.96692 seconds and 4 git commands to generate.