Remove debug code from _execute_sql_query.