summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-06-07 12:22:06 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2020-06-07 12:22:06 +0300
commit0e69f601aaafb920a9305c4ab5d380de2b43e917 (patch)
treef5e301b1f6e317b7efcaf347090fb35aa3cfc892 /sql/field.h
parent7ae12371dd420eb7b7fcbd07bd49e2d1b28057d7 (diff)
parenteb14e073ea121954fb5be6fac92fd84b7d57bb07 (diff)
downloadmariadb-git-0e69f601aaafb920a9305c4ab5d380de2b43e917.tar.gz
Merge 10.4 into 10.5
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/field.h b/sql/field.h
index 1bccff9991f..748b6bc5c01 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -1463,6 +1463,13 @@ public:
const SORT_FIELD_ATTR *sort_field);
virtual void make_send_field(Send_field *);
+
+ /*
+ Some implementations actually may write up to 8 bytes regardless of what
+ size was requested. This is due to the minimum value of the system variable
+ max_sort_length.
+ */
+
virtual void sort_string(uchar *buff,uint length)=0;
virtual bool optimize_range(uint idx, uint part) const;
virtual void free() {}