1. 12 Oct, 2005 14 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · f35600b1
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      f35600b1
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · df726806
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      df726806
    • unknown's avatar
      Manual merged · f0a8cdff
      unknown authored
      
      sql/item.cc:
        Auto merged
      f0a8cdff
    • unknown's avatar
      select.test, sql_select.cc, sql_lex.cc, item.cc: · 5e2ad874
      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
      5e2ad874
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-6413 · fd7db6f1
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      fd7db6f1
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-12136 · a62182f8
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      a62182f8
    • unknown's avatar
      To force a restart at the end of test, the option file must be non-empty, it's... · 1d48b472
      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)
      1d48b472
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-8731b · 31822c94
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      configure.in:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      31822c94
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-13344 · 86038b4f
      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
      86038b4f
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.1-13619 · 7131a656
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-4.1-clean
      
      7131a656
    • unknown's avatar
      merge · 516c558c
      unknown authored
      516c558c
    • unknown's avatar
      Fix for BUG#13023: "SQL Thread is up but doesn't move forward". Details in slave.cc; · d536481f
      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.
      d536481f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 9c405eb5
      unknown authored
      into  mysql.com:/users/grog/4.1
      
      9c405eb5
    • unknown's avatar
      sql_yacc.yy: · 652c68e5
      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.
      652c68e5
  2. 11 Oct, 2005 7 commits
    • unknown's avatar
      Manual merge, fix for bug #7672 · 0654c014
      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
      0654c014
    • unknown's avatar
      Fix read past allocated buffer when parsing charsets file. (Bug #6413) · d37c2aed
      unknown authored
      
      strings/xml.c:
        Don't look for comment past end of buffer.
      d37c2aed
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1 · cff6c194
      unknown authored
      into mysql.com:/space/my/mysql-4.1-build
      
      cff6c194
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.0-build · f78d13cd
      unknown authored
      into mysql.com:/space/my/mysql-4.1-build
      
      
      scripts/make_win_src_distribution.sh:
        Auto merged
      f78d13cd
    • unknown's avatar
      - added Docs/manual.chm to the windows source distribution (BUG#13899) · 52eca852
      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
      52eca852
    • unknown's avatar
      Fix wait_timeout (and kill) handling on Mac OS X by cleaning up how · ad5f91e7
      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''
      ad5f91e7
    • unknown's avatar
      Fix for bug#9270 multiple SSL race conditions (for 5.0 tree) · b8bade6b
      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
      b8bade6b
  3. 10 Oct, 2005 4 commits
  4. 09 Oct, 2005 1 commit
    • unknown's avatar
      Fix bug#7672 Unknown column error in order clause · 76235f4f
      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
      76235f4f
  5. 08 Oct, 2005 2 commits
  6. 07 Oct, 2005 7 commits
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-4.1-release · 2a671f00
      unknown authored
      into  mysql.com:/usr/home/ram/work/mysql-4.1
      
      
      scripts/make_binary_distribution.sh:
        Auto merged
      2a671f00
    • unknown's avatar
      b02a62b6
    • unknown's avatar
      Copy zlib.a and valgrind.supp if exists. · c6503d80
      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.)
      c6503d80
    • unknown's avatar
      make_binary_distribution.sh: · 181541e3
      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
      181541e3
    • unknown's avatar
      Increase the version number. · 5ac7d0d2
      unknown authored
      5ac7d0d2
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · fdd4cb35
      unknown authored
      into  mysql.com:/home/my/mysql-4.1
      
      fdd4cb35
    • unknown's avatar
      Review of new code since last pull · 02c4a211
      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.
      02c4a211
  7. 06 Oct, 2005 5 commits
    • unknown's avatar
      make_binary_distribution.sh: · ca0980ca
      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
      ca0980ca
    • unknown's avatar
      Handle errors returned by system crypt() in ENCRYPT(). (Bug #13619) · 20e5051e
      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().
      20e5051e
    • unknown's avatar
      make_binary_distribution.sh: · 449b1f23
      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
      449b1f23
    • unknown's avatar
      Merge dellis@bk-internal.mysql.com:/home/bk/mysql-4.1 · 560f103f
      unknown authored
      into  mysql.com:/home/dellis/mysqlab/bk/mysql-4.1
      
      560f103f
    • unknown's avatar
      make_binary_distribution.sh: · 619f70a6
      unknown authored
        Replaced --machine with --platform
        General code cleanup
      
      
      scripts/make_binary_distribution.sh:
        Replaced --machine with --platform
        General code cleanup
      619f70a6