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.
+ Revision 580.14 2001/07/29 20:56:09 nbryant
+ 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.
+
Revision 580.13 2001/07/29 20:06:33 nbryant
generate symlinks to .libs in modules directory
Revision 580.13 2001/07/29 20:06:33 nbryant
generate symlinks to .libs in modules directory
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+ cdb_begin_transaction();
ForEachRoom(check_ref_counts_backend, NULL);
ForEachRoom(check_ref_counts_backend, NULL);
struct quickroom qrbuf;
struct cdbdata *cdbqr;
struct quickroom qrbuf;
struct cdbdata *cdbqr;
- cdb_begin_transaction();
cdb_rewind(CDB_QUICKROOM);
while (cdbqr = cdb_next_item(CDB_QUICKROOM), cdbqr != NULL) {
cdb_rewind(CDB_QUICKROOM);
while (cdbqr = cdb_next_item(CDB_QUICKROOM), cdbqr != NULL) {
if (qrbuf.QRflags & QR_INUSE)
(*CallBack)(&qrbuf, in_data);
}
if (qrbuf.QRflags & QR_INUSE)
(*CallBack)(&qrbuf, in_data);
}