Skip to content

Commit

Permalink
Merge pull request #3362 from deeky666/sasql-disable-exact-row-counts
Browse files Browse the repository at this point in the history
[SQL Anywhere] Disable exact row count retrieval on SQL Anywhere
  • Loading branch information
morozov authored Nov 30, 2018
2 parents 9e09207 + 3298ad7 commit f82e84b
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ public function __construct($dsn, $persistent = false)
if (! sasql_set_option($this->connection, 'auto_commit', 'on')) {
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);
}
}

/**
Expand Down

0 comments on commit f82e84b

Please sign in to comment.