mirror of
https://github.com/MariaDB/server.git
synced 2026-02-15 23:28:40 +01:00
There was a missing NULL element terminator for --system's type library definition. This was causing a crash in find_type_eol when e.g. an incomplete value was passed to --system where it keeps iterating until it finds the NULL as a typelib element. Fixed by appending a NullS to the definition. Test case added.
11 lines
257 B
Text
11 lines
257 B
Text
--source include/not_embedded.inc
|
|
|
|
--echo #
|
|
--echo # MDEV-38642 Missing Null terminator in the definition of mysqldump's
|
|
--echo # --system typelib
|
|
--echo #
|
|
|
|
--echo # Should not crash
|
|
--exec $MYSQL_DUMP --system=user > /dev/null
|
|
|
|
--echo # End of 10.6 tests
|