X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=roundup%2Fbackends%2Frdbms_common.py;h=e53b965cb90dda4a7fe4790877f5519029b6cf0c;hb=e4f94c6a840d1bf99ca5889c1c92e03294ca6a66;hp=d39234f0fe1eaac9a1033143fae9f9edda3a8e57;hpb=66e7f3a72fe3ecf153f401b24e3f0436b6e8b484;p=roundup.git diff --git a/roundup/backends/rdbms_common.py b/roundup/backends/rdbms_common.py index d39234f..e53b965 100644 --- a/roundup/backends/rdbms_common.py +++ b/roundup/backends/rdbms_common.py @@ -1,4 +1,4 @@ -# $Id: rdbms_common.py,v 1.9 2002-09-20 05:08:00 richard Exp $ +# $Id: rdbms_common.py,v 1.10 2002-09-23 00:50:32 richard Exp $ # standard python modules import sys, os, time, re, errno, weakref, copy @@ -44,6 +44,10 @@ class Database(FileStorage, hyperdb.Database, roundupdb.Database): # open a connection to the database, creating the "conn" attribute self.open_connection() + def clearCache(self): + self.cache = {} + self.cache_lru = [] + def open_connection(self): ''' Open a connection to the database, creating it if necessary '''