summaryrefslogtreecommitdiff
path: root/framework/Data/SqlMap
diff options
context:
space:
mode:
authorwei <>2007-05-08 02:22:27 +0000
committerwei <>2007-05-08 02:22:27 +0000
commit7f4d9089574a35b733ee36bf4880bb9eb4beab84 (patch)
tree3d140949838994731d047ffd28c816659727ed5a /framework/Data/SqlMap
parent8cfeb336ca6696b454dc34820a9f0d06c3e36cad (diff)
Fixed Sqlmap using TAPCCache problem. Adding test code for #488.
Diffstat (limited to 'framework/Data/SqlMap')
-rw-r--r--framework/Data/SqlMap/TSqlMapConfig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Data/SqlMap/TSqlMapConfig.php b/framework/Data/SqlMap/TSqlMapConfig.php
index 95c16336..ea5f5c38 100644
--- a/framework/Data/SqlMap/TSqlMapConfig.php
+++ b/framework/Data/SqlMap/TSqlMapConfig.php
@@ -61,7 +61,7 @@ class TSqlMapConfig extends TDataSourceConfig
{
$cache = $this->getApplication()->getCache();
if(!is_null($cache))
- return $cache->add($this->getCacheKey(), $manager);
+ return $cache->set($this->getCacheKey(), $manager);
}
return false;
}