diff options
author | bar@gw.udmsearch.izhnet.ru <> | 2002-05-17 16:29:52 +0500 |
---|---|---|
committer | bar@gw.udmsearch.izhnet.ru <> | 2002-05-17 16:29:52 +0500 |
commit | 196aa19cf6624c17fb3c36c876e3e1a40f18ed23 (patch) | |
tree | e4f1191a52998c24839a96bb95784af36d1f03d0 /sql/sql_analyse.h | |
parent | 7fce07d52d8411d5b97f9de12661c664b1c552b5 (diff) | |
download | mariadb-git-196aa19cf6624c17fb3c36c876e3e1a40f18ed23.tar.gz |
Now string values are created and filled with charset field
SELECT func(charset2) FROM t ORDER BY 1 works in correct charset
Diffstat (limited to 'sql/sql_analyse.h')
-rw-r--r-- | sql/sql_analyse.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/sql_analyse.h b/sql/sql_analyse.h index 1c60d0c150f..3e8ddd67023 100644 --- a/sql/sql_analyse.h +++ b/sql/sql_analyse.h @@ -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 ? |