Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.6] Use offset only when limit is available #23998

Closed
wants to merge 2 commits into from

Conversation

softwarevamp
Copy link

Signed-off-by: Revamp Software, Inc. softwarevamp@gmail.com

Signed-off-by: Revamp Software, Inc. <softwarevamp@gmail.com>
Signed-off-by: Revamp Software, Inc. <softwarevamp@gmail.com>
@@ -175,6 +175,6 @@ protected function setCustomModes(PDO $connection, array $config)
*/
protected function strictMode()
{
return "set session sql_mode='ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'";
return "set session sql_mode='ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are 2 changes in 1 commit (& PR), split it up for discussion

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR:
#23948
also is about changing strict mode

@GrahamCampbell GrahamCampbell changed the title use offset only when limit is available [5.6] Use offset only when limit is available Apr 25, 2018
@GrahamCampbell
Copy link
Member

Please send a PR with only one change in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants