1. 16 Jun, 2003 1 commit
    • unknown's avatar
      Do not use 'created' for time anymore in Start_log_event, it's the same · 418fcdf1
      unknown authored
      as the already-stored timestamp. Now 'created' is used only to know if
      this is a first binlog or not. And we may re-use the superfluous bytes
      in 5.0 when we need room.
      
      
      sql/log_event.cc:
        This sort of reverts a change I made in 3.23.57. In 3.23.57 I set 'created' to 0
        if this was a non-first binlog, so I made mysqlbinlog not print the "created xx"
        part if created == 0. While this was sensible, as 'created' is 0 or equal to
        the timestamp which is already stored in the event, we can always print
        "created xx" by using the timestamp, and leaving the use of 'created' only to
        know if this is a first binlog or not (which we print as "created at startup").
      sql/log_event.h:
        In Start_log_event, 'created' is always the same as 'when', or O.
        We didn't need 4 bytes for this, a bit would have been enough (O or
        "same as 'when'"). Possibly in 5.0 we will re-use the useless bytes.
      418fcdf1
  2. 06 Jun, 2003 2 commits
    • unknown's avatar
      In Start_log_event::print, don't print "created 1970 etc" if created == 0. · 07d6a199
      unknown authored
      Otherwise, we'll get questions from users about this curious 1970.
      
      
      07d6a199
    • unknown's avatar
      -- already approved; it would be nice if it goes into 3.23.57 -- · 98f57fbe
      unknown authored
      Fix for bug 254 : the first Start_log_event after server startup will
      have created=now(), whereas the next ones (FLUSH LOGS, auto rotation)
      will have created=0. Before this, it was always now().
      This way, slaves >=4.0.14 will know when they must
      drop stale temp tables or not. The next task is now modify 4.0.14 to
      implement this.
      
      
      sql/log.cc:
        Fix for bug 254 : the first Start_log_event after server startup will
        have created=now(), whereas the next ones (FLUSH LOGS, auto rotation)
        will have created=0. Before this, it was always now().
        This way, slaves >=4.0.14 will know when they must
        drop stale temp tables or not.
      sql/log_event.h:
        An explanation.
      sql/sql_class.h:
        Prototype change (see log.cc).
      98f57fbe
  3. 05 Jun, 2003 2 commits
  4. 31 May, 2003 2 commits
  5. 28 May, 2003 1 commit
    • unknown's avatar
      srv0srv.c: · 936a8aec
      unknown authored
        Prevent the InnoDB main thread from hogging CPU if a table lingers in the background drop queue (though it is essentially a bug if a table end up there at all)
      
      
      innobase/srv/srv0srv.c:
        Prevent the InnoDB main thread from hogging CPU if a table lingers in the background drop queue (though it is essentially a bug if a table end up there at all)
      936a8aec
  6. 27 May, 2003 1 commit
  7. 26 May, 2003 6 commits
  8. 23 May, 2003 1 commit
  9. 21 May, 2003 2 commits
  10. 14 May, 2003 4 commits
  11. 07 May, 2003 2 commits
  12. 29 Apr, 2003 3 commits
  13. 28 Apr, 2003 1 commit
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-3.23/ · 7c04ced1
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql
      
      
      client/mysqldump.c:
        Auto merged
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      7c04ced1
  14. 26 Apr, 2003 1 commit
  15. 23 Apr, 2003 1 commit
  16. 22 Apr, 2003 1 commit
    • unknown's avatar
      Fixed problem with timestamps in binary log on 64 bit machines · 963d57a3
      unknown authored
      Backported fix from 4.1 for bug 212: SELECT query containing a NATURAL JOIN and parentheses in the WHERE clause
      
      
      mysql-test/r/join.result:
        New test results
      mysql-test/t/join.test:
        Test for bug 212
      sql/log_event.cc:
        Removed wrong cast
      sql/log_event.h:
        Fixed problem with timestamps in binary log on 64 bit machines
      sql/sql_list.h:
        Fix for bug 212 (back ported from 4.1)
      963d57a3
  17. 14 Apr, 2003 1 commit
  18. 07 Apr, 2003 2 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-3.23 · a312e137
      unknown authored
      into mashka.mysql.fi:/home/my/mysql-3.23
      
      
      sql/slave.cc:
        Auto merged
      a312e137
    • unknown's avatar
      Changed innobase_flush_log_at_trx_commit to be 1 as default · da68e3d6
      unknown authored
      Fixed problem with not freed thr_alarm() on slave connect
      
      
      mysql-test/t/rpl_alter.test:
        Changed name of created test database
      sql/ha_innobase.cc:
        Changed innobase_flush_log_at_trx_commit to be 1 as default
      sql/mini_client.cc:
        Fixed problem with not freed thr_alarm()
      sql/mysqld.cc:
        Allocate some extra thr_alarm slots just to be safe
      sql/slave.cc:
        Simple code cleanup
      da68e3d6
  19. 04 Apr, 2003 1 commit
    • unknown's avatar
      fux bug #183 · 654d1026
      unknown authored
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      654d1026
  20. 03 Apr, 2003 2 commits
  21. 01 Apr, 2003 1 commit
    • unknown's avatar
      Small-and-safe fix for bug #218: "LOAD DATA INFILE IGNORE is well · 241b6c05
      unknown authored
      logged, but read as LOAD DATA INFILE REPLACE"
      This was just bad && instead of &, but nasty consequences.
      This should be merged to 4.0 BUT it will not be automatic (some code
      has moved from log_event.h to log_event.cc, and log_event.cc has changed);
      please Merging Man, do 'bk grep REPLACE_FLAG' in 4.0/sql
      to find all the new places.
      
      
      sql/log_event.cc:
        & instead of && when testing flags
      sql/slave.cc:
        & instead of && when testing flags
      241b6c05
  22. 25 Mar, 2003 1 commit
  23. 24 Mar, 2003 1 commit