summaryrefslogtreecommitdiff
path: root/mysql-test/r/mysql_embedded.result
diff options
context:
space:
mode:
authorMayank Prasad <mayank.prasad@oracle.com>2011-06-14 00:11:24 +0530
committerMayank Prasad <mayank.prasad@oracle.com>2011-06-14 00:11:24 +0530
commit34142b84c69fd67e8d50157d9d3356dcef30d154 (patch)
treedad9115efb1b0b332a4ed2fe9fe43eddb43d9a65 /mysql-test/r/mysql_embedded.result
parent775770145c904f48949c5c0e95d594d8f222eb32 (diff)
downloadmariadb-git-34142b84c69fd67e8d50157d9d3356dcef30d154.tar.gz
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(). libmysqld/lib_sql.cc: Rectified remaining_argc/remaining_argv assignment. mysql-test/r/mysql_embedded.result: Result file for the test case added. mysql-test/t/mysql_embedded.test: Added test case to verify libmysqld/example/mysql_embedded works.
Diffstat (limited to 'mysql-test/r/mysql_embedded.result')
-rw-r--r--mysql-test/r/mysql_embedded.result5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/r/mysql_embedded.result b/mysql-test/r/mysql_embedded.result
new file mode 100644
index 00000000000..3ba79a01e44
--- /dev/null
+++ b/mysql-test/r/mysql_embedded.result
@@ -0,0 +1,5 @@
+#
+# Bug#12561297 : LIBMYSQLD/EXAMPLE/MYSQL_EMBEDDED IS ABORTING.
+#
+1
+1