diff options
author | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2016-03-16 01:08:09 +0200 |
---|---|---|
committer | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2016-03-16 01:09:53 +0200 |
commit | 333ac13be547eab0e133603335ecc9368bb10b94 (patch) | |
tree | 217ab4507b1bfaa2958626b479d71873218887d0 /sql/item_windowfunc.h | |
parent | 833304313d65f426323b10016616c3a6d951804b (diff) | |
download | mariadb-git-333ac13be547eab0e133603335ecc9368bb10b94.tar.gz |
Make sure to return the result value when calling Item_windowfunc::val_real()
This caused Item_windowfunc to return garbage.
Diffstat (limited to 'sql/item_windowfunc.h')
-rw-r--r-- | sql/item_windowfunc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_windowfunc.h b/sql/item_windowfunc.h index e316c6d712a..5f36a52c6e4 100644 --- a/sql/item_windowfunc.h +++ b/sql/item_windowfunc.h @@ -497,6 +497,7 @@ public: res= window_func->val_real(); null_value= window_func->null_value; } + return res; } longlong val_int() |