1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

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.
This commit is contained in:
gkodinov/kgeorge@magare.gmz
2008-03-05 16:27:35 +02:00
parent 48f9206576
commit e8fd6cd4a1
8 changed files with 3 additions and 16 deletions

View File

@@ -468,4 +468,5 @@ uchar *net_store_length(uchar *pkg, ulonglong length);
#define MYSQL_STMT_HEADER 4
#define MYSQL_LONG_DATA_HEADER 6
#define NOT_FIXED_DEC 31
#endif