1. 12 Apr, 2007 9 commits
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new-rpl · 10e91ccf
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-rpl
      
      10e91ccf
    • unknown's avatar
      Bug#17095 circular replication for ndb · cff08267
      unknown authored
      - test case
      - reset server id in injector
      
      
      client/mysqltest.c:
        save master pos for ndb should look at handled epoch instead of applied
      sql/rpl_injector.cc:
        Bug#17095 circular replication for ndb
        - reset server id in injector
      mysql-test/r/rpl_ndb_circular.result:
        New BitKeeper file ``mysql-test/r/rpl_ndb_circular.result''
      mysql-test/t/rpl_ndb_circular.test:
        New BitKeeper file ``mysql-test/t/rpl_ndb_circular.test''
      cff08267
    • unknown's avatar
      BUG#25688 (RBR: circular replication may cause STMT_END_F flags to · 2d57c572
      unknown authored
      be skipped):
      
      Fixing test since a replace assumed that we were on slave when we were
      on master.
      
      
      mysql-test/r/rpl_ndb_circular_simplex.result:
        Result file change
      mysql-test/t/rpl_ndb_circular_simplex.test:
        Incorrectly used MASTER_PORT instead of SLAVE_PORT for test. (This is
        circular replication, you know. The roles of slave and master is kind
        of blurred. Mea culpa.)
      2d57c572
    • unknown's avatar
      BUG#25688 (RBR: circular replication may cause STMT_END_F flags to be · a13f68bc
      unknown authored
      skipped):
      
      Post-merge changes.
      
      
      sql/ha_ndbcluster.cc:
        Adding missing include file.
      a13f68bc
    • unknown's avatar
      Merge romeo.(none):/home/bkroot/mysql-5.1-new-rpl · db616f27
      unknown authored
      into  romeo.(none):/home/bk/b25688-mysql-5.1-rpl
      
      
      sql/item_func.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/repl_failsafe.cc:
        Auto merged
      sql/rpl_mi.h:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      db616f27
    • unknown's avatar
      Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.1-new-rpl · f358618c
      unknown authored
      into  romeo.(none):/home/bkroot/mysql-5.1-rpl
      
      
      sql/mysqld.cc:
        Auto merged
      f358618c
    • unknown's avatar
      BUG#25688 (RBR: circular replication may cause STMT_END_F flags to be · bf699e48
      unknown authored
      skipped):
      
      By moving statement end actions from Rows_log_event::do_apply_event() to
      Rows_log_event::do_update_pos() they will always be executed, even if
      Rows_log_event::do_apply_event() is skipped because the event originated
      at the same server. This because Rows_log_event::do_update_pos() is always
      executed (unless Rows_log_event::do_apply_event() failed with an error,
      in which case the slave stops with an error anyway). 
      
      Adding test case.
      
      Fixing logic to detect if inside a group. If a rotate event occured
      when an initial prefix of events for a statement, but for which the
      table did contain a key, last_event_start_time is set to zero, causing
      rotate to end the group but without unlocking any tables. This left a
      lock hanging around, which subsequently triggered an assertion when a
      second attempt was made to lock the same sequence of tables.
      
      In order to solve the above problem, a new flag was added to the relay
      log info structure that is used to indicate that the replication thread
      is currently executing a statement. Using this flag, the replication
      thread is in a group if it is either in a statement or inside a trans-
      action.
      
      The patch also eliminates some gratuitous header file inclusions that
      were not needed (and caused compile errors) and replaced them with
      forward definitions.
      
      
      sql/item_func.cc:
        Including definition of MASTER_INFO.
      sql/log.cc:
        Including definition of RELAY_LOG_INFO since it is used in the file.
      sql/log_event.cc:
        Moving statement end actions from Rows_log_event::do_apply_event() to
        Rows_log_event::do_update_pos().
        Factoring out code to update group positions and event positions into
        relay log info structure.
        ---
        Adding debugging printouts.
        Fixing logic to detect if inside a group.
      sql/log_event.h:
        Adding Rows_log_event::do_update_pos().
      sql/mysqld.cc:
        Including definition of MASTER_INFO.
      sql/repl_failsafe.cc:
        Including definition of MASTER_INFO.
      sql/rpl_mi.h:
        Including definition of RELAY_LOG_INFO since it is used in the file.
      sql/rpl_rli.cc:
        Adding member function stmt_done() to do after-statement updates of the
        relay log info structure.
      sql/rpl_rli.h:
        Adding member function stmt_done() to do after-statement updates of the
        relay log info structure.
      sql/set_var.cc:
        Including definition of MASTER_INFO.
      sql/slave.cc:
        Adding debuging printouts.
      sql/slave.h:
        Removing inclusion definitions of MASTER_INFO and RELAY_LOG_INFO and
        replacing them with forward declarations since the classes are not
        used in the file. The gratuitous inclusion lead to compile errors in
        the two classes above in files that used neither.
      sql/sql_binlog.cc:
        Including definition of RELAY_LOG_INFO since it is used in the file.
      sql/sql_class.cc:
        Including definition of RELAY_LOG_INFO since it is used in the file.
      sql/sql_class.h:
        Removing inclusion definitions of RELAY_LOG_INFO and replacing it
        with forward declaration since the class is not used in the file.
        The gratuitous inclusion lead to compile errors in the class above
        in files didn't use the class.
      sql/sql_insert.cc:
        Including definition of MASTER_INFO.
      sql/sql_repl.cc:
        Including definition of MASTER_INFO.
      mysql-test/r/rpl_ndb_circular_simplex.result:
        New BitKeeper file ``mysql-test/r/rpl_ndb_circular_simplex.result''
      mysql-test/t/rpl_ndb_circular_simplex.test:
        New BitKeeper file ``mysql-test/t/rpl_ndb_circular_simplex.test''
      bf699e48
    • unknown's avatar
      Merge mysql.com:/home/bar/mysql-5.0-rpl · eab08339
      unknown authored
      into  mysql.com:/home/bar/mysql-5.1-new-rpl
      
      
      sql/mysqld.cc:
        Auto merged
      eab08339
    • unknown's avatar
      mysqld.cc: · ed0095df
      unknown authored
        Removing wrong MYF(0) argument.
      
      
      sql/mysqld.cc:
        Removing wrong MYF(0) argument.
      ed0095df
  2. 11 Apr, 2007 3 commits
  3. 10 Apr, 2007 3 commits
  4. 09 Apr, 2007 9 commits
    • unknown's avatar
      Merge mysql.com:/home/bar/mysql-5.0-rpl · dd026adb
      unknown authored
      into  mysql.com:/home/bar/mysql-5.1-new-rpl
      
      
      client/mysql.cc:
        Auto merged
      mysql-test/r/variables.result:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/mysqld.cc:
        SCCS merged
      dd026adb
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl · e8aa8c3c
      unknown authored
      into  mysql.com:/home/bar/mysql-5.0.b22648
      
      e8aa8c3c
    • unknown's avatar
      Bug#22648 LC_TIME_NAMES: Setting GLOBAL has no effect · ac8e46dd
      unknown authored
      Problem: setting/displaying @@LC_TIME_NAMES didn't distinguish between
      GLOBAL and SESSION variable types - always SESSION variable
      was set/shonw.
      Fix: set either global or session value.
      Also, "mysqld --lc-time-names" was added to set "global default" value.
      
      
      mysql-test/r/variables.result:
        Adding test cases
      mysql-test/t/variables.test:
        Adding test cases
      sql/mysql_priv.h:
        Declaring variable for global default.
      sql/mysqld.cc:
        Adding --lc-time-names
      sql/set_var.cc:
        Distinguish between GLOBAL and SESSION variables.
      sql/sql_class.cc:
        Don't initialize to en_US, use global_system_variables value instead.
      ac8e46dd
    • unknown's avatar
      bug#27608 XML output is not well-formed · bbc3c488
      unknown authored
      Problem: output was empty if the result is empty.
      Fix: print XML header and footer, even if the result
      is empty, to produce well-formed XML output.
      
      
      client/mysql.cc:
        Print header and footer even on empty set, when --xml
      mysql-test/r/client_xml.result:
        Adding test case
      mysql-test/t/client_xml.test:
        Adding test case
      bbc3c488
    • unknown's avatar
      Merge mysql.com:/d2/hf/mrg/mysql-5.0-opt · d202216d
      unknown authored
      into  mysql.com:/d2/hf/mrg/mysql-5.1-opt
      
      
      mysql-test/t/loaddata.test:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      mysql-test/r/loaddata.result:
        SCCS merged
      d202216d
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.0-opt · 2501c71a
      unknown authored
      into  mysql.com:/d2/hf/mrg/mysql-5.0-opt
      
      2501c71a
    • unknown's avatar
      Merge mysql.com:/d2/hf/mrg/mysql-5.0-opt · 89723d3d
      unknown authored
      into  mysql.com:/d2/hf/mrg/mysql-5.1-opt
      
      
      sql/item_func.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      89723d3d
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.1 · 4ed7139d
      unknown authored
      into  mysql.com:/d2/hf/mrg/mysql-5.1-opt
      
      
      sql/sql_table.cc:
        Auto merged
      4ed7139d
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.0 · 3b7d3230
      unknown authored
      into  mysql.com:/d2/hf/mrg/mysql-5.0-opt
      
      
      sql/sql_table.cc:
        Auto merged
      3b7d3230
  5. 08 Apr, 2007 2 commits
  6. 07 Apr, 2007 11 commits
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · be15f0c8
      unknown authored
      into  moonbone.local:/mnt/gentoo64/work/27586-bug-5.0-opt-mysql
      
      
      sql/sql_load.cc:
        Auto merged
      be15f0c8
    • unknown's avatar
      merging fix · 69a083ce
      unknown authored
      
      mysql-test/r/windows.result:
        result fixed
      69a083ce
    • unknown's avatar
      after-merging fix · 183200ab
      unknown authored
      
      mysql-test/r/events_trans.result:
        result fixed
      mysql-test/r/windows.result:
        merging fix
      mysql-test/t/events_trans.test:
        moved to events_trans_notembedded.test
      mysql-test/r/events_trans_notembedded.result:
        New BitKeeper file ``mysql-test/r/events_trans_notembedded.result''
      mysql-test/t/events_trans_notembedded.test:
        New BitKeeper file ``mysql-test/t/events_trans_notembedded.test''
      183200ab
    • unknown's avatar
      Merge mysql.com:/home/hf/work/26074/my51-26074 · 746ffa83
      unknown authored
      into  mysql.com:/d2/hf/mrg/mysql-5.1-opt
      
      746ffa83
    • unknown's avatar
      Merge mysql.com:/d2/hf/mrg/mysql-5.0-opt · 371c29dd
      unknown authored
      into  mysql.com:/d2/hf/mrg/mysql-5.1-opt
      
      
      sql/field.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      371c29dd
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.1-opt · c5d7cab5
      unknown authored
      into  mysql.com:/d2/hf/mrg/mysql-5.1-opt
      
      
      client/mysqldump.c:
        Auto merged
      mysql-test/r/rpl_packet.result:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/rpl_packet.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sp_head.h:
        Auto merged
      sql/sql_partition.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/share/errmsg.txt:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      storage/innobase/handler/ha_innodb.cc:
        Auto merged
      mysql-test/r/create.result:
        SCCS merged
      mysql-test/t/create.test:
        merging
      mysql-test/t/disabled.def:
        merging
      sql/events.cc:
        merging
      sql/sql_parse.cc:
        SCCS merged
      c5d7cab5
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 81e04f88
      unknown authored
      into  whalegate.ndb.mysql.com:/home/tomas/mysql-5.1
      
      81e04f88
    • unknown's avatar
      Merge mysql.com:/d2/hf/mrg/mysql-4.1-opt · f34207f4
      unknown authored
      into  mysql.com:/d2/hf/mrg/mysql-5.0-opt
      
      f34207f4
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.0 · fc19d8eb
      unknown authored
      into  mysql.com:/d2/hf/mrg/mysql-5.0-opt
      
      
      sql/field.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      fc19d8eb
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-4.1 · 834e8228
      unknown authored
      into  mysql.com:/d2/hf/mrg/mysql-4.1-opt
      
      834e8228
    • unknown's avatar
      test temporarily disabled · fcf5bee9
      unknown authored
      fcf5bee9
  7. 06 Apr, 2007 3 commits
    • unknown's avatar
      disabled test and feature · 5238c1be
      unknown authored
      5238c1be
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · e7283b6b
      unknown authored
      into  moonbone.local:/mnt/gentoo64/work/27586-bug-5.0-opt-mysql
      
      e7283b6b
    • unknown's avatar
      Bug#27586: Wrong autoinc value assigned by LOAD DATA in the · 398b21a3
      unknown authored
      NO_AUTO_VALUE_ON_ZERO mode.
      
      The table->auto_increment_field_not_null variable wasn't reset after
      reading a row which may lead to inserting a wrong value to the auto-increment
      field to the following row.
      
      The table->auto_increment_field_not_null variable is reset now right after a
      row is being written in the read_fixed_length() and the read_sep_field()
      functions.
      Removed wrong setting of the table->auto_increment_field_not_null variable in
      the read_sep_field() function.
      
      
      mysql-test/t/loaddata.test:
        Added a test case for the bug#27586: Wrong autoinc value assigned by LOAD DATA in the
        NO_AUTO_VALUE_ON_ZERO mode.
      mysql-test/r/loaddata.result:
        Added a test case for the bug#27586: Wrong autoinc value assigned by LOAD DATA in the
        NO_AUTO_VALUE_ON_ZERO mode.
      sql/sql_load.cc:
        Bug#27586: Wrong autoinc value assigned by LOAD DATA in the
        NO_AUTO_VALUE_ON_ZERO mode.
        The table->auto_increment_field_not_null variable is reset now right after a
        row is being written in the read_fixed_length() and the read_sep_field()
        functions.
        Remove wrong setting of the table->auto_increment_field_not_null variable in
        the read_sep_field() function.
      398b21a3