3449 Marko Mäkelä 2011-06-14 [merge]
Null merge mysql-5.1 to mysql-5.5.
3448 Mayank Prasad 2011-06-14
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.
added:
mysql-test/r/mysql_embedded.result
mysql-test/t/mysql_embedded.test
modified:
libmysqld/lib_sql.cc
Attachment: [text/bzr-bundle] bzr/marko.makela@oracle.com-20110614054733-vr1y3t227lfsqzr9.bundle
| Thread |
|---|
| • bzr push into mysql-5.5 branch (marko.makela:3448 to 3449) | marko.makela | 14 Jun |