Mercurial > p > roundup > code
diff roundup/backends/back_bsddb.py @ 858:2dd862af72ee
all storage-specific code (ie. backend) is now implemented by the backends
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sun, 14 Jul 2002 02:05:54 +0000 |
| parents | fed4c363a7f3 |
| children | 974a4b94c5e3 |
line wrap: on
line diff
--- a/roundup/backends/back_bsddb.py Sun Jul 14 02:02:43 2002 +0000 +++ b/roundup/backends/back_bsddb.py Sun Jul 14 02:05:54 2002 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -#$Id: back_bsddb.py,v 1.18 2002-05-15 06:21:21 richard Exp $ +#$Id: back_bsddb.py,v 1.19 2002-07-14 02:05:53 richard Exp $ ''' This module defines a backend that saves the hyperdatabase in BSDDB. ''' @@ -24,12 +24,12 @@ from roundup import hyperdb, date # these classes are so similar, we just use the anydbm methods -import back_anydbm +from back_anydbm import Database, Class, FileClass, IssueClass # # Now the database # -class Database(back_anydbm.Database): +class Database(Database): """A database for storing records containing flexible data types.""" # # Class DBs @@ -119,6 +119,14 @@ # #$Log: not supported by cvs2svn $ +#Revision 1.18 2002/05/15 06:21:21 richard +# . node caching now works, and gives a small boost in performance +# +#As a part of this, I cleaned up the DEBUG output and implemented TRACE +#output (HYPERDBTRACE='file to trace to') with checkpoints at the start of +#CGI requests. Run roundup with python -O to skip all the DEBUG/TRACE stuff +#(using if __debug__ which is compiled out with -O) +# #Revision 1.17 2002/04/03 05:54:31 richard #Fixed serialisation problem by moving the serialisation step out of the #hyperdb.Class (get, set) into the hyperdb.Database.
