change ForEachRoom to use read-only cursors by default. it can be overridden to
authorNathan Bryant <loanshark@uncensored.citadel.org>
Sun, 29 Jul 2001 20:56:09 +0000 (20:56 +0000)
committerNathan Bryant <loanshark@uncensored.citadel.org>
Sun, 29 Jul 2001 20:56:09 +0000 (20:56 +0000)
commit3d242c4571f3d07f76802f08811ccb34f212c315
tree10cb648cccf3d9ac94354c5cb8654d291eb0fd26
parentcb88140384f43b0fe5eb75d2b8abda467b3383a5
change ForEachRoom to use read-only cursors by default. it can be overridden to
still use read/write cursors by doing:

 cdb_begin_transaction();
 ForEachRoom(...);
 cdb_end_transaction();

the only place I found where it appears necessary to do so is check_ref_counts,
so this checkin affects that function too.
citadel/ChangeLog
citadel/housekeeping.c
citadel/room_ops.c