summaryrefslogtreecommitdiff
path: root/bin/sql_db.py
diff options
context:
space:
mode:
authorChristophe Simonis <christophe@tinyerp.com>2009-01-05 22:17:46 +0100
committerChristophe Simonis <christophe@tinyerp.com>2009-01-05 22:17:46 +0100
commit5a20219f9b04217dbc9f24e2bbe590718c12fabd (patch)
tree6165f5419805787b81a0a9493ce5be717dfb475f /bin/sql_db.py
parent390780c21644aac3cb0fd4e0bc326fd57fb48883 (diff)
[IMP] improve cache system
[FIX] cache now take in account default parameters [IMP] new way to clear the cache [FIX] clearing the cache is now made by database bzr revid: christophe@tinyerp.com-20090105211746-o1fapuu319ozi7nv
Diffstat (limited to 'bin/sql_db.py')
-rw-r--r--bin/sql_db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sql_db.py b/bin/sql_db.py
index 92c55c2ad9d..49094a438f8 100644
--- a/bin/sql_db.py
+++ b/bin/sql_db.py
@@ -228,7 +228,7 @@ def db_connect(db_name, serialize=0):
def close_db(db_name):
PoolManager.close(db_name)
- tools.cache.clean_cache_for_db(db_name)
+ tools.cache.clean_caches_for_db(db_name)
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: