Details
Description
When a non-Galera build is started with a dummy wsrep_provider:
# mysqld options required for replay: --wsrep_provider='dummy' |
SET GLOBAL wsrep_on=ON; |
It leads to:
10.11.0 6ebdd3013a18b01dbecec76b870810329eb76586 (Debug) |
10.11.0-dbg>SET GLOBAL wsrep_on=ON;
|
ERROR 1126 (HY000): Can't open shared library 'dummy' (errno: -2147284456, wsrep_init failed)
|
10.8.5 593fdee3973ce4ab4890a6fb9f740b3a28a44edc (Debug) |
10.8.5-dbg>SET GLOBAL wsrep_on=ON;
|
ERROR 1126 (HY000): Can't open shared library 'dummy' (errno: 1470566390, wsrep_init failed)
|
10.4.27 3e3cfa893481abe9524a1657c4246fa9f91d4826 (Debug) |
10.4.27-dbg>SET GLOBAL wsrep_on=ON;
|
ERROR 1126 (HY000): Can't open shared library 'dummy' (errno: 488607005, wsrep_init failed)
|
The -2147284456 number is abritary, and it's value seems to depend on the string provided as wsrep_provider (here dummy), as well as the server version (it is not consitent between versions but it is consistent when the SQL is repeated): it looks like a bad memory read or similar.
An UB+ASAN build does not show any related output.