1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

User variables didn't store charset, so this didn't work

as expected and returned default charset instead:
SET @x = _koi8_ru'test';
SELECT CHARSET(@x);
This commit is contained in:
bar@bar.mysql.r18.ru
2002-10-01 17:23:28 +05:00
parent d1d725c5a1
commit 1af778c05b
3 changed files with 11 additions and 6 deletions

View File

@ -830,6 +830,7 @@ class user_var_entry
char *value;
ulong length, update_query_id;
Item_result type;
CHARSET_INFO *var_charset;
};
/* Class for unique (removing of duplicates) */