Skip to content
/ server Public

Comments

MDEV-38878 Archive index_read_idx function isn't virtual#4670

Open
grooverdan wants to merge 1 commit intoMariaDB:11.4from
grooverdan:MDEV-38878
Open

MDEV-38878 Archive index_read_idx function isn't virtual#4670
grooverdan wants to merge 1 commit intoMariaDB:11.4from
grooverdan:MDEV-38878

Conversation

@grooverdan
Copy link
Member

index_read_idx cannot be a virtual function in a final class.

The use of a index_read_idx function by the SQL layer was removed long ago.

The remaining use is from index_read, that uses active_index as the argument to index when calling index_read_idx.

So we simply collapse index_read_idx into index_read.

The index_read declaration also doesn't require virtual, the "override" make it explicit that its overriding a parent class implementation.

index_read_idx cannot be a virtual function in a final class.

The use of a index_read_idx function by the SQL layer was removed
long ago.

The remaining use is from index_read, that uses active_index as
the argument to index when calling index_read_idx.

So we simply collapse index_read_idx into index_read.

The index_read declaration also doesn't require virtual, the
"override" make it explict that its overriding a parent class
implementation.
@grooverdan grooverdan added the MariaDB Foundation Pull requests created by MariaDB Foundation label Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

MariaDB Foundation Pull requests created by MariaDB Foundation

Development

Successfully merging this pull request may close these issues.

1 participant