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

Fix bug 1619665 (Test innodb.innodb_bug30423 is unstable) #970

Merged
merged 1 commit into from
Sep 6, 2016

Conversation

laurynas-biveinis
Copy link
Contributor

Backport the 5.6 that masks rows value in EXPLAIN SELECT output for
this testcase, as it's not fully deterministic.

http://jenkins.percona.com/job/percona-server-5.5-param/1380/

Backport the 5.6 that masks rows value in EXPLAIN SELECT output for
this testcase, as it's not fully deterministic.
@percona-ysorokin
Copy link
Collaborator

LGTM

@laurynas-biveinis laurynas-biveinis merged commit b6f390f into percona:5.5 Sep 6, 2016
@laurynas-biveinis laurynas-biveinis deleted the bug1619665-5.5 branch September 6, 2016 12:37
inikep pushed a commit to inikep/percona-server that referenced this pull request Apr 23, 2020
Summary:
Jira issue: https://jira.percona.com/browse/FB8-172

Reference Patch: facebook/mysql-5.6@b90e801
Reference Patch: facebook/mysql-5.6@ecef4b2

There are cases where it is always unacceptable for a client to be doing full table scans. To prevent this from happening, add a new variable optimizer_full_scan. When it is turned off, it will return a new error code ER_FULL_SCAN_DISABLED.

For best results, use with optimizer_force_index_for_range. Currently, it does not fallback to alternative plans because we check at the end of query planning.

EXPLAIN queries with derived tables do not populate select_options in the JOIN structure properly. This means that we could error if we tried to run an explain on a query with derived tables.

Instead of reading from the JOIN struct, read from the LEX struct on the THD, as this is where the flag is original set on during query parsing.

This bug also means that in upstream, we increment some status variables tracking full table scans despite the fact that only an explain statement was done. This seems to have been fixed in 8.0 though.

Pull Request resolved: facebook/mysql-5.6#970

Reviewed By: lth

Differential Revision: D14567846

Pulled By: lth

fbshipit-source-id: 826ca05403a
inikep pushed a commit to inikep/percona-server that referenced this pull request Feb 24, 2021
Summary:
Jira issue: https://jira.percona.com/browse/FB8-172

Reference Patch: facebook/mysql-5.6@b90e801
Reference Patch: facebook/mysql-5.6@ecef4b2

There are cases where it is always unacceptable for a client to be doing full table scans. To prevent this from happening, add a new variable optimizer_full_scan. When it is turned off, it will return a new error code ER_FULL_SCAN_DISABLED.

For best results, use with optimizer_force_index_for_range. Currently, it does not fallback to alternative plans because we check at the end of query planning.

EXPLAIN queries with derived tables do not populate select_options in the JOIN structure properly. This means that we could error if we tried to run an explain on a query with derived tables.

Instead of reading from the JOIN struct, read from the LEX struct on the THD, as this is where the flag is original set on during query parsing.

This bug also means that in upstream, we increment some status variables tracking full table scans despite the fact that only an explain statement was done. This seems to have been fixed in 8.0 though.

Pull Request resolved: facebook/mysql-5.6#970

Reviewed By: lth

Differential Revision: D14567846

Pulled By: lth

fbshipit-source-id: 826ca05403a
inikep pushed a commit to inikep/percona-server that referenced this pull request Nov 15, 2021
…percona#970)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-172

Reference Patch: facebook/mysql-5.6@b90e801
Reference Patch: facebook/mysql-5.6@ecef4b2

There are cases where it is always unacceptable for a client to be doing full table scans. To prevent this from happening, add a new variable optimizer_full_scan. When it is turned off, it will return a new error code ER_FULL_SCAN_DISABLED.

For best results, use with optimizer_force_index_for_range. Currently, it does not fallback to alternative plans because we check at the end of query planning.

EXPLAIN queries with derived tables do not populate select_options in the JOIN structure properly. This means that we could error if we tried to run an explain on a query with derived tables.

Instead of reading from the JOIN struct, read from the LEX struct on the THD, as this is where the flag is original set on during query parsing.

This bug also means that in upstream, we increment some status variables tracking full table scans despite the fact that only an explain statement was done. This seems to have been fixed in 8.0 though.

Pull Request resolved: facebook/mysql-5.6#970

Reviewed By: lloyd

Differential Revision: D14567846 (facebook/mysql-5.6@7074353)

Pulled By: lth

fbshipit-source-id: f7a7ed38322
ldonoso pushed a commit to ldonoso/percona-server that referenced this pull request Mar 15, 2022
…percona#970)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-172

Reference Patch: facebook/mysql-5.6@b90e801
Reference Patch: facebook/mysql-5.6@ecef4b2

There are cases where it is always unacceptable for a client to be doing full table scans. To prevent this from happening, add a new variable optimizer_full_scan. When it is turned off, it will return a new error code ER_FULL_SCAN_DISABLED.

For best results, use with optimizer_force_index_for_range. Currently, it does not fallback to alternative plans because we check at the end of query planning.

