debug_sql() will now always add a ; at the end of a query for ease of use in the mysql console