-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use bound params for legacy SQLServer pagination
By adding parameters to the query, we make future clones messy. Because cloned queries need to retain their bound parameters (so they can execute), cloning a pagination query in old SQLServer after it had executed would retain the pagination parameters. These additional parameters would cause PDO to consider the query invalid. The changes in the PaginatorComponentTest are to cover the very odd situation where SQLServer's identity column starts at 0 instead of 1 :( Refs #6871
- Loading branch information
Showing
3 changed files
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters