diff --git a/src/Pdo/Cache/Statement.php b/src/Pdo/Cache/Statement.php index 265d02a..c079bbf 100644 --- a/src/Pdo/Cache/Statement.php +++ b/src/Pdo/Cache/Statement.php @@ -40,12 +40,12 @@ public function __construct(Cache $connection, $dbh, $statement, array $options $this->throwException(); } - if (\strtolower(\get_resource_type($this->statement)) !== 'odbc result') { - throw new CacheException( - 'Resource expected of type odbc result; ' - .(string) \get_resource_type($this->statement).' received instead.' - ); - } + // if (\strtolower(\get_resource_type($this->statement)) !== 'odbc result') { + // throw new CacheException( + // 'Resource expected of type odbc result; ' + // .(string) \get_resource_type($this->statement).' received instead.' + // ); + // } $fetchMode = $connection->getAttribute(PDO::ATTR_DEFAULT_FETCH_MODE);