[MDEV-19855] Create "Sql_cmd_show_slave_status" class for "SHOW SLAVE STATUS" command. Created: 2019-06-25 Updated: 2020-08-25 Resolved: 2019-07-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Parser |
| Fix Version/s: | 10.5.0 |
| Type: | Task | Priority: | Critical |
| Reporter: | Sujatha Sivakumar (Inactive) | Assignee: | Sujatha Sivakumar (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
As part of MDEV-18777 new alias named "REPLICA" is added for "SLAVE". One possible option is to add a new member to Lex to capture the name specified for Like thd->lex->secondary_name= SLAVE/REPLICA. But there are following limitations LEX is so huge, it uses a lot of memory. We're doing the other way around: remove all specific members from LEX. Please do the following way: 1. Add a new class Sql_cmd_show_slave_status from mysql_execute_command() to Sql_cmd_show_slave_status::execute(). Please also add a member "verbose" in Sql_cmd_show_slave_status |
| Comments |
| Comment by Sujatha Sivakumar (Inactive) [ 2019-06-25 ] |
|
Hello Bar, Can you please review the changes for The patch is available in commit email list. Thank you. |
| Comment by Alexander Barkov [ 2019-06-26 ] |
|
The patch looks fine. Ok to push. |
| Comment by Andrei Elkin [ 2019-07-01 ] |
|
The ticket idea is reasonable and the committed patch follows it well. Approved. |