From bdf3ef434f3b410dac1121b663e369df4ffde865 Mon Sep 17 00:00:00 2001 From: Andrey Kutejko Date: Sun, 9 Jun 2013 00:02:52 +0300 Subject: [PATCH] cleanup --- ipf/orm/connection.php | 7 ------- ipf/orm/connection/mysql.php | 20 -------------------- 2 files changed, 27 deletions(-) diff --git a/ipf/orm/connection.php b/ipf/orm/connection.php index 351c75d..9462148 100644 --- a/ipf/orm/connection.php +++ b/ipf/orm/connection.php @@ -255,13 +255,6 @@ abstract class IPF_ORM_Connection extends IPF_ORM_Configurable implements Counta $this->_count++; } - public function supports($feature) - { - return (isset($this->supported[$feature]) - && ($this->supported[$feature] === 'emulated' - || $this->supported[$feature])); - } - public function replace(IPF_ORM_Table $table, array $fields, array $keys) { if (empty($keys)) { diff --git a/ipf/orm/connection/mysql.php b/ipf/orm/connection/mysql.php index 6327fa3..7b7a140 100644 --- a/ipf/orm/connection/mysql.php +++ b/ipf/orm/connection/mysql.php @@ -6,26 +6,6 @@ class IPF_ORM_Connection_Mysql extends IPF_ORM_Connection public function __construct(IPF_ORM_Manager $manager, $adapter) { - $this->supported = array( - 'sequences' => 'emulated', - 'indexes' => true, - 'affected_rows' => true, - 'transactions' => true, - 'savepoints' => false, - 'summary_functions' => true, - 'order_by_text' => true, - 'current_id' => 'emulated', - 'limit_queries' => true, - 'LOBs' => true, - 'replace' => true, - 'sub_selects' => true, - 'auto_increment' => true, - 'primary_key' => true, - 'result_introspection' => true, - 'prepared_statements' => 'emulated', - 'identifier_quoting' => true, - 'pattern_escaping' => true - ); $this->attributes[IPF_ORM::ATTR_DEFAULT_TABLE_TYPE] = 'INNODB'; $this->properties['string_quoting'] = array('start' => "'", -- 2.49.0