summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-02-26 13:34:35 +0400
committerunknown <bar@bar.mysql.r18.ru>2003-02-26 13:34:35 +0400
commit6d535030870ec158630a785d334ab4b710fdc523 (patch)
tree6acf36fa57b459ea1013b6a5ab4b68267ec3773c /sql/handler.cc
parent8a7d862c91f26bbd7a9225894ad98b7ac2dc8540 (diff)
downloadmariadb-git-6d535030870ec158630a785d334ab4b710fdc523.tar.gz
set_var.cc, sql_table.cc, handler.cc, field.cc:
Less default_charset_info sql/field.cc: Less default_charset_info sql/handler.cc: Less default_charset_info sql/sql_table.cc: Less default_charset_info sql/set_var.cc: Less default_charset_info
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index dcc732ba25a..af9b2fd4a35 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -689,7 +689,7 @@ void handler::print_error(int error, myf errflag)
{
/* Write the dupplicated key in the error message */
char key[MAX_KEY_LENGTH];
- String str(key,sizeof(key),default_charset_info);
+ String str(key,sizeof(key),system_charset_info);
key_unpack(&str,table,(uint) key_nr);
uint max_length=MYSQL_ERRMSG_SIZE-(uint) strlen(ER(ER_DUP_ENTRY));
if (str.length() >= max_length)