Skip to content

Allow SELECT options in any order#6082

Merged
systay merged 3 commits intovitessio:masterfrom
planetscale:at-select-options
Apr 20, 2020
Merged

Allow SELECT options in any order#6082
systay merged 3 commits intovitessio:masterfrom
planetscale:at-select-options

Conversation

@systay
Copy link
Copy Markdown
Collaborator

@systay systay commented Apr 17, 2020

Makes it possible for options such as DISTINCT,SQL_CACHE and STRAIGHT_JOIN
to be entered in any order. This is to follow MySQLs behaviour.

Also adds one more new SELECT option - sql_calc_found_rows

Signed-off-by: Andres Taylor andres@planetscale.com

@systay systay requested a review from sougou as a code owner April 17, 2020 14:59
@systay systay requested a review from saifalharthi April 18, 2020 18:17
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this resolved?

Copy link
Copy Markdown
Contributor

@saifalharthi saifalharthi left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

can be removed.

systay added 3 commits April 20, 2020 11:00
Makes it possible for options such as DISTINCT,SQL_CACHE and STRAIGHT_JOIN
to be entered in any order. This is to follow MySQLs behaviour.

Signed-off-by: Andres Taylor <andres@planetscale.com>
Signed-off-by: Andres Taylor <andres@planetscale.com>
Signed-off-by: Andres Taylor <andres@planetscale.com>
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