1. 12 Oct, 2005 8 commits
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-12136 · 77ad01c2
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      77ad01c2
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-8731b · 0c9997fc
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      configure.in:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      0c9997fc
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-13344 · 101d9189
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      mysql-test/r/cast.result:
        Auto merged
      mysql-test/t/cast.test:
        Auto merged
      sql/item.h:
        Auto merged
      101d9189
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-13619 · 9a3bce50
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      9a3bce50
    • unknown's avatar
      merge · 61dfc334
      unknown authored
      61dfc334
    • unknown's avatar
      Fix for BUG#13023: "SQL Thread is up but doesn't move forward". Details in slave.cc; · 7ff27a61
      unknown authored
      in short we now record whenever the slave I/O thread ignores a master's event because of its server id,
      and use this info in the slave SQL thread to advance Exec_master_log_pos. Because if we
      do not, this variable stays at the position of the last executed event, i.e. the last *non-ignored*
      executed one, which may not be the last of the master's binlog (and so the slave *looks* behind
      the master though it's data-wise it's not).
      
      
      mysql-test/t/rpl_dual_pos_advance-master.opt:
        empty; its goal is just to trigger a server restart after running the test,
        so that the master forgets that it was a slave (otherwise it affects the following tests).
      sql/log.cc:
        No more default arguments for Rotate_log_event constructor.
        MYSQL_LOG::appendv() is now called without mutex.
      sql/log_event.cc:
        Moving one Rotate_log_event constructor from log_event.h. Support for on-demand choice of
        duplicating the string argument of the constructor or not (because there now are needs for both
        alternatives, see slave.cc).
      sql/log_event.h:
        We now have a case where a Rotate_log_event is executed by the slave SQL thread while
        not being in the relay log, so it needs to pretend its length is 0: a ZERO_LEN flag for that;
        a flag DUP_NAME (replaces "bool alloced") to be able to choose if we want the constructor
        to duplicate the string argument or not.
      sql/slave.cc:
        A comment for BUG#13861 (to be fixed). llstr() instead of %ld as the number is ulonglong.
        mi->rli becomes rli in some places.
        Fix for BUG#13023:
        - in the slave I/O thread, whenever we ignore an event because of its server id we update
        a couple of coordinates in memory
        - in the slave SQL thread, whenever we bump into the end of the latest relay log, we check
        this couple of coordinates to see if we should advance our Exec_master_log_pos.
        - when the slave I/O thread terminates it saves these in-memory coordinates into a Rotate event
        in the relay log, so that they are durable.
      sql/slave.h:
        A couple of coordinates in RELAY_LOG_INFO to keep track of the last ignored events received
        by the slave I/O thread (ignored because of the server id).
      mysql-test/r/rpl_dual_pos_advance.result:
        New BitKeeper file ``mysql-test/r/rpl_dual_pos_advance.result''
      mysql-test/t/rpl_dual_pos_advance.test:
        Test for BUG#13023 (with a part, disabled, to test BUG#13861 when I fix it).
        Before the fix, this test used to hang.
      7ff27a61
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 9af6650a
      unknown authored
      into  mysql.com:/users/grog/4.1
      
      
      9af6650a
    • unknown's avatar
      sql_yacc.yy: · be559ad6
      unknown authored
        Bug #10308: Parse 'purge master logs' with subselect correctly.
      subselect.test:
        Bug #10308: Test for 'purge master logs' with subselect.
      subselect.result:
        Bug #10308: Test result for 'purge master logs' with subselect.
      
      
      mysql-test/r/subselect.result:
        Bug #10308: Test result for 'purge master logs' with subselect.
      mysql-test/t/subselect.test:
        Bug #10308: Test for 'purge master logs' with subselect.
      sql/sql_yacc.yy:
        Bug #10308: Parse 'purge master logs' with subselect correctly.
      be559ad6
  2. 11 Oct, 2005 5 commits
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1 · 87308abf
      unknown authored
      into mysql.com:/space/my/mysql-4.1-build
      
      
      87308abf
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.0-build · 7d868794
      unknown authored
      into mysql.com:/space/my/mysql-4.1-build
      
      
      scripts/make_win_src_distribution.sh:
        Auto merged
      7d868794
    • unknown's avatar
      - added Docs/manual.chm to the windows source distribution (BUG#13899) · 28dffbcd
      unknown authored
      
      scripts/make_win_src_distribution.sh:
        - added Docs/manual.chm to the windows source distribution (BUG#13899). The file
          is placed in there by the Bootstrap script, which pulls it from the mysqldoc
          repository
      28dffbcd
    • unknown's avatar
      Fix wait_timeout (and kill) handling on Mac OS X by cleaning up how · e61dea1b
      unknown authored
      signal handlers are set up, the blocking flags for sockets are set,
      and which thread-related functions are used. (Bug #8731)
      
      
      configure.in:
        Fix flags for Darwin 6 and later. Simplify Darwin 7-9 blocks to simply
        be a catch-all for *darwin* so that future Darwin releases get the
        latest flags.
      include/config-win.h:
        Define my_sigset() instead of sigset().
      include/my_pthread.h:
        Define my_sigset() instead of trying to monkey with sigset(), and favor
        an implementation based on sigaction().
      mysys/my_pthread.c:
        Remove pthread_signal(), which is identical to the new my_sigset() macro.
      mysys/thr_alarm.c:
        Use my_sigset() instead of sigset().
      sql/mysqld.cc:
        Use my_sigset() instead of signal() and sigset(), remove unnecessary
        definition of sigset on __amiga__. Remove unused THREAD_SPECIFIC_SIGPIPE
        code.
        
        A future improvement would be to re-assess the use of sigaction() here
        and convert its usage to use my_sigset().
      vio/vio.c:
        Always call fcntl() to initialize flags of socket in initialization to
        avoid problems on systems that don't report the flags on a socket
        correctly right after it has been returned from accept(), such as
        FreeBSD, Mac OS X, and possibly other BSD-derived systems.
      vio/viosocket.c:
        If fcntl() fails in vio_blocking(), restore the flags stored in the
        vio struct.
      mysql-test/r/wait_timeout.result:
        New BitKeeper file ``mysql-test/r/wait_timeout.result''
      mysql-test/t/wait_timeout-master.opt:
        New BitKeeper file ``mysql-test/t/wait_timeout-master.opt''
      mysql-test/t/wait_timeout.test:
        New BitKeeper file ``mysql-test/t/wait_timeout.test''
      e61dea1b
    • unknown's avatar
      Fix for bug#9270 multiple SSL race conditions (for 5.0 tree) · a31b47cd
      unknown authored
        The fix is needed to perform locking on shared data structures
        This is modification of patch proposed by Leandro Santi
        (see http://webs.sinectis.com.ar/lesanti/misc/mysql-4.0.23a-openssl_locking.patch)
      
      
      sql/mysqld.cc:
        Fix for bug#9270 multiple SSL race conditions (for 5.0 tree)
          The fix is needed to perform locking on shared data structures
      a31b47cd
  3. 10 Oct, 2005 4 commits
  4. 08 Oct, 2005 2 commits
  5. 07 Oct, 2005 7 commits
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-4.1-release · 30d81f00
      unknown authored
      into  mysql.com:/usr/home/ram/work/mysql-4.1
      
      
      scripts/make_binary_distribution.sh:
        Auto merged
      30d81f00
    • unknown's avatar
      d1e71faf
    • unknown's avatar
      Copy zlib.a and valgrind.supp if exists. · d40a0f42
      unknown authored
      Copy disabled.def
      (Backport of Kent's change from the main tree to the 4.1.15 build clone.
      Original changeset:  2005/10/07 13:08:07+02:00 kent@mysql.com )
      
      
      scripts/make_binary_distribution.sh:
        Copy zlib.a and valgrind.supp if exists.
        Copy disabled.def
        (Backport of Kent's change from the main tree to the 4.1.15 build clone.)
      d40a0f42
    • unknown's avatar
      make_binary_distribution.sh: · c533a6bf
      unknown authored
        Copy zlib.a and valgrind.supp if exists
        Copy disabled.def
      
      
      scripts/make_binary_distribution.sh:
        Copy zlib.a and valgrind.supp if exists
      c533a6bf
    • unknown's avatar
      Increase the version number. · 8b1936fa
      unknown authored
      8b1936fa
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 0ecbc17c
      unknown authored
      into  mysql.com:/home/my/mysql-4.1
      
      
      0ecbc17c
    • unknown's avatar
      Review of new code since last pull · 3dcf2056
      unknown authored
      - Use %lx instead of %p as %p is not portable
      - Don't replace ROW item with Item_null
      
      
      myisam/mi_rkey.c:
        Use %lx instead of %p as %p is not portable
      myisam/mi_search.c:
        Use %lx instead of %p as %p is not portable
      mysql-test/r/select.result:
        More test for ROW comparison
      mysql-test/t/select.test:
        More test for ROW comparison
      sql/item.cc:
        We can't replace a ROW item with Item_null because:
        - Arg_comparator is still using the orignal row items and it's not good to have args[0] different from what is actually compared
        - If we are using the <=> comparator, NULL can still be compared as true
        - We would break things if we would ever use resolve_const_item() for operators like >, < etc.
      3dcf2056
  6. 06 Oct, 2005 10 commits
  7. 05 Oct, 2005 4 commits