#721·MySQL

setting string session variable registered via component service crashes server

Author: tomas-villagesqlCreated Aug 13, 2026Updated Sep 11, 2026
Labelsbug

MySQL version / commit

any from 9.0 (tested on trunk)

Steps to reproduce

create test file in stock mysql:

--source ../include/have_component_test_session_var_service.inc INSTALL COMPONENT "file://component_test_session_var_service"; SET SESSION test_component.str_session_var_default = "session_value"; <--- SEGV

Expected vs actual result

not crashing :-)

Platform / compiler

No response