Bug #116887 adjusted_group set on stack variable instead of on object

Submitted: 6 Dec 2024 0:13 Modified: 6 Dec 2024 5:48
Reporter: Mikael Ronström Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:8.0.34 OS:Any
Assigned to: CPU Architecture:Any

[6 Dec 2024 0:13] Mikael Ronström
Description:
In the method adjust_node_proximity one can set adjusted_group.
This setting has no effect since the variable is a stack variable.
The same goes for a lot of other changes in the same method.

How to repeat:
Found through code review and debugging other things.

Suggested fix:
Rewrite and simplify code :)
[6 Dec 2024 5:48] MySQL Verification Team
Hello Mikael,

Thank you for the report and feedback.

Sincerely,
Umesh

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.