1. 13 Nov, 2006 2 commits
    • unknown's avatar
      WL#3368 mixed binlog_format default · 421f4c09
      unknown authored
        
        An amendment for parsing argument in case NDB is compiled and active.
        NDB switches from mixed to row-based and back per each query. The previous patch
        was not aware of such behaviour and made exceptional assingment to row-based when
        no command line arg --binlog-format provided.
        
        Removing #if HAVE_NDB_BINLOG block alltogether: ndb supports mixed and if server 
        was build without NDB using binlog nothing to care.
        Test for this piece of code is rather specific. While there is active bug23110
        ndb_alter_table and some other should fail if no explict --binlog-format is given:
        mysql-test-run ndb_alter_table
      
      
      sql/mysqld.cc:
        ndb accepts mixed binlog_format switching to row internally via calling
        thd->set_binlog_format_row_if_mixed at the beginning and careful
        the->reset_current_stmt_binlog_row_based(). There is 
        bug#23110 to implement it all carefully for DDL.
      421f4c09
    • unknown's avatar
      Merge aelkin@bk-internal.mysql.com:/home/bk/mysql-5.1-rpl · 9b50b662
      unknown authored
      into  dsl-hkibras-fe30f900-107.dhcp.inet.fi:/home/elkin/MySQL/TEAM/FIXES/merge_50
      
      
      sql/log_event.cc:
        Auto merged
      9b50b662
  2. 12 Nov, 2006 1 commit
  3. 10 Nov, 2006 1 commit
  4. 09 Nov, 2006 2 commits
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-5.0.b21505 · d4f43011
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1.b21505
      
      
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      d4f43011
    • unknown's avatar
      Bug#21505 Create view - illegal mix of collation for operation 'UNION' · 7614eb0d
      unknown authored
        
        The problem was that any VIEW columns had always implicit derivation.
        Fix: derivation is now copied from the original expression
        given in VIEW definition.
        For example:
        - a VIEW column which comes from a string constant
          in CREATE VIEW definition have now coercible derivation.
        - a VIEW column having COLLATE clause
          in CREATE VIEW definition have now explicit derivation.
      
      
      mysql-test/r/ctype_utf8.result:
        Adding test case
      mysql-test/t/ctype_utf8.test:
        Adding test case
      sql/field.cc:
        Copying derivation from item to field.
      sql/field.h:
        Adding derivation and methods to get/set it into Field.
      sql/item.cc:
        Copying derivation from field to item.
      sql/item.h:
        Moving "enum Derivation" declaration from item.h to mysql_priv.h
      sql/mysql_priv.h:
        Moving "enum Derivation" declaration from item.h to mysql_priv.h
      sql/sql_select.cc:
        Copying derivation from item to field in
        create_tmp_field_from_item() and create_tmp_field().
      7614eb0d
  5. 08 Nov, 2006 5 commits
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-5.0.b23451 · 69ac4dba
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1.b23451
      
      
      BitKeeper/etc/collapsed:
        auto-union
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/r/func_gconcat.result:
        Auto merged
      mysql-test/t/func_gconcat.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      69ac4dba
    • unknown's avatar
      after merge fix for bug 23451. · a39b8a06
      unknown authored
      
      sql/item_sum.cc:
        after merge fix.
      a39b8a06
    • unknown's avatar
      Merge romeo.(none):/home/bkroot/mysql-5.1-new-rpl · 7b3e547c
      unknown authored
      into  romeo.(none):/home/bk/b18581-mysql-5.1-new-rpl
      
      
      7b3e547c
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1.b23451v2 · 6bae0105
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0.b23451
      
      
      mysql-test/r/func_gconcat.result:
        after merge fix
      mysql-test/t/func_gconcat.test:
        after merge fix
      sql/item_sum.cc:
        after merge fix
      6bae0105
    • unknown's avatar
      Fixes to make rpl_ndb_dd_advance pass. · e4017107
      unknown authored
      
      mysql-test/r/rpl_ndb_dd_advance.result:
        Result change.
      mysql-test/t/rpl_ndb_dd_advance.test:
        Dropping procedure on slave and then dropping the procedure on master and
        replicating the drop causes failure since the procedure does not exist.
      e4017107
  6. 07 Nov, 2006 3 commits
    • unknown's avatar
      Merge mysql.com:/users/lthalmann/bkroot/mysql-5.1-new-rpl · 3763edd3
      unknown authored
      into  mysql.com:/users/lthalmann/bk/MERGE/mysql-5.1-merge
      
      
      BitKeeper/etc/collapsed:
        auto-union
      include/m_ctype.h:
        Auto merged
      mysql-test/r/binlog_row_mix_innodb_myisam.result:
        Auto merged
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/disabled.def:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      sql/Makefile.am:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      unittest/mytap/tap.c:
        Auto merged
      sql/log_event.cc:
        manual merge
      sql/sql_class.cc:
        manual merge
      3763edd3
    • unknown's avatar
      Merge mysql.com:/users/lthalmann/bkroot/mysql-5.0-rpl · c6de4d1c
      unknown authored
      into  mysql.com:/users/lthalmann/bk/MERGE/mysql-5.0-merge
      
      
      BitKeeper/etc/collapsed:
        auto-union
      mysql-test/r/ctype_utf8.result:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      c6de4d1c
    • unknown's avatar
      Bug#23451 GROUP_CONCAT truncates a multibyte utf8 character · d9360eae
      unknown authored
        
        Problem: GROUP_CONCAT on a multi-byte column can truncate
        in the middle of a multibyte character when applying
        group_concat_max_len limit. It produces an invalid
        multi-byte character in the result string.
        
      The second, easier version - reusing old "warning_for_row" flag,
      instead of introducing of "result_is_full" - which was
      added in the previous commit.
      
      
      mysql-test/r/func_gconcat.result:
        Adding test case
      mysql-test/t/func_gconcat.test:
        Adding test case
      sql/item_sum.cc:
        Adding well_formed_len() call not to cut
            in the middle of a multi-byte character.
      d9360eae
  7. 04 Nov, 2006 6 commits
  8. 03 Nov, 2006 20 commits
    • unknown's avatar
      Post-merge fixes. · 4c3283b3
      unknown authored
      
      sql/log_event.cc:
        Fixing comment
      sql/rpl_rli.cc:
        Removing code that was moved to other file.
      4c3283b3
    • unknown's avatar
      Merge romeo.(none):/home/bkroot/mysql-5.1-new-rpl · 42904cdf
      unknown authored
      into  romeo.(none):/home/bk/b18581-mysql-5.1-new-rpl
      
      
      sql/log_event.cc:
        Auto merged
      sql/rpl_rli.h:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      42904cdf
    • unknown's avatar
      Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.1-new-rpl · ae00d51b
      unknown authored
      into  romeo.(none):/home/bkroot/mysql-5.1-new-rpl
      
      
      ae00d51b
    • unknown's avatar
      Fiexes for --stress mode in mysql-test-run.pl · a1c79995
      unknown authored
      
      mysql-test/lib/mtr_stress.pl:
        "stop_masters" function renamed to "stop_all_servers"
        "path_mysock" renamed to "path_sock"
      a1c79995
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint · c88ab7a0
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      client/mysql.cc:
        Auto merged
      client/mysqltest.c:
        Auto merged
      configure.in:
        Auto merged
      mysql-test/lib/mtr_process.pl:
        Auto merged
      mysql-test/include/mix1.inc:
        Auto merged
      mysql-test/r/innodb_mysql.result:
        Auto merged
      mysql-test/r/mysql.result:
        Auto merged
      mysql-test/t/mysql.test:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      mysys/mf_iocache.c:
        Auto merged
      mysys/my_lock.c:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      storage/myisam/sort.c:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      c88ab7a0
    • unknown's avatar
      Has issues with original tree, so had to pull new tree and copy test over.... · 77b1bb84
      unknown authored
      Has issues with original tree, so had to pull new tree and copy test over. Running last test now and will push after
      
      
      mysql-test/extra/rpl_tests/rpl_extraSlave_Col.test:
        BitKeeper file /data0/mysql-5.1-new-rpl/mysql-test/extra/rpl_tests/rpl_extraSlave_Col.test
      mysql-test/t/rpl_extraCol_innodb-master.opt:
        BitKeeper file /data0/mysql-5.1-new-rpl/mysql-test/t/rpl_extraCol_innodb-master.opt
      mysql-test/t/rpl_extraCol_innodb-slave.opt:
        BitKeeper file /data0/mysql-5.1-new-rpl/mysql-test/t/rpl_extraCol_innodb-slave.opt
      mysql-test/t/rpl_extraCol_innodb.test:
        BitKeeper file /data0/mysql-5.1-new-rpl/mysql-test/t/rpl_extraCol_innodb.test
      mysql-test/t/rpl_extraCol_myisam.test:
        BitKeeper file /data0/mysql-5.1-new-rpl/mysql-test/t/rpl_extraCol_myisam.test
      mysql-test/r/rpl_extraCol_innodb.result:
        BitKeeper file /data0/mysql-5.1-new-rpl/mysql-test/r/rpl_extraCol_innodb.result
      mysql-test/r/rpl_extraCol_myisam.result:
        BitKeeper file /data0/mysql-5.1-new-rpl/mysql-test/r/rpl_extraCol_myisam.result
      mysql-test/r/rpl_ndb_extraCol.result:
        BitKeeper file /data0/mysql-5.1-new-rpl/mysql-test/r/rpl_ndb_extraCol.result
      mysql-test/t/rpl_ndb_extraCol.test:
        BitKeeper file /data0/mysql-5.1-new-rpl/mysql-test/t/rpl_ndb_extraCol.test
      mysql-test/extra/rpl_tests/rpl_ndb_ddl.test:
        BitKeeper file /data0/mysql-5.1-new-rpl/mysql-test/extra/rpl_tests/rpl_ndb_ddl.test
      77b1bb84
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · 62150851
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      client/mysql.cc:
        Auto merged
      mysql-test/lib/mtr_process.pl:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      mysys/my_lock.c:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      configure.in:
        Manual merge
      myisam/sort.c:
        Manual merge(double checked)
      mysql-test/r/innodb_mysql.result:
        Manual merge
      mysql-test/t/innodb_mysql.test:
        Manual merge
      mysys/mf_iocache.c:
        Manual merge
      62150851
    • unknown's avatar
      Fix problem with mysql.test relying on "echo" behaviour · 52f70ab8
      unknown authored
      
      mysql-test/r/mysql.result:
        Update test result after commenting out the test
      mysql-test/t/mysql.test:
        Rewrite the test commands so they don't depend on "echo" behaviour
        Comment out one as it's a duplicate
      52f70ab8
    • unknown's avatar
      Fix DBUG_PRINT in mysqltest, the real value to print is in ds_cmd · 8cd64ad2
      unknown authored
      
      client/mysqltest.c:
        The expanded command executed by mysqltest is in ds_cmd
      8cd64ad2
    • unknown's avatar
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint · 7bc532ae
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      client/mysql.cc:
        Auto merged
      mysql-test/lib/mtr_misc.pl:
        Auto merged
      mysql-test/r/innodb_mysql.result:
        Auto merged
      mysql-test/r/mysql.result:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      mysql-test/t/im_daemon_life_cycle.imtest:
        Auto merged
      mysql-test/t/mysql.test:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      mysql-test/t/sp-error.test:
        Auto merged
      include/mysql_h.ic:
        Auto merged
      mysql-test/include/mix1.inc:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      mysys/my_lock.c:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_trigger.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      storage/innobase/handler/ha_innodb.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Use remote
      include/Makefile.am:
        Manual merge
      7bc532ae
    • unknown's avatar
      Bug#16228/Bug#20697 - related. · 5a7bbcd5
      unknown authored
      Bug#23831  deadlock not noticed
      
      RBR bug in that when replicated msta (multi-statement-trans-action) deadlocks
      with a local at write row event or gets timed-out, the event handler did not return
      the correct error code.
      Wrong error code stops slave sql thread instead of to proceed with
      rollback and replay.
      
      The correct code is typed in error log and stored for error handling rotine
      to conduct rollback and replay of the transaction. The handling for the rbr
      remains the same as for the sbr events.
      Particularly, timed-out transaction still is rolled back - look at the related bugs.
      
      
      mysql-test/extra/rpl_tests/rpl_deadlock.test:
        fixing deadlock stimulation, commented on potential race condition and left todo.
      mysql-test/r/rpl_deadlock_innodb.result:
        changed
      sql/log_event.cc:
        returning the correct errors for write row event type;
        storing DL, TO error codes to check at grand-caller in step with sbr.
      5a7bbcd5
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint · 566ba6cd
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/my50-m-stress
      
      
      566ba6cd
    • unknown's avatar
      Use lowercase for "Too long dbname" test as it will be put ot lower on some... · cb404c2d
      unknown authored
      Use lowercase for "Too long dbname" test as it will be put ot lower on some platforms and we don't wan't to test that.
      
      
      
      cb404c2d
    • unknown's avatar
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/my41-m-stress · 94776f1e
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/my50-m-stress
      
      
      94776f1e
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-5.1.b22823 · 88b5cf40
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-rpl
      
      
      88b5cf40
    • unknown's avatar
      Fix mysql-test-run.pl for "bin dist" look in "bin" directory for client binaries as well. · d7d05682
      unknown authored
      
      mysql-test/lib/mtr_misc.pl:
        Update comments
      mysql-test/mysql-test-run.pl:
        Also need to look in "$glob_basedir/bin"
      d7d05682
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-maint · f337a747
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      f337a747
    • unknown's avatar
      39e39439