Debug added to at the end of  afmysql_dd_run_query function