summaryrefslogtreecommitdiff
path: root/framework/Data/SqlMap/Configuration/TSqlMapStatement.php
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-06-26 09:56:56 +0000
committerctrlaltca@gmail.com <>2011-06-26 09:56:56 +0000
commit8dc9d4f7d49bcbeaf4998baf74a4f4459967c1f0 (patch)
treef2a1a3ddb20418e78e4f0b445866ac2605bff736 /framework/Data/SqlMap/Configuration/TSqlMapStatement.php
parentf5a87398433ebecefbc62d4fead8a178e32a1f26 (diff)
applied serialization optimization patch (337)
Diffstat (limited to 'framework/Data/SqlMap/Configuration/TSqlMapStatement.php')
-rw-r--r--framework/Data/SqlMap/Configuration/TSqlMapStatement.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/framework/Data/SqlMap/Configuration/TSqlMapStatement.php b/framework/Data/SqlMap/Configuration/TSqlMapStatement.php
index 0648d67c..3a62cbed 100644
--- a/framework/Data/SqlMap/Configuration/TSqlMapStatement.php
+++ b/framework/Data/SqlMap/Configuration/TSqlMapStatement.php
@@ -292,6 +292,12 @@ class TSqlMapStatement extends TComponent
if(strlen($type= $this->getResultClass()) > 0)
return $this->createInstanceOf($registry,$type,$row);
}
+
+ public function __sleep()
+ {
+ return array_diff(parent::__sleep(),array("\0TSqlMapStatement\0_resultMap"));
+ }
+
}
/**