• Michael Widenius's avatar
    Fixed compiler warnings and sporadic failures in test cases · 691b295a
    Michael Widenius authored
    
    mysql-test/extra/rpl_tests/rpl_tmp_table_and_DDL.test:
      Added missing sync_slave_with_master; Fixes random failures
    mysql-test/include/default_mysqld.cnf:
      default-character-set -> character-set-server (removes warning in error files for usage of deprecated options)
    mysql-test/lib/My/SafeProcess/safe_process.cc:
      Fixed compiler warning
    mysql-test/lib/v1/mysql-test-run.pl:
      default-character-set -> character-set-server (removes warning in error files for usage of deprecated options)
    mysql-test/suite/rpl/r/rpl_do_grant.result:
      Updated test results
    mysql-test/suite/rpl/t/rpl_do_grant.test:
      Added missing sync_slave_with_master; Fixes random failures
      Had to explictely do stop slave before DROP USER to avoid failure on slave as the user is already dropped on slave.
    mysql-test/suite/rpl/t/rpl_name_const.test:
      Added missing sync_slave_with_master; Fixes random failures
    mysql-test/suite/rpl/t/rpl_row_basic_11bugs.test:
      Added missing sync_slave_with_master; Fixes random failures
    mysql-test/t/bug47671-master.opt:
      default-character-set -> character-set-server (removes warning in error files for usage of deprecated options)
    mysql-test/t/ctype_latin1_de-master.opt:
      default-character-set -> character-set-server (removes warning in error files for usage of deprecated options)
    mysql-test/t/ctype_ucs2_def-master.opt:
      default-character-set -> character-set-server (removes warning in error files for usage of deprecated options)
    sql-common/client.c:
      Fixed compiler warning
    sql/item.cc:
      Renamed function to remove compiler warnings (with gcc)
    sql/item.h:
      Renamed function to remove compiler warnings (with gcc)
    sql/item_cmpfunc.cc:
      Renamed function to remove compiler warnings (with gcc)
    sql/item_create.cc:
      Renamed function to remove compiler warnings (with gcc)
    sql/item_create.h:
      Renamed function to remove compiler warnings (with gcc)
    sql/item_sum.cc:
      Renamed function to remove compiler warnings (with gcc)
    sql/item_sum.h:
      Renamed function to remove compiler warnings (with gcc)
    sql/set_var.cc:
      Don't use bit_do_set() / bot_is_set() / bit_do_clear() as this generates compiler warnings
      (They are also of no use as we know the value can hold the bits)
    sql/sql_yacc.yy:
      Renamed function to remove compiler warnings (with gcc)
    storage/example/ha_example.h:
      Fixed old read_time() prototype
    storage/maria/ma_search.c:
      Added extra variables to remove compiler warnings
    storage/maria/maria_def.h:
      Added extra variables to remove compiler warnings
    storage/myisam/ft_stopwords.c:
      Added cast to get rid of compiler warning
    storage/xtradb/fil/fil0fil.c:
      Added cast to get rid of compiler warning
    storage/xtradb/include/page0page.h:
      Added const to get rid of compiler warning
    storage/xtradb/include/page0page.ic:
      Added const to get rid of compiler warning
    support-files/compiler_warnings.supp:
      Added suppression of strict-aliasing
    691b295a
ma_search.c 70.9 KB