[MDEV-6956] SET STATEMENT default_master_connection = ... has no effect Created: 2014-10-27 Updated: 2015-03-16 Resolved: 2015-03-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Admin statements, Replication |
| Affects Version/s: | N/A |
| Fix Version/s: | 10.1.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
default_master_connection defines which slave (in a multi-source replication) anonymous commands will be applied to. It does not work with SET STATEMENT (works in the same cases if it's set via normal SET). See comments in the test case for details.
Percona server does not have this functionality and variable, so nothing to compare with. |
| Comments |
| Comment by Oleksandr Byelkin [ 2014-10-29 ] |
|
The variable is prohibited in SET STATEMENT for now. |
| Comment by Oleksandr Byelkin [ 2015-02-25 ] |
|
default_master_connection as a defult set in sql_yacc.yy (i.e. in parser). |
| Comment by Oleksandr Byelkin [ 2015-02-26 ] |
|
revision-id: 8bae7b66a911ad4f275a146fe8a23c8fa3e8d387
the problem was in assigning default value during parsing. |
| Comment by Oleksandr Byelkin [ 2015-03-06 ] |
|
revision-id: 6c772ae62a0a43ea227f491509c02efb99c5ce92
the problem was in assigning default value during parsing. |