[MDEV-29022] add_slave destroys child list and has dead code Created: 2022-07-04  Updated: 2022-09-27  Resolved: 2022-09-27

Status: Closed
Project: MariaDB Server
Component/s: OTHER
Affects Version/s: 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9
Fix Version/s: 10.3.37, 10.4.27, 10.5.18, 10.6.11, 10.7.7, 10.8.6, 10.9.4, 10.10.2

Type: Bug Priority: Critical
Reporter: Oleksandr Byelkin Assignee: Oleksandr Byelkin
Resolution: Fixed Votes: 0
Labels: None


 Description   

As rucha174 found st_select_lex_node::add_slave() has dead code and also destroys the list of the children of a node.

As we use context for name resolution it has no visible effect, but can bring problems we do not see now.


Generated at Thu Feb 08 10:05:17 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.