mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
BUG#12561297:LIBMYSQLD/EXAMPLE/MYSQL_EMBEDDED IS ABORTING.
Issue: When libmysqld/example/mysql_embedded is executed, it was getting abort. Its a regression as it was working in 5.1 and failed in 5.5. Issue is there because remaining_argc/remaining_argv were not getting assigned correctly in init_embedded_server() which were being used later in init_common_variable(). Solution: Rectified code to pass correct argc/argv to be used in init_common_variable().
This commit is contained in:
6
mysql-test/t/mysql_embedded.test
Normal file
6
mysql-test/t/mysql_embedded.test
Normal file
@ -0,0 +1,6 @@
|
||||
--echo #
|
||||
--echo # Bug#12561297 : LIBMYSQLD/EXAMPLE/MYSQL_EMBEDDED IS ABORTING.
|
||||
--echo #
|
||||
|
||||
--source include/is_embedded.inc
|
||||
--exec $MYSQL_TEST_DIR/../libmysqld/examples/mysql_embedded -e 'select 1'
|
Reference in New Issue
Block a user