summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2014-03-23 16:02:56 +0400
committerAlexander Barkov <bar@mariadb.org>2014-03-23 16:02:56 +0400
commit63d0918807739dd19578ce9db80acbfd8ea158e6 (patch)
tree97823dbf84e329a78b272912b58b36e71c4a23fe /sql/item_strfunc.h
parent2eb920b2622ac90691efde818c659615bdf212bf (diff)
downloadmariadb-git-63d0918807739dd19578ce9db80acbfd8ea158e6.tar.gz
MDEV-5783 Assertion `0' failed in make_sortkey(SORTPARAM*, uchar*, uchar*) on ORDER BY HEX( UNCOMPRESSED_LENGTH( pk ) )
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r--sql/item_strfunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h
index bb2fc0d9a33..9e3cb877803 100644
--- a/sql/item_strfunc.h
+++ b/sql/item_strfunc.h
@@ -822,7 +822,7 @@ class Item_func_uncompressed_length : public Item_int_func
public:
Item_func_uncompressed_length(Item *a):Item_int_func(a){}
const char *func_name() const{return "uncompressed_length";}
- void fix_length_and_dec() { max_length=10; }
+ void fix_length_and_dec() { max_length=10; maybe_null= true; }
longlong val_int();
};