Add full statements to query execution error messages.