• unknown's avatar
    Bug #33544: UDF_INIT member decimals initialized wrong with · 1d20b6ff
    unknown authored
      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.
    
    
    client/sql_string.cc:
      Bug #33544: moved NOT_FIXED_DEC to the correct header
    client/sql_string.h:
      Bug #33544: moved NOT_FIXED_DEC to the correct header
    include/mysql_com.h:
      Bug #33544: moved NOT_FIXED_DEC to the correct header
    libmysql/libmysql.c:
      Bug #33544: moved NOT_FIXED_DEC to the correct header
    sql/field.h:
      Bug #33544: moved NOT_FIXED_DEC to the correct header
    sql/sql_string.cc:
      Bug #33544: moved NOT_FIXED_DEC to the correct header
    sql/sql_string.h:
      Bug #33544: moved NOT_FIXED_DEC to the correct header
    storage/ndb/include/kernel/signaldata/DictTabInfo.hpp:
      Bug #33544: moved NOT_FIXED_DEC to the correct header
    1d20b6ff
DictTabInfo.hpp 21.7 KB