use run_mysql_query() in functional tests too