mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 17:33:44 +01:00
branches/zip: dict_index_find_cols(): Print diagnostic on name mismatch.
This addresses Bug #44571 but does not fix it. rb://135 approved by Sunny Bains.
This commit is contained in:
parent
10b912ce0a
commit
818a252bb0
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
2009-06-25 The InnoDB Team
|
||||
|
||||
* dict/dict0dict.c:
|
||||
When an index column cannot be found in the table during index
|
||||
creation, display additional diagnostic before an assertion failure.
|
||||
This does NOT fix Bug #44571 InnoDB Plugin crashes on ADD INDEX,
|
||||
but it helps understand the reason of the crash.
|
||||
|
||||
2009-06-17 The InnoDB Team
|
||||
|
||||
* row/row0merge.c:
|
||||
|
|
|
@ -1693,6 +1693,11 @@ dict_index_find_cols(
|
|||
}
|
||||
|
||||
/* It is an error not to find a matching column. */
|
||||
fputs("InnoDB: Error: no matching column for ", stderr);
|
||||
ut_print_name(stderr, NULL, FALSE, field->name);
|
||||
fputs(" in ", stderr);
|
||||
dict_index_name_print(stderr, NULL, index);
|
||||
fputs("!\n", stderr);
|
||||
ut_error;
|
||||
|
||||
found:
|
||||
|
|
Loading…
Add table
Reference in a new issue