1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Now string values are created and filled with charset field

SELECT func(charset2) FROM t ORDER BY 1 works in correct charset
This commit is contained in:
bar@gw.udmsearch.izhnet.ru
2002-05-17 16:29:52 +05:00
parent 7fce07d52d
commit 196aa19cf6
37 changed files with 366 additions and 325 deletions

View File

@@ -110,8 +110,9 @@ class field_str :public field_info
EV_NUM_INFO ev_num_info;
public:
field_str(Item* a, analyse* b) :field_info(a,b), min_arg(""),
max_arg(""), sum(0),
field_str(Item* a, analyse* b) :field_info(a,b),
min_arg("",default_charset_info),
max_arg("",default_charset_info), sum(0),
must_be_blob(0), was_zero_fill(0),
was_maybe_zerofill(0), can_be_still_num(1)
{ init_tree(&tree, 0, 0, sizeof(String), a->binary ?