Unverified Commit a777cb44 authored by Steve Müller's avatar Steve Müller Committed by Sergei Morozov

disable exact row count retrieval on SQL Anywhere

parent 8d2399c7
...@@ -81,11 +81,6 @@ class SQLAnywhereConnection implements Connection, ServerInfoAwareConnection ...@@ -81,11 +81,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