summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2016-12-19 14:28:08 +0400
committerAlexander Barkov <bar@mariadb.org>2016-12-19 14:28:08 +0400
commit2f6fede8d5f7e98319b4b7b557bd565fdb42fac3 (patch)
treef57ad1b04932d80eb36f05a5ef55cb62dece012c /sql/item_func.h
parentc4d9dc705b781bb155aab8f04cece2b87116d3c1 (diff)
downloadmariadb-git-2f6fede8d5f7e98319b4b7b557bd565fdb42fac3.tar.gz
MDEV-10524 Assertion `arg1_int >= 0' failed in Item_func_additive_op::result_precision()
This change is a backport from 10.0 to 5.5 for: 1. The full patch for: MDEV-4841 Wrong character set of ADDTIME() and DATE_ADD() 9adb6e991ec87b65d04929f115d9d0c899e4ab19 2. A small fragment of: MDEV-5298 Illegal mix of collations on timestamp 03f6778d61a74bdd7d09103a16473a2a5624cf66 which overrides Item_temporal_hybrid_func::cmp_type(), and adds a new line into cache_temporal_4265.result.
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index 667be3c0438..0da38e22c7f 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -39,6 +39,7 @@ protected:
0 means get this number from first argument
*/
uint allowed_arg_cols;
+ String *val_str_from_val_str_ascii(String *str, String *str2);
void count_only_length(Item **item, uint nitems);
void count_real_length(Item **item, uint nitems);