diff options
author | gkodinov/kgeorge@magare.gmz <> | 2008-03-05 16:27:35 +0200 |
---|---|---|
committer | gkodinov/kgeorge@magare.gmz <> | 2008-03-05 16:27:35 +0200 |
commit | e8fd6cd4a11bf33da8b0bf534be1a0ed5195f1f9 (patch) | |
tree | 0405bb345c2d1579ad05222fc799fb42e090ca8d /sql/field.h | |
parent | 48f9206576526830eb49d45fb904334fb6775117 (diff) | |
download | mariadb-git-e8fd6cd4a11bf33da8b0bf534be1a0ed5195f1f9.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.
Diffstat (limited to 'sql/field.h')
-rw-r--r-- | sql/field.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/field.h b/sql/field.h index 9855ec563d5..c3a90dc0754 100644 --- a/sql/field.h +++ b/sql/field.h @@ -23,7 +23,6 @@ #pragma interface /* gcc class implementation */ #endif -#define NOT_FIXED_DEC 31 #define DATETIME_DEC 6 const uint32 max_field_size= (uint32) 4294967295U; |