1. 21 Jun, 2007 16 commits
    • unknown's avatar
      Merge maint1.mysql.com:/data/localhome/tsmith/bk/maint/50 · 2da92ead
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/maint/51
      
      
      configure.in:
        Auto merged
      include/m_ctype.h:
        Auto merged
      mysql-test/Makefile.am:
        Auto merged
      mysql-test/t/innodb.test:
        Auto merged
      mysys/charset-def.c:
        Auto merged
      mysys/charset.c:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      strings/ctype-big5.c:
        Auto merged
      strings/ctype-gbk.c:
        Auto merged
      strings/ctype-sjis.c:
        Auto merged
      strings/ctype-uca.c:
        Auto merged
      strings/ctype.c:
        Auto merged
      mysql-test/r/innodb.result:
        Manual merge
      mysql-test/r/multi_update.result:
        Manual merge
      mysql-test/t/multi_update.test:
        Manual merge
      sql/sql_update.cc:
        SCCS merged
      2da92ead
    • unknown's avatar
      Merge maint1.mysql.com:/data/localhome/tsmith/bk/maint/41 · 8ddf61d3
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/maint/50
      
      
      8ddf61d3
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-rpl · fc7f407a
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/maint/50
      
      
      mysql-test/t/innodb.test:
        Auto merged
      mysql-test/r/innodb.result:
        Manual merge
      fc7f407a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1-rpl · 6ac33675
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/maint/41
      
      
      6ac33675
    • unknown's avatar
      Merge maint1.mysql.com:/data/localhome/tsmith/bk/51 · a1c0a4b4
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/maint/51
      
      
      configure.in:
        Auto merged
      mysql-test/t/query_cache.test:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      mysql-test/r/query_cache.result:
        SCCS merged
      a1c0a4b4
    • unknown's avatar
      Merge maint1.mysql.com:/data/localhome/tsmith/bk/50 · 0e99d690
      unknown authored
      into  maint1.mysql.com:/data/localhome/tsmith/bk/maint/50
      
      
      configure.in:
        Auto merged
      0e99d690
    • unknown's avatar
      Merge mysql.com:/nfsdisk1/lars/bk/mysql-5.0 · 12e1a9df
      unknown authored
      into  mysql.com:/nfsdisk1/lars/bk/mysql-5.0-rpl
      
      
      12e1a9df
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint · 02faba53
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/lib/mtr_report.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      sql-common/client.c:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      02faba53
    • unknown's avatar
      Test fix · 8b3c5753
      unknown authored
      8b3c5753
    • unknown's avatar
      e0e739b6
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/bug28769/my50-bug28769 · 73cf7a6c
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/r/innodb.result:
        Manual merge
      mysql-test/t/innodb.test:
        Manual merge
      73cf7a6c
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/bug28769/my50-bug28769 · 022ee2b0
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
      
      
      022ee2b0
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/bug28742/my50-bug28742 · 7b768f97
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/lib/mtr_process.pl:
        Auto merged
      mysql-test/lib/mtr_report.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Merge 5.0->5.1
      7b768f97
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/bug28742/my50-bug28742 · f3954ba1
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      f3954ba1
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 5c21be54
      unknown authored
      into  mysql.com:/home/ram/work/b28772/b28772.5.1
      
      
      5c21be54
    • unknown's avatar
      Bug#24924: shared-memory-base-name that is too long causes buffer overflow · 4d9cc3db
      unknown authored
      long shared-memory-base-names could overflow a static internal buffer
      and thus crash mysqld and various clients.  change both to dynamic
      buffers, show everything but overflowing those buffers still works.
      
      The test case for this would pretty much amount to
      mysqld --shared-memory-base-name=HeyMrBaseNameXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --shared-memory=1 &
      mysqladmin --no-defaults --shared-memory-base-name=HeyMrBaseNameXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX shutdown
      
      Unfortunately, we can't just use an .opt file for the
      server. The .opt file is used at start-up, before any
      include in the actual test can tell mysqltest to skip
      this one on non-Windows. As a result, such a test would
      break on unices.
      
      Fixing mysql-test-run.pl to export full path for master
      and slave would enable us to start a server from within
      the test which is ugly and, what's more, doesn't work as
      the server blocks (mysqltest offers no fire-and-forget
      fork-and-exec), and mysqladmin never gets run.
      
      Making the test rpl_windows_shm or some such so we can
      is beyond ugly. As is introducing another file-name based
      special case (run "win*.test" only when on Windows). As is
      (yuck) coding half the test into mtr (as in, having it
      hand out a customized environment conductive to the shm-
      thing on Win only).
      
      Situation is exacerbated by the fact that .sh is not
      necessary run as expected on Win.
      
      In short, it's just not worth it. No test-case until we
      have a new-and-improved test framework.
      
      
      sql-common/client.c:
        Bug#24924: shared-memory-base-name that is too long causes buffer overflow
        
        compose shared memory name in dynamic rather than static buffer to prevent
        overflows (clients)
      sql/mysqld.cc:
        Bug#24924: shared-memory-base-name that is too long causes buffer overflow
        
        compose shared memory name in dynamic rather than static buffer to prevent
        overflows (server)
      4d9cc3db
  2. 20 Jun, 2007 8 commits
    • unknown's avatar
      Merge kindahl-laptop.dnsalias.net:/home/bkroot/mysql-5.0-rpl · 65832a03
      unknown authored
      into  kindahl-laptop.dnsalias.net:/home/bk/b29030-mysql-5.0-rpl
      
      
      65832a03
    • unknown's avatar
      Enable the disabled test case for Bug#28075 (pushbuild by now · 72253445
      unknown authored
      should be fixed).
      
      
      72253445
    • unknown's avatar
      Merge bodhi.(none):/opt/local/work/mysql-5.0-runtime · 5a945c3d
      unknown authored
      into  bodhi.(none):/opt/local/work/mysql-5.1-runtime
      
      
      mysql-test/t/ndb_index_ordered.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      mysql-test/t/greedy_optimizer.test:
        Manual merge.
      mysql-test/t/join.test:
        Manual merge.
      tests/mysql_client_test.c:
        Manual merge.
      5a945c3d
    • unknown's avatar
      BUG#29030 (DROP USER command that errors still gets written to binary log · 39cc31b3
      unknown authored
      and replicated):
      
      A DROP USER statement with a non-existing user was correctly written to
      the binary log (there might be users that were removed, but not all),
      but the error code was not set, which caused the slave to stop with an
      error.
      
      The error reporting code was moved to before the statement was logged
      to ensure that the error information for the thread was correctly set
      up. This works since my_error() will set the fields net.last_errno and
      net.last_error for the thread that is reporting the error, and this
      will then be picked up when the Query_log_event is created and written
      to the binary log.
      
      
      sql/sql_acl.cc:
        Moving error reporting code to ensure that thd->net.last_err{or,no} is
        set and adding debug printout.
      mysql-test/r/rpl_grant.result:
        New BitKeeper file ``mysql-test/r/rpl_grant.result''
      mysql-test/t/rpl_grant.test:
        New BitKeeper file ``mysql-test/t/rpl_grant.test''
      39cc31b3
    • unknown's avatar
      Disable randomly failing tests: · 3f03ff95
      unknown authored
      rpl_udf -- Bug#28993 rpl_udf test causes server crash and valgrind
      warning in pushbuild
      rpl_ndb_circular -- Bug#29233 rpl_ndb_circular fails randomly
      ndb_dd_sql_features -- Bug#29102 ndb_dd_sql_features fails in
      pushbuild
      
      
      mysql-test/t/disabled.def:
        Disable randomly failing tests rpl_udf, rpl_ndb_circular, 
        ndb_dd_sql_features
      3f03ff95
    • unknown's avatar
      Bug #27583 slave sql fails to read from iocache when slave got stopped at pos==4 · c8bdab11
      unknown authored
      forgotten merge with 5.0. There can be some bugs waiting for this fix in 5.0 like Bug@29232
      
      
      sql/log_event.cc:
        file name is changed in step with the position.
      c8bdab11
    • unknown's avatar
      Fix a typo. · 3fc5d1bb
      unknown authored
      3fc5d1bb
    • unknown's avatar
      Bug#28742 mysql-test-run is very slow on "Stopping All Servers" step · c5fb4b24
      unknown authored
       - Improve shutdown algorithm 
       - Wait up to 5 seconds for processes to exit after their port is free
      
      
      mysql-test/lib/mtr_process.pl:
        Improve shutdown algorithm, shutdown the server hard
        if it hasn't responded to "mysqladmin shutdown" and it's port is free.
        Print error to servers error log indicating "hard shutdown"
        Give processes up to 5 seconds to exit after their port is free
      mysql-test/lib/mtr_report.pl:
        Indicate in what file the warning was found
      mysql-test/mysql-test-run.pl:
        Pass path of process error log to 'mtr_check_stop_servers'
      c5fb4b24
  3. 19 Jun, 2007 16 commits
    • unknown's avatar
      Merge damien-katzs-computer.local:/Users/dkatz/mysql50 · 13dd2419
      unknown authored
      into  damien-katzs-computer.local:/Users/dkatz/mysql51
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/r/query_cache.result:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      mysql-test/t/query_cache.test:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      13dd2419
    • unknown's avatar
      Merge damien-katzs-computer.local:/Users/dkatz/mysql50 · bfc61f2e
      unknown authored
      into  damien-katzs-computer.local:/Users/dkatz/50_win
      
      
      sql/sql_yacc.yy:
        Auto merged
      bfc61f2e
    • unknown's avatar
      Fix a merge mistake. · 8f39efa7
      unknown authored
      8f39efa7
    • unknown's avatar
      Fix for bug #28772: rpl_row_until fails in pushbuild · db55082a
      unknown authored
      Problem: we use 'sleep 2; wait_for_slave_to_stop;' to reach some slave's states
      which is buggy, wasteful of time, platform dependant etc.
      Fix: use include/wait_for_slave_***.inc's where it's possible instead.
      
      
      mysql-test/include/wait_for_slave_io_to_stop.inc:
        Fix for bug #28772: rpl_row_until fails in pushbuild
          - changed to use query_vertical so that it is easier to read the output.
      mysql-test/include/wait_for_slave_sql_to_stop.inc:
        Fix for bug #28772: rpl_row_until fails in pushbuild
          - changed to use query_vertical so that it is easier to read the output.
      mysql-test/include/wait_for_slave_to_start.inc:
        Fix for bug #28772: rpl_row_until fails in pushbuild
          - changed to use query_vertical so that it is easier to read the output.
      mysql-test/include/wait_for_slave_to_stop.inc:
        Fix for bug #28772: rpl_row_until fails in pushbuild
          - changed to use query_vertical so that it is easier to read the output.
      mysql-test/t/rpl_row_until.test:
        Fix for bug #28772: rpl_row_until fails in pushbuild
          - 'sleep 2; wait_for_slave_to_stop;' replaced with sourcing
            include/wait_for_slave_sql_to_stop.inc to be more predictable.
      mysql-test/t/rpl_stm_until.test:
        Fix for bug #28772: rpl_row_until fails in pushbuild
          - 'sleep 2; wait_for_slave_to_stop;' replaced with sourcing
            include/wait_for_slave_sql_to_stop.inc to be more predictable.
      db55082a
    • unknown's avatar
      Manual merge. · a790eb75
      unknown authored
      
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/query_cache.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      a790eb75
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · cb5f8fa5
      unknown authored
      into  bodhi.(none):/opt/local/work/mysql-5.0-runtime
      
      
      cb5f8fa5
    • unknown's avatar
      Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0 · 7d16183b
      unknown authored
      into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1
      
      
      configure.in:
        Auto merged
      7d16183b
    • unknown's avatar
      Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-5.1 · f6ae8e76
      unknown authored
      into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1
      
      
      configure.in:
        Auto merged
      f6ae8e76
    • unknown's avatar
      Merge dfischer@bk-internal.mysql.com:/home/bk/mysql-5.0 · 8f24e822
      unknown authored
      into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0
      
      
      configure.in:
        Auto merged
      8f24e822
    • unknown's avatar
      Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0 · 37d6aba9
      unknown authored
      into  pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.1
      
      
      37d6aba9
    • unknown's avatar
      try again. · 32b6fbe5
      unknown authored
      
      configure.in:
        Raise version number after cloning 5.0.44
      32b6fbe5
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-maint · 71eff9f1
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      71eff9f1
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-maint · 75689af8
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      BitKeeper/deleted/.del-wait_for_slave_io_to_stop.inc:
        Auto merged
      75689af8
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1-maint · 9fb4bffa
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/mysql-4.1-maint
      
      
      9fb4bffa
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/wl3232/my50-wl3232 · 3955e94c
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/wl3232/my51-wl3232
      
      
      mysql-test/r/mysqltest.result:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      3955e94c
    • unknown's avatar
      Merge pilot.(none):/data/msvensson/mysql/wl3232/my41-wl3232 · 8d04d7bb
      unknown authored
      into  pilot.(none):/data/msvensson/mysql/wl3232/my50-wl3232
      
      
      mysql-test/r/mysqltest.result:
        Auto merged
      mysql-test/t/mysqltest.test:
        Auto merged
      8d04d7bb