Commit 230607a0 authored by unknown's avatar unknown

Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-ndb

into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb

parents 5dd4481d 6278dff8
...@@ -2036,6 +2036,7 @@ void handler::print_keydup_error(uint key_nr, const char *msg) ...@@ -2036,6 +2036,7 @@ void handler::print_keydup_error(uint key_nr, const char *msg)
{ {
/* Key is unknown */ /* Key is unknown */
str.length(0); str.length(0);
str.append(STRING_WITH_LEN(""));
key_nr= -1; key_nr= -1;
my_printf_error(ER_DUP_ENTRY, msg, my_printf_error(ER_DUP_ENTRY, msg,
MYF(0), str.c_ptr(), "*UNKNOWN*"); MYF(0), str.c_ptr(), "*UNKNOWN*");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment