1. 14 Oct, 2005 3 commits
    • unknown's avatar
      fix for Valgrind errors: query_id needs to be inited early (already fixed in... · 5dfd72a0
      unknown authored
      fix for Valgrind errors: query_id needs to be inited early (already fixed in 5.0 by Konstantin) and so does client_capabilities (not fixed in 5.0);
      because they are used by net_printf() and push_warning(), which can be called if check_connection() fails.
      
      
      sql/mysqld.cc:
        not needed anymore
      sql/repl_failsafe.cc:
        not needed anymore
      sql/slave.cc:
        not needed anymore
      sql/sql_class.cc:
        query_id needs to be inited early (already fixed in 5.0 by Konstantin) and so does client_capabilities (not fixed in 5.0);
        because they are used by net_printf() and push_warning(), which may be called if check_connection() fails.
      5dfd72a0
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 9cc7d75e
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-4.1.b13751
      
      
      9cc7d75e
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 1e11d278
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-4.1.b13751
      
      
      1e11d278
  2. 13 Oct, 2005 22 commits
  3. 12 Oct, 2005 15 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