IIseterr(ingerr);
## ingres sms
+## set lockmode session where level = table
changed = do_nfs();
}
}
+## begin transaction
+ /* get locks */
+## retrieve (lname = list.modtime) where list.list_id = 0
+## retrieve (lname = users.modtime) where users.users_id = 0
+
/* build the list of everyone, and store it in a file whose name
* corresponds to the empty list.
*/
}
while (sq_get_data(members, &lsname))
fprintf(fd, "%s\n", lsname);
+/* test to see if this speeds things up; don't free anything!
sq_destroy(members);
sq_destroy(sq);
- if (fclose(fd)) {
+ */ if (fclose(fd)) {
fprintf(stderr, "error closing %s\n", file);
exit(SMS_CCONFIG);
}
}
+/* don't free here either
sq_destroy(lists);
+ */
+## end transaction
return(1);
##}
fprintf(stderr, "Building machine files\n");
+## begin transaction
## range of s is serverhosts
## range of m is machine
## range of n is nfsphys
}
sq_destroy(sq);
}
+## end transaction
return(1);
##}