1. 08 Mar, 2004 1 commit
    • unknown's avatar
      Fix for BUG#3081 "if an INSERT DELAYED is killed, it is binlogged as killed but it's not needed". · d44d6976
      unknown authored
      INSERT DELAYED works only for one-row inserts (in latest 4.0 versions
      at least). So killing a delayed_insert thread does not spoil replication:
      the rows which actually went into the table are exactly those listed
      in the binlog. So when the delayed_insert thread is killed, don't log
      it as 'killed', because it causes superfluous stops on the slave.
      
      
      sql/log_event.cc:
        INSERT DELAYED works only for one-row inserts (in latest 4.0 versions
        at least). So killing a delayed_insert thread does not spoil replication:
        the rows which actually went into the table are exactly those listed
        in the binlog. So when the delayed_insert thread is killed, don't log
        it as 'killed', because it causes superfluous stops on the slave.
      d44d6976
  2. 04 Mar, 2004 6 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · eadfe4dd
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      eadfe4dd
    • unknown's avatar
      Fix for BUG#3063 "Don't mark an auto DROP TEMP TABLE as 'killed' in the binlog"; · c1f9f3b6
      unknown authored
      even if the thread was killed, we write the DROP with error_code=0.
      This will remove unneeded stops on slave, and will lose nothing:
      if a real update was killed, this real update will be logged with the
      nonzero error code and will cause the stop on slave.
      
      
      c1f9f3b6
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · 53368efe
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      
      53368efe
    • unknown's avatar
      drop tables in windows-compatible order · 4924f276
      unknown authored
      4924f276
    • unknown's avatar
      srv0srv.c: · b6051940
      unknown authored
        Protect the reading of the latest foreign key error explantion buffer with a mutex; in theory, a race condition could cause SHOW INNODB STATUS print garbage characters after the error info; remove the sprintf of the latest UNIQUE KEY error, since the buffer really was always empty
      
      
      innobase/srv/srv0srv.c:
        Protect the reading of the latest foreign key error explantion buffer with a mutex; in theory, a race condition could cause SHOW INNODB STATUS print garbage characters after the error info; remove the sprintf of the latest UNIQUE KEY error, since the buffer really was always empty
      b6051940
    • unknown's avatar
      Indented comment properly · 58d7de6e
      unknown authored
      58d7de6e
  3. 02 Mar, 2004 1 commit
  4. 01 Mar, 2004 3 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 15d8e9d0
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      15d8e9d0
    • unknown's avatar
      Fix for BUG#3015 · 12ede13a
      unknown authored
      "(binlog, position) stored by InnoDB for a replication slave can be wrong".
      This code contains conditional #if to distinguish between versions;
      it should be merged into 4.1 and 5.0.
      
      
      sql/ha_innodb.cc:
        correcting the binlog position stored in InnoDB in a slave.
      sql/log_event.cc:
        better code to store the binlog position in InnoDB for a slave.
      sql/slave.h:
        Better code for storing the binlog position in InnoDB for a slave.
      12ede13a
    • unknown's avatar
      Merge ubayer@bk-internal.mysql.com:/home/bk/mysql-4.0 · 1c44237c
      unknown authored
      into morbus.(none):/home/ulli/work/mysql-4.0
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      1c44237c
  5. 29 Feb, 2004 1 commit
    • unknown's avatar
      Fix for BUG#3017 · bf53c870
      unknown authored
      "wrong Relay_Log_Pos if Rotate is in the middle of a transaction in relay log"
      increment 'pending' instead of 'relay_log_pos'.
      
      
      mysql-test/r/rpl_trunc_binlog.result:
        result update
      sql/log_event.cc:
        - corrected error message
        - in Rotate_log_event::exec_event(), if we're in a transaction (which
        can happen if the I/O slave thread reconnected while reading a
        transaction), don't increment relay_log_pos but pending instead.
        Otherwise, relay_log_pos becomes garbage (and so if slave stops at that
        moment, it will never restart).
      bf53c870
  6. 28 Feb, 2004 1 commit
  7. 27 Feb, 2004 2 commits
    • unknown's avatar
      Changes to fix errors encountered in test builds on Windows. · 588b8b93
      unknown authored
      
      VC++Files/innobase/innobase.dsp:
        odbc0odbc.c was removed from the tree.
      VC++Files/libmysql/libmysql.dsp:
        strxnmov.c is needed in this module.
      sql/log_event.cc:
        Cast required to resolve compile error on Windows - byte * is 
        not equivalent to char *.
      sql/opt_range.cc:
        Cast to const char * required to resolve compile error on Windows.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      588b8b93
    • unknown's avatar
      row0upd.c: · d32e12b2
      unknown authored
        Fix bug: in a FOREIGN KEY, ON UPDATE CASCADE was not triggered if the update changed a string to another value identical in alphabetical ordering, e.g., abc -> aBc
      
      
      innobase/row/row0upd.c:
        Fix bug: in a FOREIGN KEY, ON UPDATE CASCADE was not triggered if the update changed a string to another value identical in alphabetical ordering, e.g., abc -> aBc
      d32e12b2
  8. 26 Feb, 2004 2 commits
    • unknown's avatar
      fix for bug #2905 - · cae2503b
      unknown authored
      "mysqladmin.c & co fail to use MYSQL_PORT as the default value of the TCP/IP port"
      
      
      client/mysqladmin.c:
        changed the value after REQUIRED_ARG from 0 to MYSQL_PORT
      client/mysqltest.c:
        changed the value after REQUIRED_ARG from 0 to MYSQL_PORT
      client/thread_test.c:
        changed the value after REQUIRED_ARG from 0 to MYSQL_PORT
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      cae2503b
    • unknown's avatar
  9. 25 Feb, 2004 2 commits
  10. 24 Feb, 2004 5 commits
  11. 23 Feb, 2004 3 commits
  12. 22 Feb, 2004 5 commits
  13. 21 Feb, 2004 8 commits