summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-06-06 18:07:04 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2020-06-06 18:07:04 +0300
commit0df01ccb667b23a0af33f76a43632900f0bd7744 (patch)
tree1247afcb1ac5f216de3fd32cdb16503979ff685d /sql/field.h
parent1bd5b75c733840813ea1fe18c5908422a707e677 (diff)
parentf30ff10c8d02d8385bafa290b8c73367d49aece2 (diff)
downloadmariadb-git-0df01ccb667b23a0af33f76a43632900f0bd7744.tar.gz
Merge 10.1 into 10.2
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 3007e666ba7..d5e2cb25788 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -1218,6 +1218,13 @@ public:
void make_sort_key(uchar *buff, uint length);
virtual void make_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);
virtual void free() {}