summaryrefslogtreecommitdiff
path: root/sql/item_create.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2022-02-09 17:59:38 +0400
committerAlexander Barkov <bar@mariadb.com>2022-03-22 14:42:54 +0400
commitd25b10fede8926f63203dfd2040ec60549d10936 (patch)
tree3e9b0da676e1a3e54f562d9f7e9552fc2ebdcdb3 /sql/item_create.h
parentab1a7925714727743e5dd7bb1b83014044fc5660 (diff)
downloadmariadb-git-d25b10fede8926f63203dfd2040ec60549d10936.tar.gz
MDEV-27712 Reduce the size of Lex_length_and_dec_st from 16 to 8
User visible change: Removing the length specified by user from error messages: ER_TOO_BIG_SCALE and ER_TOO_BIG_PRECISION as discussed with Sergei.
Diffstat (limited to 'sql/item_create.h')
-rw-r--r--sql/item_create.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_create.h b/sql/item_create.h
index c04adad469c..ca5038582f8 100644
--- a/sql/item_create.h
+++ b/sql/item_create.h
@@ -313,7 +313,7 @@ Item *create_func_dyncol_add(THD *thd, Item *str,
Item *create_func_dyncol_delete(THD *thd, Item *str, List<Item> &nums);
Item *create_func_dyncol_get(THD *thd, Item *num, Item *str,
const Type_handler *handler,
- const char *c_len, const char *c_dec,
+ const Lex_length_and_dec_st &length_and_dec,
CHARSET_INFO *cs);
Item *create_func_dyncol_json(THD *thd, Item *str);