1. 13 Oct, 2005 1 commit
  2. 12 Oct, 2005 14 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 · 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 7 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
      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
  4. 10 Oct, 2005 4 commits
  5. 09 Oct, 2005 1 commit
    • unknown's avatar
      Fix bug#7672 Unknown column error in order clause · f3f84ed8
      unknown authored
      When fixing Item_func_plus in ORDER BY clause field c is searched in all
      opened tables, but because c is an alias it wasn't found there.
      
      This patch adds a flag to select_lex which allows Item_field::fix_fields() 
      to look up in select's item_list to find aliased fields.
      
      
      sql/item.cc:
        Fix bug#7672 Unknown column error in order clause
        When fixing fields in ORDER BY clause allow Item_field::fix_fields() to look up items in select's item list to find aliased fields.
      sql/sql_lex.cc:
         Fix bug#7672 Unknown column error in order clause
      sql/sql_lex.h:
        Fix bug#7672 Unknown column error in order clause
        Added flag to select_lex allowing Item_field::fix_fields to look up items in select's item list.
      sql/sql_select.cc:
        Fix bug#7672 Unknown column error in order clause
      mysql-test/t/select.test:
        Test case for bug#7672 Unknown column error in order clause
      mysql-test/r/select.result:
        Test case for bug#7672 Unknown column error in order clause
      f3f84ed8
  6. 08 Oct, 2005 2 commits
  7. 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
  8. 06 Oct, 2005 4 commits
    • unknown's avatar
      make_binary_distribution.sh: · 2d017ee8
      unknown authored
        Corrected platform name output
      Services.cpp:
        Dont print null address (back port from 5.0)
      
      
      ndb/src/mgmsrv/Services.cpp:
        Dont print null address (back port from 5.0)
      scripts/make_binary_distribution.sh:
        Corrected platform name output
      2d017ee8
    • unknown's avatar
      Handle errors returned by system crypt() in ENCRYPT(). (Bug #13619) · 041123ba
      unknown authored
      
      mysql-test/r/func_crypt.result:
        Add new results
      mysql-test/t/func_crypt.test:
        Add new regression test
      sql/item_strfunc.cc:
        Handle NULL result from call to crypt().
      041123ba
    • unknown's avatar
      make_binary_distribution.sh: · 707a4b65
      unknown authored
        Reintroduced --machine
        Better sh compatibility, "for i ; do" is not portable
      
      
      scripts/make_binary_distribution.sh:
        Reintroduced --machine
        Better sh compatibility, "for i ; do" is not portable
      707a4b65
    • unknown's avatar
      Merge dellis@bk-internal.mysql.com:/home/bk/mysql-4.1 · f306c37c
      unknown authored
      into  mysql.com:/home/dellis/mysqlab/bk/mysql-4.1
      
      
      f306c37c