← Back to team overview

maria-developers team mailing list archive

Re: Next steps in improving single-threaded performance

 

Kristian Nielsen wrote:
> I implemented a simple program to generate some profile load:
> 
>     https://github.com/knielsen/gen_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


Follow ups

References