- added a new function to the database interface, cdb_close_cursor(). always
[citadel.git] / citadel / ChangeLog
index 83b12416394f8fcd7b41ee0805a9b206890d8edf..8149fe4843fbcbe0a0d922037e6dd458ef93b681 100644 (file)
@@ -1,4 +1,62 @@
  $Log$
+ Revision 580.15  2001/07/29 22:24:04  nbryant
+  - added a new function to the database interface, cdb_close_cursor().  always
+ call this when you're finished with a traversal but didn't bother reading all
+ the way to the end.
+
+  - removed several cdb_begin_transaction()/cdb_end_transaction() calls that are
+ no longer needed because of the read-only cursor support.
+
+ 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.12  2001/07/28 00:02:50  nbryant
+ implemented read-only cursors. one of the advantages to these is that
+ transactions can be avoided; a cursor operation that occurs within a
+ transaction will often acquire a read lock on every single database page.  in
+ general, the Sleepycat documentation recommends avoiding transaction-protected
+ read-only operations where practical. read/modify/write operations can still
+ be transaction protected, of course.
+
+ to use a read-only cursor, call cdb_rewind without a previous call to
+ cdb_begin_transaction. the DB driver will notice this and prevent the current
+ thread from modifying data or starting a transaction until the cursor is
+ closed.
+
+ Revision 580.11  2001/07/27 20:45:44  nbryant
+ libtool has matured a lot since the last time i looked at it (years ago)
+ so we now use it to handle the details of building shared libraries and
+ the linker flags for the main executable.
+
+ in theory this should bring a lot more portability to the dynloader
+ subsystem and enable us to do things like transparently detect GNU vs Sun
+ linkers on solaris, for example
+
+ Revision 580.10  2001/07/27 03:29:04  nbryant
+ missed one thing in the autoconf move
+
+ Revision 580.9  2001/07/27 02:57:43  nbryant
+ support one cursor per database rather than one global cursor
+
+ Revision 580.8  2001/07/27 01:32:07  nbryant
+ remove the automatic transaction demarcation on singleton read operations
+
+ Revision 580.7  2001/07/26 21:43:46  nbryant
+  - move to autoconf 2.52
+  - random warning fix
+  - check for db 3.3
+
  Revision 580.6  2001/07/24 13:17:54  ajc
  * New UI for mailing list setup
  * rooms.c: code cleanup
@@ -2583,3 +2641,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
+