12 Feb
2014
12 Feb
'14
3:53 p.m.
Kristian Nielsen wrote:
I implemented a simple program to generate some profile load:
I propose the following change to make it work with MariaDB releases before 10.0.4 (and MySQL) that lack the SHUTDOWN statement: --- gen_profile_load.c.orig 2014-02-11 14:01:34.896583280 +0100 +++ gen_profile_load.c 2014-02-12 15:44:24.107310585 +0100 @@ -560,7 +560,7 @@ { int status; - do_queryf("shutdown"); + mysql_shutdown(&mysql, SHUTDOWN_DEFAULT); if (mysqld_pid <= 0) return; XL