Add performance data to check_mysql_query.c