summaryrefslogtreecommitdiff
path: root/sql/item_create.h
diff options
context:
space:
mode:
authorholyfoot/hf@mysql.com/hfmain.(none) <>2007-05-10 00:17:21 +0500
committerholyfoot/hf@mysql.com/hfmain.(none) <>2007-05-10 00:17:21 +0500
commitd99b4c6a1a4905b3a7954517d70b6cfbc145c141 (patch)
tree5a715b5abe3283afbc2d322486f1f725316b9932 /sql/item_create.h
parent6ca4db2607f9fa34bbb79f6f2e5066e1d86d93c7 (diff)
downloadmariadb-git-d99b4c6a1a4905b3a7954517d70b6cfbc145c141.tar.gz
Bug #27921 View ignores precision for CAST()
Item_decimal_typecast::print properly implemented
Diffstat (limited to 'sql/item_create.h')
-rw-r--r--sql/item_create.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/item_create.h b/sql/item_create.h
index 2ff849263c6..46b209b3e49 100644
--- a/sql/item_create.h
+++ b/sql/item_create.h
@@ -27,7 +27,8 @@ Item *create_func_bit_length(Item* a);
Item *create_func_coercibility(Item* a);
Item *create_func_ceiling(Item* a);
Item *create_func_char_length(Item* a);
-Item *create_func_cast(Item *a, Cast_target cast_type, int len, int dec,
+Item *create_func_cast(Item *a, Cast_target cast_type,
+ const char *len, const char *dec,
CHARSET_INFO *cs);
Item *create_func_connection_id(void);
Item *create_func_conv(Item* a, Item *b, Item *c);