disable exact row count retrieval on SQL Anywhere

parent 9dbec4b5
...@@ -56,11 +56,6 @@ class SQLAnywhereConnection implements Connection, ServerInfoAwareConnection ...@@ -56,11 +56,6 @@ class SQLAnywhereConnection implements Connection, ServerInfoAwareConnection
if (! sasql_set_option($this->connection, 'auto_commit', 'on')) { if (! sasql_set_option($this->connection, 'auto_commit', 'on')) {
throw SQLAnywhereException::fromSQLAnywhereError($this->connection); throw SQLAnywhereException::fromSQLAnywhereError($this->connection);
} }
// Enable exact, non-approximated row count retrieval.
if (! sasql_set_option($this->connection, 'row_counts', true)) {
throw SQLAnywhereException::fromSQLAnywhereError($this->connection);
}
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment