Fix issue where no OFFSET is set when passing an integer to limit() #50
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
vlw/php-mysql!50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/50/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR just sets the
OFFSETvalue to0if no offset is provided for all calls tolimit(). This fixes a bug where noOFFSETwas set if the$limitparameter was given an integer.. which was the only allowed type except null anyways.