diff options
author | Tor Didriksen <tor.didriksen@oracle.com> | 2011-08-19 09:06:50 +0200 |
---|---|---|
committer | Tor Didriksen <tor.didriksen@oracle.com> | 2011-08-19 09:06:50 +0200 |
commit | af6f0876ade33ad67e4a3f458a88ec21649656e2 (patch) | |
tree | 73cea93f02979761076fafb51153522053e8bf3a /sql/item_cmpfunc.h | |
parent | 0b78d5641248dc8c92a36713bfa9f4958b66648a (diff) | |
download | mariadb-git-af6f0876ade33ad67e4a3f458a88ec21649656e2.tar.gz |
Backport from trunk of:
Bug#12532830 - SIGFPE OR ASSERTION (PRECISION <= ((9 * 9) - 8*2)) && (DEC <= 30)
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index b6928d63ea0..a735f01fb39 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -750,6 +750,8 @@ public: void fix_length_and_dec(); uint decimal_precision() const; const char *func_name() const { return "if"; } +private: + void cache_type_info(Item *source); }; |