summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
authormskold/marty@mysql.com/linux.site <>2006-10-25 12:21:45 +0200
committermskold/marty@mysql.com/linux.site <>2006-10-25 12:21:45 +0200
commit0dea24947d23a055d9367d8f9e5da81761b71d43 (patch)
tree0ad5204fbc6746b2cda8328a299f38bec67e4a7a /sql/handler.cc
parentb97dff67c9577a9134c382c7f68d032e02186ce9 (diff)
parent44e55e3b43766e2895a57d17a126f81c56d549e9 (diff)
downloadmariadb-git-0dea24947d23a055d9367d8f9e5da81761b71d43.tar.gz
Merge mysql.com:/windows/Linux_space/MySQL/mysql-4.1
into mysql.com:/windows/Linux_space/MySQL/mysql-5.0
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index 2b6ddd45e05..cff8213edec 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -1778,8 +1778,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