Bug #112259 Assert when debug_sync_timeout is 0
Submitted: 5 Sep 2023 9:44 Modified: 5 Sep 2023 10:21
Reporter: Kamil Holubicki (OCA) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:8.0.33 OS:Any
Assigned to: CPU Architecture:Any
Tags: contributions

[5 Sep 2023 9:44] Kamil Holubicki
Description:
If server is built with debug sync and debug_sync_timeout option is not set it defaults to 0 (zero). It means that debug sync facility stays disabled.
However, when used, server asserts.

How to repeat:
Start the server without debug_sync_timeout specified in my.cnf

SET GLOBAL debug = '+d,dbug.enabled_commit';
create database test;
[5 Sep 2023 9:46] Kamil Holubicki
proposed patch

(*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: debug_sync.patch (text/x-patch), 499 bytes.

[5 Sep 2023 10:21] MySQL Verification Team
Hello Kamil Holubicki ,

Thank you for the report and contribution.

regards,
Umesh