2852
2837
if (using_fields && found_using_fields < using_fields->size())
2855
2839
List<String>::iterator using_fields_it(using_fields->begin());
2858
2842
const char *using_field_name_ptr= using_field_name->c_ptr();
2865
2846
/* If reached the end of fields, and none was found, report error. */
2868
my_error(ER_BAD_FIELD_ERROR, MYF(0), using_field_name_ptr,
2850
my_error(ER_BAD_FIELD_ERROR, MYF(0), using_field_name_ptr, session->where());