diff options
Diffstat (limited to 'sql/item_windowfunc.h')
-rw-r--r-- | sql/item_windowfunc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_windowfunc.h b/sql/item_windowfunc.h index 5c63eb11547..5b3aa4f0e41 100644 --- a/sql/item_windowfunc.h +++ b/sql/item_windowfunc.h @@ -1294,7 +1294,7 @@ public: bool fix_length_and_dec() { - decimals = window_func()->decimals; + Type_std_attributes::set(window_func()); return FALSE; } |