1. 04 Dec, 2003 1 commit
    • unknown's avatar
      Fix for BUG#2011 "rare race condition producing "binlog has bad magic number" error in slave". · a1dc50d2
      unknown authored
      The problem was that when the slave SQL thread reads a hot relay log (hot = the one being written to by the
      slave I/O thread), it must have the LOCK_log. It already took it for read_log_event(), but needs
      it also for check_binlog_magic().
      This should fix all recently reported failures of the rpl_max_relay_size test in 4.1 and 5.0
      (though the bug exists since 4.0, it showed up first in 5.0).
      
      
      sql/slave.cc:
        Fix for BUG#2011 "rare race condition producing "binlog has bad magic number" error in slave".
        The problem was that when the slave SQL thread reads a hot relay log (hot = the one being written to by the
        slave I/O thread), it must have the LOCK_log. It already took it for read_log_event(), but needs
        it also for check_binlog_magic().
      a1dc50d2
  2. 02 Dec, 2003 6 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 077d1dac
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      077d1dac
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.0 · a663bea8
      unknown authored
      into mysql.com:/home/psergey/mysql-4.0
      
      a663bea8
    • unknown's avatar
      Fix for bug #1980 · 568ace4f
      unknown authored
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      568ace4f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 2986c23b
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.0-tsbg
      
      2986c23b
    • unknown's avatar
      Fix for Bug #1448 "Date parsing fails, and fails to complain · 995538eb
      unknown authored
      about it". Now numbers representing illegal timestamps are 
      converted to 0 value if they are stored as timestamp or 
      datetime. This behaviour is consistent with manual and with 
      behaviour of string -> timestamp conversion.
      
      
      mysql-test/r/type_datetime.result:
        Added test if ranges are checked during 
        integer, string -> timestamp conversion
      mysql-test/r/type_timestamp.result:
        Added test if ranges are checked during 
        integer, string -> datetime conversion
      mysql-test/t/type_datetime.test:
        Added test if ranges are checked during 
        integer, string -> datetime conversion
      mysql-test/t/type_timestamp.test:
        Added test if ranges are checked during 
        integer, string -> timestamp conversion
      sql/field.cc:
        Checks of month, day, hour, minute and second ranges were added
        to storing of integer into Field_datetime and Field_timestamp
        and so for integer -> datetime, timestamp conversion.
      995538eb
    • unknown's avatar
      There is no reason that Intvar_log_event's constructor calls Log_event::Log_event() · 3bd8ffc7
      unknown authored
      instead of Log_event::Log_event(THD*, ...) when the event is built in the master
      to be written in the binlog.
      Rand_log_event already used the good constructor, so there really is no reason
      for Intvar_log_event to be an exception.
      This fixes a test failure of last night (which appeared after I removed a useless
      e.server_id=thd->server_id in log.cc; in fact this line was not useless because
      it hid the bad constructor).
      Replication tests pass, with Valgrind too.
      
      
      sql/log_event.h:
        There is no reason that Intvar_log_event's constructor calls Log_event::Log_event()
        instead of Log_event::Log_event(THD*, ...) when the event is built in the master
        to be written in the binlog.
        Rand_log_event already used the good constructor, so there really is no reason
        for Intvar_log_event to be an exception.
        This fixes a test failure of last night (which appeared after I removed a useless
        e.server_id=thd->server_id in log.cc; in fact this line was not useless because
        it hid the bad constructor).
      3bd8ffc7
  3. 01 Dec, 2003 2 commits
  4. 28 Nov, 2003 7 commits
  5. 27 Nov, 2003 3 commits
  6. 26 Nov, 2003 2 commits
  7. 25 Nov, 2003 3 commits
  8. 24 Nov, 2003 3 commits
    • unknown's avatar
      - Rephrased two option help texts to not start with "use the ..." as this · 4ca9c493
      unknown authored
         confuses RPM's Perl module dependency checking (it adds a bogus
         requirement to "Perl(the)", as "use" is a Perl keyword). (BUG#1931)
      
      
      scripts/mysqlaccess.sh:
         - Rephrased option help text so it does not start with "use" as this 
           confuses RPM's Perl module dependency checking (it adds a bogus
           requirement to "Perl(the)", as "use" is a Perl keyword). (BUG#1931)
      sql-bench/bench-init.pl.sh:
         - Rephrased option help text so it does not start with "use" as this 
           confuses RPM's Perl module dependency checking (it adds a bogus
           requirement to "Perl(the)", as "use" is a Perl keyword). (BUG#1931)
      4ca9c493
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.0 · 7427698e
      unknown authored
      into mysql.com:/space/my/mysql-4.0-build
      
      7427698e
    • unknown's avatar
      Fixed Bug#1907, option of type GET_BOOL with arg type OPT_ARG · 5c30ea7c
      unknown authored
      did not call get_one_option().
      
      5c30ea7c
  9. 23 Nov, 2003 1 commit
  10. 21 Nov, 2003 1 commit
  11. 20 Nov, 2003 6 commits
  12. 19 Nov, 2003 3 commits
  13. 18 Nov, 2003 2 commits