diff options
author | Magne Mahre <magne.mahre@sun.com> | 2009-11-11 21:19:41 +0100 |
---|---|---|
committer | Magne Mahre <magne.mahre@sun.com> | 2009-11-11 21:19:41 +0100 |
commit | d88b0008aef1c03c7cf5799970533a5f26d722fb (patch) | |
tree | 0ed4dcde53a4fde2d779524fa20ba363af8846c5 /storage/ndb | |
parent | b2d7daeb6d1d7adde3576af1b654aaa450c99a42 (diff) | |
parent | e8fd6cd4a11bf33da8b0bf534be1a0ed5195f1f9 (diff) | |
download | mariadb-git-d88b0008aef1c03c7cf5799970533a5f26d722fb.tar.gz |
Bug #33544 UDF_INIT member decimals initialized wrong with
STRING_RESULT argument
There is a "magic" number for precision : NOT_FIXED_DEC.
This means that the precision is not a fixed number.
But this constant was re-defined in several files and
was not available to the UDF developers.
Moved the NOT_FIXED_DEC definition to the correct header
and removed the redundant definitions.
Backported to 5.6.0 (mysql-next-mr-runtime)
Diffstat (limited to 'storage/ndb')
-rw-r--r-- | storage/ndb/include/kernel/signaldata/DictTabInfo.hpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/storage/ndb/include/kernel/signaldata/DictTabInfo.hpp b/storage/ndb/include/kernel/signaldata/DictTabInfo.hpp index 3923d8e6fbf..43de91b7c22 100644 --- a/storage/ndb/include/kernel/signaldata/DictTabInfo.hpp +++ b/storage/ndb/include/kernel/signaldata/DictTabInfo.hpp @@ -30,10 +30,6 @@ #define DECIMAL_MAX_LENGTH ((8 * 9) - 8) -#ifndef NOT_FIXED_DEC -#define NOT_FIXED_DEC 31 -#endif - C_MODE_START extern int decimal_bin_size(int, int); C_MODE_END |