Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
MDEV-29706 : SIGSEGV in wsrep_TOI_begin on non-Galera builds
Do not allow setting wsrep_on=ON if no provider is set.
- Loading branch information
Jan Lindström
committed
Oct 6, 2022
1 parent
074e358
commit 09f7889
Showing
4 changed files
with
20 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| SET GLOBAL wsrep_on=ON; | ||
| ERROR HY000: WSREP (galera) can't be enabled if the wsrep_provider is unset or set to 'none' | ||
| SELECT @@global.wsrep_on; | ||
| @@global.wsrep_on | ||
| 0 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --source include/not_embedded.inc | ||
|
|
||
| # | ||
| # @@global.wsrep_on is not allowed if there | ||
| # is no wsrep_provider | ||
| # | ||
| --error ER_WRONG_ARGUMENTS | ||
| SET GLOBAL wsrep_on=ON; | ||
| SELECT @@global.wsrep_on; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters