• unknown's avatar
    Fixed a lot of compiler warnings (Mainly in mysqld and instance manager) · 07d8be45
    unknown authored
    Fixed some possible fatal wrong arguments to printf() style functions
    Initialized some not initialized variables
    Fixed bug in stored procedure and continue handlers
    (Fixes Bug#22150)
    
    
    include/mysql/plugin.h:
      Remove compiler warning
    mysql-test/mysql-test-run.pl:
      Ensure that --extern works on a clean tree (when 'var' directory doesn't exists)
    server-tools/instance-manager/commands.cc:
      Fixed possible use of unitialized variable
    server-tools/instance-manager/guardian.cc:
      Fixed wrong arguments to log_info() that could cause crashes
    server-tools/instance-manager/instance.cc:
      Fixed wrong arguments to log_info() and log_error() that could cause crashes
    server-tools/instance-manager/instance_options.cc:
      Fixed wrong arguments to log_error() that could cause crashes
    server-tools/instance-manager/mysql_connection.cc:
      Fixed wrong arguments to log_info()
    server-tools/instance-manager/parse.cc:
      Fixed possible use of unitialized variable
    server-tools/instance-manager/user_map.cc:
      Fixed wrong arguments to log_error() that could cause crashes
    sql/Makefile.am:
      Fix for bison 1.875
      (It write an __attribute__() tag that was causing compiler failures)
    sql/ha_ndbcluster.cc:
      Fixed wrong snprintf() arguments
      Remoed not used variables
    sql/ha_ndbcluster_binlog.cc:
      Fixed compiler warning (unsigned/signed comparision)
    sql/handler.cc:
      Fixed wrong parameter to hton->binlog_func()
    sql/item_cmpfunc.cc:
      Removed compiler warnings
    sql/item_timefunc.cc:
      Removed compiler warnings
    sql/log.cc:
      fixed wrong argument to snprintf()
    sql/mysqld.cc:
      Removed compiler warnings
      Fixed wrong arguments to printf()
    sql/partition_info.cc:
      Removed compiler warnings
    sql/protocol.cc:
      reset is_fatal_error for stored procedures
      (Fix for Bug#22150)
    sql/sp_head.cc:
      More DBUG information
      Reset is_fatal_error in case of continue handler.
      (Fix for Bug#22150)
    sql/sql_base.cc:
      Removed compiler warnings
    sql/sql_class.h:
      More DBUG information
    sql/sql_insert.cc:
      Removed compiler warnings
      Initialize not initialized variable (fatal bug)
    sql/sql_parse.cc:
      Added DBUG_ASSERT to detect if stored procedure code returns with a wrong state
      Removed compiler warning
    sql/sql_plugin.cc:
      Fied wrong aruguments to printf() (Fatal bug)
    sql/sql_select.cc:
      Initailize not initialized variable.
      Remove compiler warnings
      Fixed wrong argument to printf() (Possible fatal error)
    sql/sql_view.cc:
      Removed compiler warnings
    sql/table.cc:
      Fixed wrong argument to printf() (Possible fatal)
    07d8be45
ha_ndbcluster_binlog.cc 127 KB