summaryrefslogtreecommitdiff
path: root/sql/sql_error.cc
diff options
context:
space:
mode:
authorbar@bar.mysql.r18.ru <>2003-03-17 13:14:04 +0400
committerbar@bar.mysql.r18.ru <>2003-03-17 13:14:04 +0400
commitcaf31a07903df2351092b5de8bf6f39b1aca642a (patch)
tree964cdcf2c74b547efa3df764fba458b70cf72286 /sql/sql_error.cc
parente00c9fa7d50b209afca7f17ec448fcc41f028001 (diff)
downloadmariadb-git-caf31a07903df2351092b5de8bf6f39b1aca642a.tar.gz
Preparing to client<->server autoconvert
Diffstat (limited to 'sql/sql_error.cc')
-rw-r--r--sql/sql_error.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_error.cc b/sql/sql_error.cc
index 5508be5167a..00c80a654cb 100644
--- a/sql/sql_error.cc
+++ b/sql/sql_error.cc
@@ -180,9 +180,9 @@ my_bool mysqld_show_warnings(THD *thd, ulong levels_to_show)
}
protocol->prepare_for_resend();
protocol->store(warning_level_names[err->level],
- warning_level_length[err->level]);
+ warning_level_length[err->level], system_charset_info);
protocol->store((uint32) err->code);
- protocol->store(err->msg, strlen(err->msg));
+ protocol->store(err->msg, strlen(err->msg), system_charset_info);
if (protocol->write())
DBUG_RETURN(1);
if (!--limit)