## where qual
beforec = 11;
} else if (!strcmp(table, "quota")) {
- barg0 = "?";
- barg1 = argv[1];
- barg2 = "?";
+ strcpy(barg0, "?");
+ strcpy(barg1, argv[1]);
+ strcpy(barg2, "?");
sprintf(buffer, "%s and filesys.filsys_id = q.filsys_id", qual);
qual = buffer;
## range of q is quota
beforec = 10;
} else if (!strcmp(table, "members")) {
id = (int) argv[0];
+## retrieve (barg3 = text(list.group)) where list.list_id = id
name = malloc(0);
id_to_name(id, "LIST", &name);
strcpy(barg0, name);
}
strcpy(barg2, name);
free(name);
- beforec = 3;
+ beforec = 4;
} /* else
com_err(whoami, 0, "unknown table in incremental_before"); */
##}
afterc = 10;
} else if (!strcmp(table, "members")) {
id = (int) argv[0];
+## retrieve (aarg3 = text(list.group)) where list.list_id = id
name = malloc(0);
id_to_name(id, "LIST", &name);
strcpy(aarg0, name);
}
strcpy(aarg2, name);
free(name);
- afterc = 3;
+ afterc = 4;
} else if (!strcmp(table, "clear")) {
afterc = 0;
table = beforetable;