EXPLAIN queries with derived tables do not populate select_options in the JOIN structure properly. This means that we could error if we tried to run an explain on a query with derived tables.

Instead of reading from the JOIN struct, read from the LEX struct on the THD, as this is where the flag is original set on during query parsing.

This bug also means that in upstream, we increment some status variables tracking full table scans despite the fact that only an explain statement was done. This seems to have been fixed in 8.0 though.

Pull Request resolved: facebook/mysql-5.6#970

Reviewed By: lloyd

Differential Revision: D14567846

Pulled By: lth
ldonoso pushed a commit to ldonoso/percona-server that referenced this pull request Mar 15, 2022
…percona#970)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-172

Reference Patch: facebook/mysql-5.6@b90e801
Reference Patch: facebook/mysql-5.6@ecef4b2

There are cases where it is always unacceptable for a client to be doing full table scans. To prevent this from happening, add a new variable optimizer_full_scan. When it is turned off, it will return a new error code ER_FULL_SCAN_DISABLED.

For best results, use with optimizer_force_index_for_range. Currently, it does not fallback to alternative plans because we check at the end of query planning.

EXPLAIN queries with derived tables do not populate select_options in the JOIN structure properly. This means that we could error if we tried to run an explain on a query with derived tables.

Instead of reading from the JOIN struct, read from the LEX struct on the THD, as this is where the flag is original set on during query parsing.

This bug also means that in upstream, we increment some status variables tracking full table scans despite the fact that only an explain statement was done. This seems to have been fixed in 8.0 though.

Pull Request resolved: facebook/mysql-5.6#970

Reviewed By: lloyd

Differential Revision: D14567846

Pulled By: lth
ldonoso pushed a commit to ldonoso/percona-server that referenced this pull request Mar 18, 2022
…percona#970)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-172

Reference Patch: facebook/mysql-5.6@b90e801
Reference Patch: facebook/mysql-5.6@ecef4b2

There are cases where it is always unacceptable for a client to be doing full table scans. To prevent this from happening, add a new variable optimizer_full_scan. When it is turned off, it will return a new error code ER_FULL_SCAN_DISABLED.

For best results, use with optimizer_force_index_for_range. Currently, it does not fallback to alternative plans because we check at the end of query planning.

EXPLAIN queries with derived tables do not populate select_options in the JOIN structure properly. This means that we could error if we tried to run an explain on a query with derived tables.

Instead of reading from the JOIN struct, read from the LEX struct on the THD, as this is where the flag is original set on during query parsing.

This bug also means that in upstream, we increment some status variables tracking full table scans despite the fact that only an explain statement was done. This seems to have been fixed in 8.0 though.

Pull Request resolved: facebook/mysql-5.6#970

Reviewed By: lloyd

Differential Revision: D14567846

Pulled By: lth
ldonoso pushed a commit to ldonoso/percona-server that referenced this pull request Apr 12, 2022
…percona#970)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-172

Reference Patch: facebook/mysql-5.6@b90e801
Reference Patch: facebook/mysql-5.6@ecef4b2

There are cases where it is always unacceptable for a client to be doing full table scans. To prevent this from happening, add a new variable optimizer_full_scan. When it is turned off, it will return a new error code ER_FULL_SCAN_DISABLED.

For best results, use with optimizer_force_index_for_range. Currently, it does not fallback to alternative plans because we check at the end of query planning.

EXPLAIN queries with derived tables do not populate select_options in the JOIN structure properly. This means that we could error if we tried to run an explain on a query with derived tables.

Instead of reading from the JOIN struct, read from the LEX struct on the THD, as this is where the flag is original set on during query parsing.

This bug also means that in upstream, we increment some status variables tracking full table scans despite the fact that only an explain statement was done. This seems to have been fixed in 8.0 though.

Pull Request resolved: facebook/mysql-5.6#970

Reviewed By: lloyd

Differential Revision: D14567846

Pulled By: lth
inikep pushed a commit to inikep/percona-server that referenced this pull request Apr 17, 2024
…percona#970)

Summary:
Jira issue: https://jira.percona.com/browse/FB8-172

Reference Patch: facebook/mysql-5.6@b90e801
Reference Patch: facebook/mysql-5.6@ecef4b2

There are cases where it is always unacceptable for a client to be doing full table scans. To prevent this from happening, add a new variable optimizer_full_scan. When it is turned off, it will return a new error code ER_FULL_SCAN_DISABLED.

For best results, use with optimizer_force_index_for_range. Currently, it does not fallback to alternative plans because we check at the end of query planning.

EXPLAIN queries with derived tables do not populate select_options in the JOIN structure properly. This means that we could error if we tried to run an explain on a query with derived tables.

Instead of reading from the JOIN struct, read from the LEX struct on the THD, as this is where the flag is original set on during query parsing.

This bug also means that in upstream, we increment some status variables tracking full table scans despite the fact that only an explain statement was done. This seems to have been fixed in 8.0 though.

Pull Request resolved: facebook/mysql-5.6#970

Reviewed By: lloyd

Differential Revision: D14567846

Pulled By: lth
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.

2 participants