Please sign in to comment.
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 with 22 additions and 11 deletions.