diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-01-20 11:45:23 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-01-22 11:39:54 +0100 |
commit | 204cb85aab3e6326e9f7a51c478efd6fad44801a (patch) | |
tree | b11ca13de8214fa3274d66e363a69055b6a5ef50 /sql/item_func.cc | |
parent | 906ce0962d12731eafed6f5ad64c5d50aeac8ce4 (diff) | |
download | mariadb-git-204cb85aab3e6326e9f7a51c478efd6fad44801a.tar.gz |
Fix compilation without dlopen
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r-- | sql/item_func.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc index 00006a25a8d..9e4edfc14de 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -595,6 +595,7 @@ my_decimal *Item_real_func::val_decimal(my_decimal *decimal_value) } +#ifdef HAVE_DLOPEN void Item_udf_func::fix_num_length_and_dec() { uint fl_length= 0; @@ -611,6 +612,7 @@ void Item_udf_func::fix_num_length_and_dec() max_length= float_length(NOT_FIXED_DEC); } } +#endif /** |