Skip to content
/ server Public

Comments

MDEV-29466: Rename description_event_for_exec to description_event_for_sql_thread#4668

Closed
ChandanaRamakrishna wants to merge 12 commits intoMariaDB:mainfrom
ChandanaRamakrishna:MDEV-29466-rename-description-event-10.6
Closed

MDEV-29466: Rename description_event_for_exec to description_event_for_sql_thread#4668
ChandanaRamakrishna wants to merge 12 commits intoMariaDB:mainfrom
ChandanaRamakrishna:MDEV-29466-rename-description-event-10.6

Conversation

@ChandanaRamakrishna
Copy link
Contributor

Renamed description_event_for_exec to description_event_for_sql_thread
for clarity, since it is used by the SQL thread.

No functional changes.

Based on 10.6 as requested.

Alexey Botchkov and others added 11 commits January 28, 2026 12:55
…ck-buffer-overflow in Binary_string::q_append, and Assertion `str.alloced_length() >= str.length() + data_len' failed in spider_string::q_append on SELECT.

The buffer size has to be increased because we store the hexadecimal
representation of the data which takes twice it's length plust the '0x'
starter. Also string representation of the long should be increased.
We have to take the ending of a polygon into account.
So the order of checking the scan changed.
Starting with MariaDB Server 10.11, the test innodb.xa_recovery
would consume innodb_lock_wait_timeout (default: 50) extra seconds.
The exact difference between 10.6 and 10.11 is not known, but the
issue is that a client disconnect fails to abort a lock wait.
Let us set a minimal timeout for the problematic statement in order
to allow the test to complete faster.
Setting mroonga_default_tokenizer to NULL caused a server
crash because the update function did not handle the NULL value before
passing it to strcmp.

Handle NULL values by treating them as "off" to allow safe variable
reset.
Align with existing mroonga memory management patterns to ensure consistency,
rather than relying on the MariaDB framework default behavior.
Add copyright header to the test file.
Disable the test in embedded mode by sourcing include/not_embedded.inc."
…nnodb_file_per_table setting

Problem:
=======
InnoDB DDL does ALTER TABLE PAGE_COMPRESSED=1 because:
1. check_if_supported_inplace_alter() reads srv_file_per_table
during precheck and does allow INSTANT operation.
2. User does change innodb_file_per_table later.
But prepare phase read srv_file_per_table again during execution.
3. If the global variable changed between these phases, causes
server abort for page_compressed tables.

Solution:
=========
- Add a file_per_table member to Alter_inplace_info to
capture the innodb_file_per_table value during the
precheck phase and use that consistent value throughout
the entire ALTER TABLE operation.
- Converted boolean flags (online, ignore, error_if_not_empty,
mdl_exclusive_after_prepare) from individual boolean
members to bitfields packed in a single byte
- Reduced Alter_inplace_info structure size by 24 bytes
@gkodinov gkodinov added the External Contribution All PRs from entities outside of MariaDB Foundation, Corporation, Codership agreements. label Feb 20, 2026
Copy link
Member

@gkodinov gkodinov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a preliminary review. Thank you for rebasing this to 10.6.

Please update your commit's text so that it complies to CODING_STANDARDS.md.

…_sql_thread

Pure rename for clarity. No functional changes.
@ChandanaRamakrishna ChandanaRamakrishna force-pushed the MDEV-29466-rename-description-event-10.6 branch from b06759a to ad7bc15 Compare February 20, 2026 09:44
@ChandanaRamakrishna
Copy link
Contributor Author

Updated the commit message to comply with CODING_STANDARDS.md.
Please let me know if anything else needs adjustment.

Copy link
Member

@gkodinov gkodinov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM now. thanks.

@ChandanaRamakrishna
Copy link
Contributor Author

ChandanaRamakrishna commented Feb 20, 2026 via email

@gkodinov gkodinov requested a review from andrelkin February 20, 2026 11:26
@andrelkin
Copy link
Contributor

Dear Chandana, thanks for a good piece of help!

I am sorry not to have made it clear earlier that the patch would be better off to go to 13.0.
At this point it fits more to refactoring and can't be anyway disturbing to those who deeply rooted to the old name,
while also at fixing functional bugs.

If you don't mind, could you please rebase your work onto the current main branch?

Cheers,
Andrei

@ChandanaRamakrishna
Copy link
Contributor Author

ChandanaRamakrishna commented Feb 22, 2026 via email

@andrelkin
Copy link
Contributor

Howdy Chandana!

I have rebased

I only see the 10.6-based commit 😇

@ChandanaRamakrishna ChandanaRamakrishna changed the base branch from 10.6 to main February 23, 2026 14:01
@andrelkin
Copy link
Contributor

Chandana, the rebased patch looks good. Thanks for a good piece of work and your patience!

I am approving it.

PS. I am not sure why this PR was closed though, it probably only needed the rebase to main..

@ChandanaRamakrishna
Copy link
Contributor Author

ChandanaRamakrishna commented Feb 23, 2026 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

External Contribution All PRs from entities outside of MariaDB Foundation, Corporation, Codership agreements.

Development

Successfully merging this pull request may close these issues.

8 participants