]> andersk Git - moira.git/commitdiff
do locking of tables before register_user query
authormar <mar>
Fri, 8 Sep 1989 15:36:11 +0000 (15:36 +0000)
committermar <mar>
Fri, 8 Sep 1989 15:36:11 +0000 (15:36 +0000)
server/queries2.c

index 9b96d9523382e0b32acbc233017920722cfd96f5..fdd53ddd28940bc61b6a352c49caa74fc2fcde69 100644 (file)
@@ -282,9 +282,16 @@ static char *rusr_fields[] = {
   UID, LOGIN, "fs_type"
 };
 
+static struct valobj rusr_valobj[] = {
+  {V_LOCK, 0, USERS, 0, USERS_ID, SMS_DEADLOCK},
+  {V_LOCK, 0, LIST, 0, LIST_ID, SMS_DEADLOCK},
+  {V_LOCK, 0, FILESYS, 0, FILSYS_ID, SMS_DEADLOCK},
+  {V_LOCK, 0, "nfsphys", 0, "nfsphys_id", SMS_DEADLOCK},
+};
+
 static struct validate rusr_validate = {
-  ausr_valobj,
-  1,
+  rusr_valobj,
+  4,
   0,
   0,
   0,
This page took 0.044981 seconds and 5 git commands to generate.