1. 13 Oct, 2005 12 commits
  2. 12 Oct, 2005 16 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · 62002fdc
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      62002fdc
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · ce48949e
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      ce48949e
    • unknown's avatar
      Manual merged · d68f16e2
      unknown authored
      
      sql/item.cc:
        Auto merged
      d68f16e2
    • unknown's avatar
      select.test, sql_select.cc, sql_lex.cc, item.cc: · a46e8e23
      unknown authored
        Bug #7672 after merge fix
      
      
      sql/item.cc:
        Bug #7672 after merge fix
      sql/sql_lex.cc:
        Bug #7672 after merge fix
      sql/sql_select.cc:
        Bug #7672 after merge fix
      mysql-test/t/select.test:
        Bug #7672 after merge fix
      a46e8e23
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-6413 · 0d5af53c
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      0d5af53c
    • 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
      To force a restart at the end of test, the option file must be non-empty, it's... · 3b3712fd
      unknown authored
      To force a restart at the end of test, the option file must be non-empty, it's not enough if it exists and is empty.
      
      
      mysql-test/t/rpl_dual_pos_advance-master.opt:
        the option file must be non-empty (because there's a -z test in mysql-test-run)
      3b3712fd
    • 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 epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 228d5c42
      unknown authored
      into moonbone.local:/work/13535-bug-4.1-mysql
      
      
      mysql-test/r/select.result:
        Auto merged
      mysql-test/t/select.test:
        Auto merged
      228d5c42
    • unknown's avatar
      memcpy_overlap() removed, as · 6c89848d
      unknown authored
        1. it's wrong to use memcpy() for overlapped areas;
        2. we use it only once.
      During merge to 4.1 will remove a memcpy_overlap() call 
      from strings/ctype-tis620.c as well in order to fix 
      bug #10836: ctype_tis620 test failure with ICC-compiled binaries on IA64.
      
      
      myisam/mi_search.c:
        use memmove() instead, as memcpy_overlap() is removed.
      6c89848d
    • 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
  3. 11 Oct, 2005 9 commits
    • unknown's avatar
      Manual merge, fix for bug #7672 · b455f7c5
      unknown authored
      
      mysql-test/r/select.result:
        Manual merge
      mysql-test/t/select.test:
        Manual merge
      sql/item.cc:
        Manual merge
      sql/sql_lex.cc:
        Manual merge
      sql/sql_lex.h:
        Manual merge
      sql/sql_select.cc:
        Manual merge
      b455f7c5
    • unknown's avatar
      Fix read past allocated buffer when parsing charsets file. (Bug #6413) · 62064da1
      unknown authored
      
      strings/xml.c:
        Don't look for comment past end of buffer.
      62064da1
    • unknown's avatar
      mysqlwatch.vcproj: · 156cb69e
      unknown authored
        Removed Debug target not used
      mysql.sln:
        Added pro-gpl target
        Build mysqlwatch and mysqlshutdown for classic as well
      
      
      VC++Files/mysql.sln:
        Added pro-gpl target
      VC++Files/mysqlwatch/mysqlwatch.vcproj:
        Removed Debug target not used
      156cb69e
    • 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 · e032994e
      unknown authored
      into mysql.com:/space/my/mysql-4.0-build
      
      
      e032994e
    • 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
  4. 10 Oct, 2005 3 commits
    • unknown's avatar
      Many files: · b02c74da
      unknown authored
        Added Visual Studio .Net targets and 'vcproj' files for "isam",
        "isamchk", "mysqlshutdown", "mysqlwatch" and "pack_isam"
      
      
      VC++Files/mysql.sln:
        Added isam, isamchk, mysqlshutdown, mysqlwatch and pack_isam
      VC++Files/isam/isam.vcproj:
        Added isam, isamchk, mysqlshutdown, mysqlwatch and pack_isam
      VC++Files/isamchk/isamchk.vcproj:
        Added isam, isamchk, mysqlshutdown, mysqlwatch and pack_isam
      VC++Files/mysqlshutdown/mysqlshutdown.vcproj:
        Added isam, isamchk, mysqlshutdown, mysqlwatch and pack_isam
      VC++Files/mysqlwatch/mysqlwatch.vcproj:
        Added isam, isamchk, mysqlshutdown, mysqlwatch and pack_isam
      VC++Files/pack_isam/pack_isam.vcproj:
        Added isam, isamchk, mysqlshutdown, mysqlwatch and pack_isam
      b02c74da
    • unknown's avatar
      Added missing HAVE_REPLICATION define · a043cc53
      unknown authored
      a043cc53
    • unknown's avatar
      Merge bk@192.168.21.1:/usr/home/bk/mysql-4.1 · aac2575b
      unknown authored
      into deer.(none):/home/hf/work/mysql-4.1.13372
      
      
      sql/item.cc:
        Auto merged
      aac2575b