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; · 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
  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: · 70cb4cf6
      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
      70cb4cf6
  6. 30 Sep, 2005 9 commits
  7. 29 Sep, 2005 15 commits
    • unknown's avatar
      mtr_report.pl: · 30a2520b
      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
      30a2520b
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · 942fda2e
      unknown authored
      into  mysql.com:/home/mydev/mysql-4.1-4100
      
      942fda2e
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.0 · 8580c5b0
      unknown authored
      into  mysql.com:/home/mydev/mysql-4.0-4000
      
      8580c5b0
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.0 into mysql.com:/space/my/mysql-4.1 · a54cb406
      unknown authored
      
      support-files/mysql.spec.sh:
        Auto merged
      a54cb406
    • unknown's avatar
      - fixed the removing of the RPM_BUILD_ROOT in the %clean section of the RPM · 7ce8ca13
      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)
      7ce8ca13
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.0-4000 · 84f0f689
      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
      84f0f689
    • unknown's avatar
      Bug#9112 - Merge table with composite index producing invalid results with some queries · 85d12bd6
      unknown authored
      Second platform fix for floating point rounding.
      
      85d12bd6
    • unknown's avatar
      Fix for bug #7977 in sql_mode=ANSI, show create table ignores auto_increment · b86d3d0a
      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
      b86d3d0a
    • unknown's avatar
      Add -ansi flag when building with gcc · ae7bb6e4
      unknown authored
      
      BUILD/SETUP.sh:
        Add -ansi flag, make gcc not allow "C++ comments in C"
      ae7bb6e4
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · 55fa8667
      unknown authored
      into  mysql.com:/home/mydev/mysql-4.1-4100
      
      55fa8667
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/4.1/mgmd · a89b438b
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/4.1/main
      
      a89b438b
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/4.1/wl2779 · 98bc7ca6
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/4.1/main
      
      98bc7ca6
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/4.1/main · fb86fcbc
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/4.1/mgmd
      
      fb86fcbc
    • unknown's avatar
      Merge ssmith@bk-internal.mysql.com:/home/bk/mysql-4.1 · d478ea87
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/4.1/main
      
      d478ea87
    • unknown's avatar
      Many files: · db0ebd74
      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.
      db0ebd74
  8. 28 Sep, 2005 7 commits