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 lp:1534246 (5.5) "'ctype_ucs.test' fails sporadically" #314

Merged

Conversation

percona-ysorokin
Copy link
Collaborator

Because of the Oralce Bug #79989, there is no guarantee that after
including "ctype_common.inc" current value of the @@character_set_database
session variable will be 'latin1' and string literals without prefixes in the
following "SELECT" statement ('00' and '01') will have this charset.
As a workaround, we add explicit "_latin1" prefix to them.

Because of the Oralce Bug #79989, there is no guarantee that after
including "ctype_common.inc" current value of the @@character_set_database
session variable will be 'latin1' and string literals without prefixes in the
following "SELECT" statement ('00' and '01') will have this charset.
As a workaround, we add explicit "_latin1" prefix to them.
@laurynas-biveinis laurynas-biveinis self-assigned this Jan 18, 2016
@laurynas-biveinis
Copy link
Contributor

Is there a Jenkins run?

@percona-ysorokin
Copy link
Collaborator Author

@laurynas-biveinis
Copy link
Contributor

LGTM

@percona-ysorokin percona-ysorokin changed the title Fix bug lp:1534246 (5.5) "'ctype_ucs.test' fails sporadicaly" Fix bug lp:1534246 (5.5) "'ctype_ucs.test' fails sporadically" Jan 18, 2016
percona-ysorokin added a commit that referenced this pull request Jan 18, 2016
…_ucs

Fix bug lp:1534246 (5.5) "'ctype_ucs.test' fails sporadically"
@percona-ysorokin percona-ysorokin merged commit ae573c0 into percona:5.5 Jan 18, 2016
george-lorch pushed a commit to george-lorch/percona-server that referenced this pull request Oct 5, 2016
Summary:
MyRocks had a bug that checking tx isolation level
happened twice per statement at external_lock(). This caused
an unexpected error when setting prohibited isolation level
(serializable or read uncommitted) as a session variable,
and setting one shot read committed or repeatable read isolation level.

Test Plan: issue314.test

Reviewers: hermanlee4, jkedgar, spetrunia, mung

Reviewed By: mung

Subscribers: webscalesql-eng

Differential Revision: https://reviews.facebook.net/D63915
george-lorch pushed a commit to george-lorch/percona-server that referenced this pull request Oct 5, 2016
Summary:
MyRocks had a bug that checking tx isolation level
happened twice per statement at external_lock(). This caused
an unexpected error when setting prohibited isolation level
(serializable or read uncommitted) as a session variable,
and setting one shot read committed or repeatable read isolation level.

Test Plan: issue314.test

Reviewers: hermanlee4, jkedgar, spetrunia, mung

Reviewed By: mung

Subscribers: webscalesql-eng

Differential Revision: https://reviews.facebook.net/D63915
inikep pushed a commit to inikep/percona-server that referenced this pull request Apr 23, 2020
Summary:
MyRocks had a bug that checking tx isolation level
happened twice per statement at external_lock(). This caused
an unexpected error when setting prohibited isolation level
(serializable or read uncommitted) as a session variable,
and setting one shot read committed or repeatable read isolation level.

Reviewed By: lth

Differential Revision: https://reviews.facebook.net/D63915

fbshipit-source-id: 1bb72769e18
inikep pushed a commit to inikep/percona-server that referenced this pull request Feb 24, 2021
Summary:
MyRocks had a bug that checking tx isolation level
happened twice per statement at external_lock(). This caused
an unexpected error when setting prohibited isolation level
(serializable or read uncommitted) as a session variable,
and setting one shot read committed or repeatable read isolation level.

Reviewed By: lth

Differential Revision: https://reviews.facebook.net/D63915

fbshipit-source-id: 1bb72769e18
inikep pushed a commit to inikep/percona-server that referenced this pull request Nov 15, 2021
Summary:
MyRocks had a bug that checking tx isolation level
happened twice per statement at external_lock(). This caused
an unexpected error when setting prohibited isolation level
(serializable or read uncommitted) as a session variable,
and setting one shot read committed or repeatable read isolation level.

Reviewed By: lloyd

Differential Revision: https://reviews.facebook.net/D63915

fbshipit-source-id: b66d606cba8
ldonoso pushed a commit to ldonoso/percona-server that referenced this pull request Mar 15, 2022
Summary:
MyRocks had a bug that checking tx isolation level
happened twice per statement at external_lock(). This caused
an unexpected error when setting prohibited isolation level
(serializable or read uncommitted) as a session variable,
and setting one shot read committed or repeatable read isolation level.

Reviewed By: lloyd

Differential Revision: https://reviews.facebook.net/D63915
inikep pushed a commit to inikep/percona-server that referenced this pull request Apr 9, 2024
Summary:
MyRocks had a bug that checking tx isolation level
happened twice per statement at external_lock(). This caused
an unexpected error when setting prohibited isolation level
(serializable or read uncommitted) as a session variable,
and setting one shot read committed or repeatable read isolation level.

Reviewed By: lloyd

Differential Revision: https://reviews.facebook.net/D63915
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants