X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/blobdiff_plain/0c614667c6366bd328a32debb799d6fe985ac705..67805159a972397342c342ee735c8acd640e1399:/server/qsupport.qc diff --git a/server/qsupport.qc b/server/qsupport.qc index 1d2be1e5..5e363834 100644 --- a/server/qsupport.qc +++ b/server/qsupport.qc @@ -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;