[limb-svn] r6882 - 3.x/trunk/limb/dbal/src/drivers/linter

svn at limb-project.com svn at limb-project.com
Tue Apr 1 12:11:37 MSD 2008


Author: svk
Date: 2008-04-01 12:11:37 +0400 (Tue, 01 Apr 2008)
New Revision: 6882
URL: http://fisheye.limb-project.com/changelog/limb/?cs=6882

Modified:
   3.x/trunk/limb/dbal/src/drivers/linter/lmbLinterConnection.class.php
Log:
-- all cursor options now inheriting from connection

Modified: 3.x/trunk/limb/dbal/src/drivers/linter/lmbLinterConnection.class.php
===================================================================
--- 3.x/trunk/limb/dbal/src/drivers/linter/lmbLinterConnection.class.php	2008-03-31 20:06:48 UTC (rev 6881)
+++ 3.x/trunk/limb/dbal/src/drivers/linter/lmbLinterConnection.class.php	2008-04-01 08:11:37 UTC (rev 6882)
@@ -98,6 +98,7 @@
       $this->log("Connected in mode ".$this->mode.". Connection #".$this->connectionId);
       linter_set_cursor_opt($this->connectionId, CO_NULL_AS_NULL_OBJECT, 1);
       linter_set_cursor_opt($this->connectionId, CO_FETCH_BLOBS_AS_USUAL_DATA, 1);
+      linter_set_cursor_opt($this->connectionId, CO_DT_FORMAT, "YYYY-MM-DD HH:MI:SS");
       //linter_set_cursor_opt($this->connectionId, CO_DECIMAL_AS_DOUBLE, 1);
     }
 	
@@ -219,8 +220,6 @@
       if ($result < 0)
         $this->_raiseError($result);
         
-      linter_set_cursor_opt($result, CO_DT_FORMAT, "YYYY-MM-DD HH:MI:SS");
-
       $this->cursorPool[$result] = "opened";
       $this->log("Cursor opened. Connection: ".$this->connectionId."; cursor: ".$result."; pool size: ".count($this->cursorPool));
     }



More information about the limb-svn mailing list