List:Commits« Previous MessageNext Message »
From:Mayank Prasad Date:June 13 2011 6:47pm
Subject:bzr commit into mysql-trunk branch (mayank.prasad:3198) Bug#12561297
View as plain text  
#At file:///home/mayank/mysql-tree/mysql-trunk/ based on revid:cpowers@tma-1-20110613170425-o8ev227orn2d0uij

 3198 Mayank Prasad	2011-06-14 [merge]
      merge from 5.5 for bug#12561297

    added:
      mysql-test/r/mysql_embedded.result
      mysql-test/t/mysql_embedded.test
    modified:
      libmysqld/lib_sql.cc
=== modified file 'libmysqld/lib_sql.cc'
--- a/libmysqld/lib_sql.cc	2011-06-10 16:57:01 +0000
+++ b/libmysqld/lib_sql.cc	2011-06-13 18:46:41 +0000
@@ -532,8 +532,8 @@ int init_embedded_server(int argc, char 
     return 1;
   defaults_argc= *argcp;
   defaults_argv= *argvp;
-  remaining_argc= argc;
-  remaining_argv= argv;
+  remaining_argc= *argcp;
+  remaining_argv= *argvp;
 
   /* Must be initialized early for comparison of options name */
   system_charset_info= &my_charset_utf8_general_ci;

=== added file 'mysql-test/r/mysql_embedded.result'
--- a/mysql-test/r/mysql_embedded.result	1970-01-01 00:00:00 +0000
+++ b/mysql-test/r/mysql_embedded.result	2011-06-13 18:41:24 +0000
@@ -0,0 +1,5 @@
+#
+# Bug#12561297 : LIBMYSQLD/EXAMPLE/MYSQL_EMBEDDED IS ABORTING.
+#
+1
+1

=== added file 'mysql-test/t/mysql_embedded.test'
--- a/mysql-test/t/mysql_embedded.test	1970-01-01 00:00:00 +0000
+++ b/mysql-test/t/mysql_embedded.test	2011-06-13 18:41:24 +0000
@@ -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'

No bundle (reason: revision is a merge (you can force generation of a bundle with env var BZR_FORCE_BUNDLE=1)).
Thread
bzr commit into mysql-trunk branch (mayank.prasad:3198) Bug#12561297Mayank Prasad13 Jun