summaryrefslogtreecommitdiff
path: root/bin/sql_db.py
diff options
context:
space:
mode:
authorStephane Wirtel <stephane@tinyerp.com>2008-12-24 01:36:56 +0100
committerStephane Wirtel <stephane@tinyerp.com>2008-12-24 01:36:56 +0100
commitd2197ffadd4fd72c23a7e701ec9dba47dddb6cb7 (patch)
treea4848b42158281239e0d2ea0c7b96078a3372f34 /bin/sql_db.py
parentd9be84059db737e015f0154e38a408e8a4c6e28c (diff)
parentca93318a771c1032d072702d4d0cea8fb9603b60 (diff)
[MERGE]
bzr revid: stephane@tinyerp.com-20081224003656-kwftdnreax7m7hbg
Diffstat (limited to 'bin/sql_db.py')
-rw-r--r--bin/sql_db.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/sql_db.py b/bin/sql_db.py
index ec8ca3bf176..041f855b32b 100644
--- a/bin/sql_db.py
+++ b/bin/sql_db.py
@@ -227,7 +227,9 @@ def db_connect(db_name, serialize=0):
return PoolManager.get(db_name)
def close_db(db_name):
- return PoolManager.close(db_name)
+ PoolManager.close(db_name)
+ tools.cache.clean_cache_for_db(db_name)
+
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: