Temporary work around for mysqld segmentation faults with mysql_server_prepare