summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
authorunknown <mskold/marty@mysql.com/linux.site>2006-10-19 14:57:04 +0200
committerunknown <mskold/marty@mysql.com/linux.site>2006-10-19 14:57:04 +0200
commit59c4b5ba2017df340407165bf32da15dc164641d (patch)
treeddd65e6c3b077fda3365b55f7a187180520680d9 /sql/handler.cc
parente4cc40f88c23ea3d6649c7ca19380696e413be5f (diff)
downloadmariadb-git-59c4b5ba2017df340407165bf32da15dc164641d.tar.gz
Bug #21072 Duplicate key error in NDB references wrong key: use MAX_KEY to signal unknown key: Added string initialization
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index 40f2af75c2f..d3106efe151 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -1107,6 +1107,7 @@ void handler::print_error(int error, myf errflag)
{
/* Key is unknown */
str.length(0);
+ str.append("");
key_nr= -1;
}
else