From f6a5e7589396854e10e023c25237b47e512ff047 Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 14 Apr 2006 11:23:56 +0000 Subject: Adding SQLMap unit tests. Allow sqlmap to use Prado's caching module to cache records. --- framework/DataAccess/SQLMap/TSqlMapClient.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'framework/DataAccess/SQLMap/TSqlMapClient.php') diff --git a/framework/DataAccess/SQLMap/TSqlMapClient.php b/framework/DataAccess/SQLMap/TSqlMapClient.php index 7662d83e..5f531f64 100644 --- a/framework/DataAccess/SQLMap/TSqlMapClient.php +++ b/framework/DataAccess/SQLMap/TSqlMapClient.php @@ -44,7 +44,6 @@ class TSqlMapClient { if(!is_file($this->_cache)) { - var_dump('saving cache to file', $this->_cache); file_put_contents($this->_cache,serialize($this->_mapper)); return true; } @@ -57,12 +56,10 @@ class TSqlMapClient $this->_cache = $this->getCacheFile($file); if($loadFromCache && $this->_cache !== false && is_file($this->_cache)) { - var_dump('loading from cache: '.$this->_cache); $this->_mapper = unserialize(file_get_contents($this->_cache)); } else { -// var_dump('build from *.xml'); $builder = new TDomSqlMapBuilder(); $this->_mapper = $builder->configure($file); } -- cgit v1.2.3