Commit 08ce5b3d authored by unknown's avatar unknown
Browse files

Bug #21072 Duplicate key error in NDB references wrong key: Re-wrote string...

Bug #21072  Duplicate key error in NDB references wrong key: Re-wrote string usage to avoid valgrind warnings


parent 59c4b5ba
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1106,8 +1106,7 @@ void handler::print_error(int error, myf errflag)
      if (key_nr == MAX_KEY)
      {
	/* Key is unknown */
	str.length(0);
	str.append("");
	str.copy("", 0, system_charset_info);
	key_nr= -1;
      }
      else