summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorunknown <ram@gw.mysql.r18.ru>2004-10-10 12:10:53 +0500
committerunknown <ram@gw.mysql.r18.ru>2004-10-10 12:10:53 +0500
commitb123f514b6e41788e619c0623b94e12dc538c97a (patch)
tree81505c3e8298623fa6768b023028177b39282253 /sql/sql_class.h
parent57fedc40708ed3266d79347cd71e829297352409 (diff)
downloadmariadb-git-b123f514b6e41788e619c0623b94e12dc538c97a.tar.gz
Blob support for the group_concat() function.
(Bug #4315: GROUP_CONCAT with ORDER BY returns strange results for TEXT fields Bug #5564: Strange behaviour with group_concat and distinct Bug #5970: group_concat doesn't print warnings)
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 8896b7b658f..ce4cddbeb0b 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -1218,10 +1218,12 @@ public:
uint group_parts,group_length,group_null_parts;
uint quick_group;
bool using_indirect_summary_function;
+ /* If >0 convert all blob fields to varchar(convert_blob_length) */
+ uint convert_blob_length;
TMP_TABLE_PARAM()
:copy_funcs_it(copy_funcs), copy_field(0), group_parts(0),
- group_length(0), group_null_parts(0)
+ group_length(0), group_null_parts(0), convert_blob_length(0)
{}
~TMP_TABLE_PARAM()
{