Unverified Commit f82e84bc authored by Sergei Morozov's avatar Sergei Morozov Committed by GitHub

Merge pull request #3362 from deeky666/sasql-disable-exact-row-counts

[SQL Anywhere] Disable exact row count retrieval on SQL Anywhere
parents 9e09207f 3298ad79
...@@ -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