1. 26 Jul, 2003 1 commit
    • unknown's avatar
      Make rpl_insert_id.test use InnoDB, and added foreign keys to the table, · f3a847ec
      unknown authored
      so that it really tests replication of SET FOREIGN_KEY_CHECKS (previously
      it used MyISAM).
      
      
      mysql-test/r/rpl_insert_id.result:
        result update
      mysql-test/t/rpl_insert_id.test:
        Make test use InnoDB, and added foreign keys to the table, so that it really tests 
        replication of FOREIGN_KEY_CHECKS.
        --disable_warnings because 4.1 prints a warning when the table type
        is not available.
      f3a847ec
  2. 24 Jul, 2003 4 commits
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 6ccd8cfa
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      6ccd8cfa
    • unknown's avatar
      Fix for BUG#858 "CHANGE MASTER forgets to update relay-log.info"; · 14d9a2e5
      unknown authored
      just a flush_relay_log_info() at the end of CHANGE MASTER
      (there was already flush_master_info()).
      
      
      sql/sql_repl.cc:
        Comments.
        Flush relay-log.info after CHANGE MASTER, or the changes
        to the relay log parameters (relay log name and position, and
        the corresponding master's binlog name and position) will be
        lost if the slave mysqld is shutdown immediately after the 
        CHANGE MASTER (without the slave threads being started).
      14d9a2e5
    • unknown's avatar
      WL#1036 (print the db in slave error messages). · ab34adf6
      unknown authored
      I extended the task to cleaning error messages, making them look nicer,
      and making the output of SHOW SLAVE STATUS (column Last_error) be as complete
      as what's printed on the .err file;
      previously we would have, for a failure of a replicated LOAD DATA INFILE:
      - in the .err, 2 lines:
      "duplicate entry 2708 for key 1"
      "failed loading SQL_LOAD-5-2-2.info"
      - and in SHOW SLAVE STATUS, only:
      "failed loading SQL_LOAD-5-2-2.info".
      Now SHOW SLAVE STATUS will contain the concatenation of the 2 messages.
      
      
      sql/log_event.cc:
        Print the default database when replication stops because of an error. Previously, we had:
        "error "Duplicate entry 87987 for key 1", query 'insert into t values(87987)'", ie the db
        was not mentioned, making it hard for cases where the same table name is used in
        several databases.
        Lengthened some error messages (for failing replication of LOAD DATA: mention the table
        and the db).
        Changes so that SHOW SLAVE STATUS reports as complete errors as the .err file.
      sql/slave.cc:
        Removed a useless declaration (the rewrite_db() function is already declared in slave.h).
        Added missing ')' in error messages.
        Tried to make error messages look nicer (previously we had
        "do START SLAVE;, error_code=1062"
        now we'll have
        "do START SLAVE; . Error_code=1062".
        This form has been discussed, I agree it's no panacea, but it's still more readable
        like this. To be improved in the future :)
      sql/slave.h:
        declarations.
      ab34adf6
    • unknown's avatar
      c67f50f3
  3. 23 Jul, 2003 1 commit
  4. 22 Jul, 2003 6 commits
  5. 21 Jul, 2003 3 commits
  6. 19 Jul, 2003 2 commits
  7. 18 Jul, 2003 7 commits
  8. 17 Jul, 2003 1 commit
  9. 16 Jul, 2003 5 commits
  10. 15 Jul, 2003 4 commits
  11. 14 Jul, 2003 6 commits
    • unknown's avatar
      merge · c36c37c3
      unknown authored
      
      mysql-test/r/rpl_max_relay_size.result:
        Auto merged
      c36c37c3
    • unknown's avatar
      Fixed wrong test in LOG::close · e97b2766
      unknown authored
      Fixed test for binary build
      
      
      mysql-test/r/rpl_max_relay_size.result:
        Fixed test for binary build
      mysql-test/t/rpl_max_relay_size.test:
        Fixed test for binary build
      sql/log.cc:
        Fixed wrong test in close
      e97b2766
    • unknown's avatar
      Added missing --replace_result for ports in SHOW SLAVE STATUS. · 45db29db
      unknown authored
      
      mysql-test/r/rpl_max_relay_size.result:
        result update
      mysql-test/t/rpl_max_relay_size.test:
        port-independent test
      45db29db
    • unknown's avatar
      errmsg.txt: · aa70f482
      unknown authored
        Correct a misleading error message about max row length
      
      
      sql/share/english/errmsg.txt:
        Correct a misleading error message about max row length
      aa70f482
    • unknown's avatar
      ha_innodb.h: · 66672ad1
      unknown authored
        Revert the previous patch: MySQL would not allow creation of VARCHAR columns whose total max length is > 8000 bytes, though InnoDB can easily store them as trailing spaces are removed
      
      
      sql/ha_innodb.h:
        Revert the previous patch: MySQL would not allow creation of VARCHAR columns whose total max length is > 8000 bytes, though InnoDB can easily store them as trailing spaces are removed
      66672ad1
    • unknown's avatar
      ha_innodb.h: · 666d4717
      unknown authored
        Fix wrong error message: If one tried to create table with a very big row len, MySQL claimed the max len is 64 kB for InnoDB, while it normally is 8000 bytes
      
      
      sql/ha_innodb.h:
        Fix wrong error message: If one tried to create table with a very big row len, MySQL claimed the max len is 64 kB for InnoDB, while it normally is 8000 bytes
      666d4717