Skip to content

bug: DML_SUBQUERY should suppress index hints#3589

Merged
sougou merged 1 commit intovitessio:masterfrom
sougou:bugs
Jan 25, 2018
Merged

bug: DML_SUBQUERY should suppress index hints#3589
sougou merged 1 commit intovitessio:masterfrom
sougou:bugs

Conversation

@sougou
Copy link
Copy Markdown
Contributor

@sougou sougou commented Jan 25, 2018

BUG=72403076
Since DML_SUBQUERY rewrites updates to use pk, it should suppress
index hints, because those should only be used by the SELECT.

BUG=72403076
Since DML_SUBQUERY rewrites updates to use pk, it should suppress
index hints, because those should only be used by the SELECT.
@sougou
Copy link
Copy Markdown
Contributor Author

sougou commented Jan 25, 2018

@dumbunny

@sougou sougou merged commit cca6112 into vitessio:master Jan 25, 2018
@demmer
Copy link
Copy Markdown
Member

demmer commented Jan 25, 2018

@sougou I assume this will this also cover FORCE INDEX? Would be good to have a test for that in the parser at least.

@sougou
Copy link
Copy Markdown
Contributor Author

sougou commented Jan 25, 2018

#3590

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.

4 participants