Commit 33959dc1 authored by unknown's avatar unknown

fix for bug #7285: Disable start of embedded server when need to

connect to an external server with mysqld.


libmysql/libmysql.c:
  fix for bug #7285: Disable start of embedded server when need to
  connect to an external server with libmysqld.
  
  Calling mysql_server_init with a negative value for argc will not
  start the embedded server.
parent 83fce55a
......@@ -158,6 +158,7 @@ int STDCALL mysql_server_init(int argc __attribute__((unused)),
(void) signal(SIGPIPE, SIG_IGN);
#endif
#ifdef EMBEDDED_LIBRARY
if (argc > -1)
result= init_embedded_server(argc, argv, groups);
#endif
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment