From 8dc9d4f7d49bcbeaf4998baf74a4f4459967c1f0 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Sun, 26 Jun 2011 09:56:56 +0000 Subject: applied serialization optimization patch (337) --- framework/Data/SqlMap/Configuration/TSqlMapStatement.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'framework/Data/SqlMap/Configuration/TSqlMapStatement.php') 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")); + } + } /** -- cgit v1.2.3