summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 a42240f1b35..486b7cf36ef 100644
--- a/sql/item_strfunc.h
+++ b/sql/item_strfunc.h
@@ -1038,7 +1038,7 @@ public:
String *val_str(String *);
void fix_length_and_dec()
{
- maybe_null= TRUE;
+ set_persist_maybe_null(1);
collation.set(&my_charset_bin);
decimals= 0;
}