1. 12 Oct, 2005 1 commit
    • 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
  2. 05 Oct, 2005 1 commit
  3. 04 Oct, 2005 2 commits
  4. 03 Oct, 2005 4 commits
  5. 02 Oct, 2005 1 commit
    • unknown's avatar
      os0sync.c: · 8d31718c
      unknown authored
        Add diagnostic code to track an assertion failure of 0 == pthread_mutex_destroy(); this was reported on the MySQL mailing list Sept 23, 2005
      
      
      innobase/os/os0sync.c:
        Add diagnostic code to track an assertion failure of 0 == pthread_mutex_destroy(); this was reported on the MySQL mailing list Sept 23, 2005
      8d31718c
  6. 30 Sep, 2005 9 commits
  7. 29 Sep, 2005 15 commits
    • unknown's avatar
      mtr_report.pl: · 3dd066e8
      unknown authored
        Text formatting, adjust table header
      mysql-test-run.pl:
        Remove requirement for source tree to run embedded server test
      mysqldump.test:
        Removed ending ';' from --exec line
      
      
      mysql-test/t/mysqldump.test:
        Removed ending ';' from --exec line
      mysql-test/mysql-test-run.pl:
        Remove requirement for source tree to run embedded server test
      mysql-test/lib/mtr_report.pl:
        Text formatting, adjust table header
      3dd066e8
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · 7b8a6e45
      unknown authored
      into  mysql.com:/home/mydev/mysql-4.1-4100
      
      
      7b8a6e45
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.0 · f03bc6c5
      unknown authored
      into  mysql.com:/home/mydev/mysql-4.0-4000
      
      
      f03bc6c5
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.0 into mysql.com:/space/my/mysql-4.1 · 7af7e616
      unknown authored
      
      support-files/mysql.spec.sh:
        Auto merged
      7af7e616
    • unknown's avatar
      - fixed the removing of the RPM_BUILD_ROOT in the %clean section of the RPM · a44907e7
      unknown authored
         spec file (the $RBR variable did not get expanded, thus leaving old build
         roots behind)
      
      
      support-files/mysql.spec.sh:
         - fixed the removing of the RPM_BUILD_ROOT in the %clean section (the
           $RBR variable did not get expanded, thus leaving old build roots behind)
      a44907e7
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.0-4000 · 48838170
      unknown authored
      into  mysql.com:/home/mydev/mysql-4.1-4100
      
      
      mysql-test/t/merge.test:
        Auto merged
      mysql-test/r/merge.result:
        SCCS merged
      48838170
    • unknown's avatar
      Bug#9112 - Merge table with composite index producing invalid results with some queries · a671075d
      unknown authored
      Second platform fix for floating point rounding.
      
      
      a671075d
    • unknown's avatar
      Fix for bug #7977 in sql_mode=ANSI, show create table ignores auto_increment · f3ad7320
      unknown authored
        "CHARACTER SET", "COLLATE", and "DEFAULT" are always
        printed(excepting MODE_MYSQL323 and MODE_MYSQL40)
        "AUTO_INCREMENT", "ON UPDATE CURRENT_TIMESTAMP" are printed only 
        if NO_FIELD_OPTIONS is not set.
      
      
      mysql-test/r/sql_mode.result:
        Fix for bug #7977 in sql_mode=ANSI, show create table ignores auto_increment
          test case
      mysql-test/t/sql_mode.test:
        Fix for bug #7977 in sql_mode=ANSI, show create table ignores auto_increment
          test case
      f3ad7320
    • unknown's avatar
      Add -ansi flag when building with gcc · 9a8482f6
      unknown authored
      
      BUILD/SETUP.sh:
        Add -ansi flag, make gcc not allow "C++ comments in C"
      9a8482f6
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · 25a4a395
      unknown authored
      into  mysql.com:/home/mydev/mysql-4.1-4100
      
      
      25a4a395
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/4.1/mgmd · 80b98425
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/4.1/main
      
      
      80b98425
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/4.1/wl2779 · cf7d6534
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/4.1/main
      
      
      cf7d6534
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/4.1/main · e77095bc
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/4.1/mgmd
      
      
      e77095bc
    • unknown's avatar
      Merge ssmith@bk-internal.mysql.com:/home/bk/mysql-4.1 · 66aef256
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/4.1/main
      
      
      66aef256
    • unknown's avatar
      Many files: · 72340d67
      unknown authored
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      my_regex.h:
        Rename: regex/regex.h -> regex/my_regex.h
      
      
      client/mysqltest.c:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      os2/MySQL-Source.icc:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/Makefile.am:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/debug.c:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/debug.ih:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/engine.c:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/engine.ih:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/main.c:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/main.ih:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/regcomp.c:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/regerror.c:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/regerror.ih:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/my_regex.h:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/regexec.c:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/regfree.c:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      regex/reginit.c:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      sql/item_cmpfunc.cc:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      sql/item_cmpfunc.h:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      sql/mysqld.cc:
        Prefix regex functions/types with "my_" as our
        library is not compatible with normal regex lib.
      72340d67
  8. 28 Sep, 2005 7 commits