1. 11 Sep, 2003 1 commit
    • unknown's avatar
      * Fix for BUG#1248: "LOAD DATA FROM MASTER drops the slave's db unexpectedly". · 44481832
      unknown authored
      Now LOAD DATA FROM MASTER does not drop the database, instead it only tries to
      create it, and drops/creates table-by-table.
      * replicate_wild_ignore_table='db1.%' is now considered as "ignore the 'db1'
      database as a whole", as it already works for CREATE DATABASE and DROP DATABASE.
      
      
      mysql-test/r/rpl000009.result:
        result update
      mysql-test/t/rpl000009.test:
        test that LOAD DATA FROM MASTER does not drop databases,
        but rather table by table, thus preserving non-replicated tables.
        Test that LOAD DATA FROM MASTER reports the error when a table could not
        be dropped (system's "permission denied" for example).
        Test that LOAD TABLE FROM MASTER reports the error when the table already exists.
      sql/repl_failsafe.cc:
        * replicate_wild_ignore_table='db1.%' is now considered as "ignore the 'db1'
        database as a whole", as it already works for CREATE DATABASE and DROP DATABASE.
        * If a db matches replicate_*_db rules, we don't drop/recreate it because this
        could drop some tables in this db which could be slave-specific. Instead,
        we do a CREATE DATABASE IF EXISTS, and we will drop each table which has
        an equivalent on the master, table-by-table.
      sql/slave.cc:
        New argument to drop the table in create_table_from_dump() 
        (LOAD TABLE/DATA FROM MASTER are the only places where this function is used).
        This is needed because LOAD DATA FROM MASTER does not drop the database anymore.
        The behaviour when the table exists is unchanged: LOAD DATA silently replaces
        the table, LOAD TABLE gives error.
      sql/slave.h:
        new argument to drop the table in fetch_master_table
      sql/sql_parse.cc:
        do not drop the table in LOAD TABLE FROM MASTER (this behaviour is already
        true; but changes in LOAD DATA FROM MASTER made the argument needed).
      44481832
  2. 09 Sep, 2003 1 commit
    • unknown's avatar
      Cleaned up last bug fixes · c094fcae
      unknown authored
      Fix bug in SHOW GRANTS when there is a column privilege but no table privilege
      
      
      include/mysql.h:
        Make server_inited external
      libmysqld/libmysqld.c:
        Remove reference to (wrong) external variable
      mysql-test/r/grant.result:
        Fixed up grant test to not user 'user1' or 'user2'
        Check for bug in SHOW GRANTS when there is a column privilege but no table privilege
      mysql-test/r/mix_innodb_myisam_binlog.result:
        Change to use tables t1 and t2
      mysql-test/t/grant.test:
        Fixed up grant test to not user 'user1' or 'user2'
        Check for bug in SHOW GRANTS when there is a column privilege but no table privilege
      mysql-test/t/mix_innodb_myisam_binlog.test:
        Change to use tables t1 and t2
      sql/sql_acl.cc:
        Fix bug in SHOW GRANTS when there is a column privilege but no table privilege
      sql/sql_parse.cc:
        Use HAVE_REPLICATION instead of EMBEDDED_LIBRARY
      c094fcae
  3. 08 Sep, 2003 7 commits
  4. 06 Sep, 2003 2 commits
  5. 05 Sep, 2003 7 commits
  6. 04 Sep, 2003 2 commits
  7. 03 Sep, 2003 5 commits
  8. 02 Sep, 2003 6 commits
  9. 01 Sep, 2003 3 commits
  10. 29 Aug, 2003 4 commits
    • unknown's avatar
      - Fixed BUG 1162 (removed macro names from the changelog) · 84cf3a5e
      unknown authored
       - Really fixed BUG 998 (disable the checking for installed but
         unpackaged files)
      
      84cf3a5e
    • unknown's avatar
      removed stale comment · 2a00d7db
      unknown authored
      13:58 <monty> konstantin: the comment is missplaced (probably after merge).
                You can remove it
      
      
      sql/sql_parse.cc:
        removed stale comment
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      2a00d7db
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · c1d4c15a
      unknown authored
      into narttu.mysql.fi:/my/mysql-4.0
      
      c1d4c15a
    • unknown's avatar
      Revert change of lower-case-table handling as this breaks how alias works. · acc42602
      unknown authored
      Changes like this should be done to 4.1, not to a stable release
      
      
      mysql-test/r/lowercase_table.result:
        Revert change of lower-case-table handling
      mysql-test/t/lowercase_table.test:
        Revert change of lower-case-table handling
      sql/sql_class.cc:
        Revert change of lower-case-table handling
      sql/sql_class.h:
        Revert change of lower-case-table handling
      sql/sql_parse.cc:
        Revert change of lower-case-table handling
      sql/sql_table.cc:
        Revert change of lower-case-table handling
      sql/sql_yacc.yy:
        Revert change of lower-case-table handling
      acc42602
  11. 28 Aug, 2003 2 commits