From 33292754b3fbab545c7393cbfc9b6f5815cc8ba3 Mon Sep 17 00:00:00 2001 From: Andrey Kutejko Date: Sun, 9 Jun 2013 00:02:26 +0300 Subject: [PATCH] faster attribute settings --- ipf/orm/connection/mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipf/orm/connection/mysql.php b/ipf/orm/connection/mysql.php index dba7082..6327fa3 100644 --- a/ipf/orm/connection/mysql.php +++ b/ipf/orm/connection/mysql.php @@ -6,7 +6,6 @@ class IPF_ORM_Connection_Mysql extends IPF_ORM_Connection public function __construct(IPF_ORM_Manager $manager, $adapter) { - $this->setAttribute(IPF_ORM::ATTR_DEFAULT_TABLE_TYPE, 'INNODB'); $this->supported = array( 'sequences' => 'emulated', 'indexes' => true, @@ -27,6 +26,7 @@ class IPF_ORM_Connection_Mysql extends IPF_ORM_Connection 'identifier_quoting' => true, 'pattern_escaping' => true ); + $this->attributes[IPF_ORM::ATTR_DEFAULT_TABLE_TYPE] = 'INNODB'; $this->properties['string_quoting'] = array('start' => "'", 'end' => "'", -- 2.49.0