diff options
Diffstat (limited to 'innobase/include/row0upd.ic')
-rw-r--r-- | innobase/include/row0upd.ic | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/innobase/include/row0upd.ic b/innobase/include/row0upd.ic index 6b9deeac5e3..d89938d696a 100644 --- a/innobase/include/row0upd.ic +++ b/innobase/include/row0upd.ic @@ -84,10 +84,12 @@ upd_field_set_field_no( if (field_no >= dict_index_get_n_fields(index)) { fprintf(stderr, - "InnoDB: Error: trying to access field %lu in table %s\n" - "InnoDB: index %s, but index has only %lu fields\n", - (unsigned long) field_no, index->table_name, index->name, - (unsigned long) dict_index_get_n_fields(index)); + "InnoDB: Error: trying to access field %lu in ", + (ulong) field_no); + dict_index_name_print(stderr, index); + fprintf(stderr, "\n" + "InnoDB: but index only has %lu fields\n", + (ulong) dict_index_get_n_fields(index)); } dtype_copy(dfield_get_type(&(upd_field->new_val)), |