1. 30 Jan, 2010 6 commits
  2. 28 Jan, 2010 1 commit
    • Alexander Nozdrin's avatar
      Make the following tests experimental: · f5cc5914
      Alexander Nozdrin authored
        - main.outfile_loaddata @solaris due to Bug#46895
        - main.signal_demo3 @solaris due to Bug#47791
        - main.sp @solaris due to Bug#47791
        - rpl.rpl_slave_load_remove_tmpfile @windows due to Bug#50474
      f5cc5914
  3. 27 Jan, 2010 12 commits
  4. 25 Jan, 2010 3 commits
  5. 23 Jan, 2010 1 commit
  6. 22 Jan, 2010 5 commits
    • Sergey Glukhov's avatar
      Bug#49501 Inefficient information_schema check (system collation), addon · 5f106ea2
      Sergey Glukhov authored
      removed wrongly introduced strlen calls
      
      
      sql/events.cc:
        removed wrongly introduced strlen calls
      sql/mysql_priv.h:
        removed wrongly introduced strlen calls
      sql/repl_failsafe.cc:
        removed wrongly introduced strlen calls
      sql/sql_db.cc:
        removed wrongly introduced strlen calls
      sql/sql_parse.cc:
        removed wrongly introduced strlen calls
      sql/sql_show.cc:
        removed wrongly introduced strlen calls
      5f106ea2
    • unknown's avatar
      Bug #49132 Replication failure on temporary table + DDL · e55c0397
      unknown authored
      In RBR, DDL statement will change binlog format to non row-based
      format before it is binlogged, but the binlog format was not be
      restored, and then manipulating a temporary table can not reset binlog
      format to row-based format rightly. So that the manipulated statement
      is binlogged with statement-based format.
      
      To fix the problem, restore the state of binlog format after the DDL
      statement is binlogged.
      
      mysql-test/extra/rpl_tests/rpl_tmp_table_and_DDL.test:
        Added the test file to verify if executing DDL statement before
        trying to manipulate a temporary table causes row-based replication
        to break with error 'table does not exist'.
      mysql-test/suite/binlog/r/binlog_row_mix_innodb_myisam.result:
        Correct the test result, all the above binlog event
        should be row-based after the bug49132 is fixed IN RBR.
      mysql-test/suite/ndb/r/ndb_tmp_table_and_DDL.result:
        Test result for bug#49132 base on ndb engine.
      mysql-test/suite/ndb/t/ndb_tmp_table_and_DDL.test:
        Added the test file to verify if executing DDL statement before
        trying to manipulate a temporary table causes row-based replication
        to break with error 'table does not exist' base on ndb engine.
      mysql-test/suite/rpl/r/rpl_tmp_table_and_DDL.result:
        Test result for bug#49132 base on myisam engine.
      mysql-test/suite/rpl/t/rpl_tmp_table_and_DDL.test:
        Added the test file to verify if executing DDL statement before
        trying to manipulate a temporary table causes row-based replication
        to break with error 'table does not exist' base on myisam engine.
      sql/event_db_repository.cc:
        Added code to restore the state of binlog format after the DDL
        statement is binlogged.
      sql/events.cc:
        Added code to restore the state of binlog format after the DDL
        statement is binlogged.
      sql/sp.cc:
        Added code to restore the state of binlog format after the DDL
        statement is binlogged.
      sql/sql_acl.cc:
        Added code to restore the state of binlog format after the DDL
        statement is binlogged.
      sql/sql_udf.cc:
        Added code to restore the state of binlog format after the DDL
        statement is binlogged.
      e55c0397
    • Magne Mahre's avatar
      Post-commit fix of two tests · 3ab6bb3e
      Magne Mahre authored
      The WL#5154 commit added a couple of warning messages that
      was not fixed in the result files for two RPL tests.
      3ab6bb3e
    • Sergey Vojtovich's avatar
      3eb37ee1
    • Alexander Nozdrin's avatar
      Auto-merge from mysql-next-mr. · fadaa9c9
      Alexander Nozdrin authored
      fadaa9c9
  7. 21 Jan, 2010 6 commits
    • Alfranio Correia's avatar
      BUG#50397 rpl.rpl_heartbeat_basic fails in mysql-trunk-merge · 789ebe39
      Alfranio Correia authored
      Resetting the master before stopping the slave was generating the message
      "[ERROR] Slave I/O: Got fatal error 1236 from master when reading data from
      binary log: 'could not find next log', Error_code: 1236". In consequence,
      the test case was failing because the message had not been suppressed.
      
      To circumvent the failure, we rewrote the test stopping the slave before
      resetting the master. We prefer this alternative rather than suppressing
      the message.
      789ebe39
    • Alexander Nozdrin's avatar
      Auto-merge from mysql-next-mr. · d1be11fa
      Alexander Nozdrin authored
      d1be11fa
    • Alexander Nozdrin's avatar
      Auto-merge from mysql-next-mr. · eef0ab00
      Alexander Nozdrin authored
      eef0ab00
    • Magne Mahre's avatar
      WL#5154 Remove deprecated 4.1 features · b50244fb
      Magne Mahre authored
      Several items said to be deprecated in the 4.1 manual
      have never been removed.  This worklog adds deprecation
      warnings when these items are used, and warns the user 
      that the items will be removed in MySQL 5.6.
      
      A couple of previously deprecation decision have been
      reversed (see single file comments)
      
      
      
      client/client_priv.h:
        Macro similar to the one in the server (mysql_priv.h)
        for printing a deprecation warning message
      client/mysql.cc:
        no-auto-rehash  will not be deprecated
        skip-line-numbers will not be deprecated
        skip-column-names will not be deprecated
        no-pager is deprecated
        set-variable is deprecated
        no-named-commands is deprecated
      client/mysqladmin.cc:
        set-variable is deprecated
      client/mysqlbinlog.cc:
        position is deprecated
      client/mysqldump.c:
        first-slave is deprecated
        no-set-names is deprecated
        set-variable is deprecated
      mysql-test/r/mysqlbinlog.result:
        Adding the [Warning] to the test case, just to show that the
        deprecation works.
        The test case will be changed in Celosia to use --start-position.
      mysys/my_getopt.c:
        set-variable (include -O) is deprecated
      scripts/mysqld_multi.sh:
        Warning for mysqld_multi
      sql/mysqld.cc:
        default-collation is deprecated
        log-bin-trust-routine-creators is deprecated
        set-variable is deprecated
        default-character-set is deprecated
        safe-show-database is deprecated
      sql/share/errmsg.txt:
        Added version number for sql_log_update deprecation message.
      b50244fb
    • Davi Arnaut's avatar
      Apply patch on behalf of Magnus: · c0c30d1d
      Davi Arnaut authored
      3325 Magnus Blåudd    2010-01-05
           Bug #49860 new compiler warning ha_archive
            - fix compiler warning by casting to ulong 
      c0c30d1d
    • Davi Arnaut's avatar
      Apply patch on behalf of the NDB team: · 9517b08a
      Davi Arnaut authored
      3321 Magnus Blåudd    2010-01-05
           BUG#44840 - ndbapi compiler warning - type qualifier ignored for function return type
            - Remove the "const"
            - NOTE! This is an ABI incompatible change for some C++ compilers, NdbApi applications
              using any of the four changed functions may need a recompile if it's using dynamic linking.
      9517b08a
  8. 20 Jan, 2010 5 commits
    • Alexander Nozdrin's avatar
      Fix manual merge error. · 1c377eaf
      Alexander Nozdrin authored
      1c377eaf
    • Alfranio Correia's avatar
      BUG#46364 MyISAM transbuffer problems (NTM problem) · a02a4cf4
      Alfranio Correia authored
      It is well-known that due to concurrency issues, a slave can become
      inconsistent when a transaction contains updates to both transaction and
      non-transactional tables in statement and mixed modes.
      
      In a nutshell, the current code-base tries to preserve causality among the
      statements by writing non-transactional statements to the txn-cache which
      is flushed upon commit. However, modifications done to non-transactional
      tables on behalf of a transaction become immediately visible to other
      connections but may not immediately get into the binary log and therefore
      consistency may be broken.
      
      In general, it is impossible to automatically detect causality/dependency
      among statements by just analyzing the statements sent to the server. This
      happen because dependency may be hidden in the application code and it is
      necessary to know a priori all the statements processed in the context of
      a transaction such as in a procedure. Moreover, even for the few cases that
      we could automatically address in the server, the computation effort
      required could make the approach infeasible.
      
      So, in this patch we introduce the option
          - "--binlog-direct-non-transactional-updates" that can be used to bypass
          the current behavior in order to write directly to binary log statements
          that change non-transactional tables.
      
      mysql-test/extra/rpl_tests/rpl_mixing_engines.inc:
        Backported this from Celosia to improve the test cases related to the NTM issue.
      sql/log.cc:
        Checks the --binlog-direct-non-transactional-updates before choosing
        to either use the trxn-cache or not.
      sql/mysqld.cc:
        Introduces the option --binlog-direct-non-transactional-updates.
      sql/set_var.cc:
        Introduces the option --binlog-direct-non-transactional-updates.
      sql/sql_class.h:
        Introduces the option --binlog-direct-non-transactional-updates.
      a02a4cf4
    • Luis Soares's avatar
      Removes duplicate entry for ER_SLAVE_IGNORE_SERVER_IDS · ecc67501
      Luis Soares authored
      in errmsg.txt. Kept the one in that matched the location
      in errmsg-utf8.txt, ie after ER_UNKNOWN_LOCALE.
      ecc67501
    • Alexander Nozdrin's avatar
      Add client/dtoa.c to .bzrignore. · e8287e20
      Alexander Nozdrin authored
      e8287e20
    • Alexander Nozdrin's avatar
      99974a7c
  9. 19 Jan, 2010 1 commit