• Michael Widenius's avatar
    Added extra argument to longlong2str() to make it have same prototype is int2str() · 165eb118
    Michael Widenius authored
    Changed to use longlong10_to_str() instead of longlong2str() when base is 10 or -10 as former is much faster than later
    Changed my_vsnprintf() to use longlong2str instead of int2str() to get rid of warnings and to get support for long pointers even when long is 32 bit.
    
    client/mysqltest.cc:
      longlong2str() -> longlong10_to_str()
    include/m_string.h:
      Added extra argument to longlong2str() to make it have same prototype is int2str()
    mysys/charset.c:
      Fixed compiler warning
    mysys/mf_soundex.c:
      Fixed compiler warning
    mysys/my_getopt.c:
      longlong2str() -> longlong10_to_str()
    sql/create_options.cc:
      Fixed compiler warning
    sql/item_strfunc.cc:
      Added extra argument to longlong2str
    sql/opt_range.cc:
      longlong2str() -> longlong10_to_str()
    sql/partition_info.cc:
      longlong2str() -> longlong10_to_str()
    sql/slave.cc:
      longlong2str() -> longlong10_to_str()
    sql/sql_bitmap.h:
      Added extra argument to longlong2str
    sql/sql_partition.cc:
      Added extra argument to longlong2str
    sql/sql_select.cc:
      longlong2str() -> longlong10_to_str()
    sql/sql_show.cc:
      Added extra argument to longlong2str
    storage/innodb_plugin/handler/ha_innodb.cc:
      Update to new parameters for longlong2str()
    storage/maria/ma_dbug.c:
      longlong2str() -> longlong10_to_str()
    storage/maria/maria_chk.c:
      Added extra argument to longlong2str
    storage/myisam/mi_dbug.c:
      longlong2str() -> longlong10_to_str()
    storage/myisam/myisamchk.c:
      Added extra argument to longlong2str
    storage/xtradb/handler/ha_innodb.cc:
      Update to new parameters for longlong2str()
    strings/longlong2str.c:
      Added extra argument to longlong2str() to make it have same prototype is int2str()
    strings/my_vsnprintf.c:
      Changed my_vsnprintf() to use longlong2str instead of int2str() to get rid of warnings and to get support for long pointers even when long is 32 bit.
      Added cast to get rid of compiler warnings
    165eb118
create_options.cc 17.4 KB