-
-
Notifications
You must be signed in to change notification settings - Fork 2k
MDEV-35767: Prevent MTR from overwriting list-like options in test-specific .cnf files #4792
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
base: 10.11
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| !include include/default_my.cnf | ||
| [mysqld] | ||
| replicate_do_table=test.t1 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you really need to prefix these with "test." ? And does it need to be 3 lines? IMHO 2 would do just fine.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, please try to keep a single commit. the github PR UI has as "rebase" button: use that if you need to update your branch. Or the equivalent on the command line.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I tested removing the "test." prefix, but i belive it causes the server to crash on startup (it dies after 0.06 seconds). In But i'm not sure though, what do you think? |
||
| replicate_do_table=test.t2 | ||
| replicate_do_table=test.t3 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # | ||
| # MDEV-35767 MTR Overwrites Test-Specific .cnf File Options On Duplicate Option | ||
| # | ||
| SELECT @@replicate_do_table; | ||
| @@replicate_do_table | ||
| test.t3,test.t1,test.t2 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # | ||
| # Test list parsing for duplicate .cnf option | ||
| # | ||
|
|
||
| -- source include/not_embedded.inc | ||
|
|
||
| --echo # | ||
| --echo # MDEV-35767 MTR Overwrites Test-Specific .cnf File Options On Duplicate Option | ||
| --echo # | ||
|
|
||
| SELECT @@replicate_do_table; |
Uh oh!
There was an error while loading. Please reload this page.