Commit 59c4b5ba authored by unknown's avatar unknown

Bug #21072 Duplicate key error in NDB references wrong key: use MAX_KEY to...

Bug #21072  Duplicate key error in NDB references wrong key: use MAX_KEY to signal unknown key: Added string initialization


parent e4cc40f8
...@@ -1107,6 +1107,7 @@ void handler::print_error(int error, myf errflag) ...@@ -1107,6 +1107,7 @@ void handler::print_error(int error, myf errflag)
{ {
/* Key is unknown */ /* Key is unknown */
str.length(0); str.length(0);
str.append("");
key_nr= -1; key_nr= -1;
} }
else else
......
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