1. 07 Apr, 2005 1 commit
    • unknown's avatar
      InnoDB: Prevent ALTER TABLE ... ENGINE=... · 8579d3cd
      unknown authored
      if there are foreign key constraints on the table. (Bug #5574)
      
      
      sql/ha_innodb.cc:
        Add method can_switch_engines()
      sql/ha_innodb.h:
        Add method can_switch_engines()
      sql/handler.h:
        Add method can_switch_engines()
      sql/sql_table.cc:
        Check handler::can_switch_engines() before switching storage engines
      8579d3cd
  2. 06 Apr, 2005 11 commits
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.0-clean · f9045b5e
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      
      client/mysqlcheck.c:
        Auto merged
      mysys/my_rename.c:
        Auto merged
      f9045b5e
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-4.0-9492 · 2422eb73
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.0-clean
      
      2422eb73
    • unknown's avatar
      InnoDB: Avoid test suite failures caused by a locking conflict · 2386a58a
      unknown authored
      between two server instances at server shutdown/startup.
      This conflict on advisory locks appears to be the result of a bug
      in the operating system; these locks should be released when the
      files are closed, but somehow that does not always happen
      immediately in Linux.  (Bug #9381)
      
      
      innobase/include/os0file.h:
        Add OS_FILE_OPEN_RETRY for os_file_create()ing ibdata1
      innobase/os/os0file.c:
        os_file_lock(): Do not close the file on failure, but let the
        callers do that.
        os_file_create(): If create_mode==OS_FILE_OPEN_RETRY and
        os_file_lock() fails, keep retrying for 100 seconds.
      innobase/srv/srv0start.c:
        open_or_create_data_files(): Open the first data file with
        OS_FILE_OPEN_RETRY, to resolve a conflict with a shutting-down
        instance of the MySQL server.
      2386a58a
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · 59e7f09b
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1
      
      59e7f09b
    • unknown's avatar
      Makefile.am: · 1117f47a
      unknown authored
        Include the Perl version of mysql-test-run
      rpl_rewrite_db.test, rpl_rewrite_db.result:
        Added missing database cleanup
      mysql-test-run.pl:
        Embedded result files no longer needed
      
      
      mysql-test/mysql-test-run.pl:
        Embedded result files no longer needed
      mysql-test/r/rpl_rewrite_db.result:
        Added missing database cleanup
      mysql-test/t/rpl_rewrite_db.test:
        Added missing database cleanup
      mysql-test/Makefile.am:
        Include the Perl version of mysql-test-run
      1117f47a
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 5a98bded
      unknown authored
      into mysql.com:/home/gluh/MySQL/Bugs/mysql-4.1.9286
      
      5a98bded
    • unknown's avatar
      Minor clean-ups for the previous commit. · 1d93d472
      unknown authored
      
      sql/field.cc:
        Use a separate variable. Otherwise "error" value gets lost
        after well_formed_length call.
      strings/ctype-mb.c:
        Don't return an error if we reached end of line.
      1d93d472
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 598c78af
      unknown authored
      into mysql.com:/home/gluh/MySQL/Bugs/mysql-4.1.9286
      
      
      sql/sql_yacc.yy:
        Auto merged
      598c78af
    • unknown's avatar
      Fix for bug #9286: SESSION/GLOBAL should be disallowed for user variables · dd9757ec
      unknown authored
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      dd9757ec
    • unknown's avatar
      row0sel.c, btr0pcur.c, btr0pcur.ic, btr0pcur.h: · 9912b823
      unknown authored
        Add diagnostic code to track assertion failure in ut_a(cursor->old_stored == BTR_PCUR_OLD_STORED); the failure happened in OPTIMIZE TABLE, and in 4.0.24 in some other context
      
      
      innobase/include/btr0pcur.h:
        Add diagnostic code to track assertion failure in ut_a(cursor->old_stored == BTR_PCUR_OLD_STORED); the failure happened in OPTIMIZE TABLE, and in 4.0.24 in some other context
      innobase/include/btr0pcur.ic:
        Add diagnostic code to track assertion failure in ut_a(cursor->old_stored == BTR_PCUR_OLD_STORED); the failure happened in OPTIMIZE TABLE, and in 4.0.24 in some other context
      innobase/btr/btr0pcur.c:
        Add diagnostic code to track assertion failure in ut_a(cursor->old_stored == BTR_PCUR_OLD_STORED); the failure happened in OPTIMIZE TABLE, and in 4.0.24 in some other context
      innobase/row/row0sel.c:
        Add diagnostic code to track assertion failure in ut_a(cursor->old_stored == BTR_PCUR_OLD_STORED); the failure happened in OPTIMIZE TABLE, and in 4.0.24 in some other context
      9912b823
    • unknown's avatar
      Adding a new parameter for well_formed_length to · d471b069
      unknown authored
      return error. We'll use it for better warnign reporting.
      
      d471b069
  3. 05 Apr, 2005 12 commits
  4. 04 Apr, 2005 6 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · 77817bce
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      77817bce
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1 · 81f6acfa
      unknown authored
      into mysql.com:/M41/mysql-4.1
      
      
      sql/share/english/errmsg.txt:
        Auto merged
      81f6acfa
    • unknown's avatar
      ha_innodb.cc: · 120a04e0
      unknown authored
        Correct the fix of Bug #9526 : InnoDB must use its own internal type info for old tables, so that old ENUMs and SETs still are (incorrectly) seen as char strings; we do not dare to allow InnoDB sometimes to see the type as an integer type for those old tables
      
      
      sql/ha_innodb.cc:
        Correct the fix of Bug #9526 : InnoDB must use its own internal type info for old tables, so that old ENUMs and SETs still are (incorrectly) seen as char strings; we do not dare to allow InnoDB sometimes to see the type as an integer type for those old tables
      120a04e0
    • unknown's avatar
      ha_innodb.cc: · 9c875883
      unknown authored
        Fix bug #9526 in InnoDB: the internal type of an ENUM or SET is an unsigned integer type, not a character string
      
      
      sql/ha_innodb.cc:
        Fix bug #9526 in InnoDB: the internal type of an ENUM or SET is an unsigned integer type, not a character string
      9c875883
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1 · d73a1c23
      unknown authored
      into mysql.com:/home/jimw/my/mysql-4.1-clean
      
      d73a1c23
    • unknown's avatar
      ctype_uca.result: · dd44998b
      unknown authored
        fixing test results accordingly.
      ctype-uca.c:
        It appeared that in traditional Spanish collation
        'RR' is not equal to 'R', as Unicode and Mimer state.
        We'll go Oracle and IBM way instead:
        No special rules to 'RR'.
      
      
      strings/ctype-uca.c:
        It appeared that in traditional Spanish collation
        'RR' is not equal to 'R', as Unicode and Mimer state.
        We'll go Oracle and IBM way instead:
        No special rules to 'RR'.
      mysql-test/r/ctype_uca.result:
        fixing test results accordingly.
      dd44998b
  5. 03 Apr, 2005 2 commits
  6. 02 Apr, 2005 7 commits
    • unknown's avatar
      Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ · dc0b577f
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      dc0b577f
    • unknown's avatar
      results updated · b2ec82bb
      unknown authored
      b2ec82bb
    • unknown's avatar
      merged · 4aad34b1
      unknown authored
      
      mysql-test/r/drop.result:
        Auto merged
      mysql-test/t/drop.test:
        Auto merged
      sql/share/english/errmsg.txt:
        Auto merged
      sql/share/russian/errmsg.txt:
        Auto merged
      sql/share/ukrainian/errmsg.txt:
        Auto merged
      4aad34b1
    • unknown's avatar
      bug#3891 - DROP TABLE many-unexistent-tables, was printing an error with %s instead of table names · ee2923fc
      unknown authored
      sql/sql_table.cc: print an error with a function that respects width modifiers (%.64s)
      
      
      mysql-test/r/drop.result:
        bug#3891 - DROP TABLE many-unexistent-tables, was printing an error with %s instead of table names
      mysql-test/t/drop.test:
        bug#3891 - DROP TABLE many-unexistent-tables, was printing an error with %s instead of table names
      sql/share/english/errmsg.txt:
        allow longer "table names" as DROP TABLE puts a list here
      sql/share/russian/errmsg.txt:
        allow longer "table names" as DROP TABLE puts a list here
      sql/share/ukrainian/errmsg.txt:
        allow longer "table names" as DROP TABLE puts a list here
      sql/sql_table.cc:
        print an error with a function that respects width modifiers (%.64s)
      ee2923fc
    • unknown's avatar
      Clean up merge of fix for Bug #9468. · b668fc75
      unknown authored
      
      mysql-test/t/lowercase_table_grant.test:
        Disable test with embedded server
      mysql-test/t/skip_name_resolve.test:
        Disable test with embedded server
      sql/sql_parse.cc:
        Reset server status after a single statement in a multistatement
        query is handled in embedded server so it is not logged twice to
        the slow query log.
      b668fc75
    • unknown's avatar
      Merge embedded-server testing changes. · 66b33573
      unknown authored
      
      mysql-test/r/ctype_ucs.result:
        Auto merged
      mysql-test/r/ps_1general.result:
        Auto merged
      mysql-test/r/select.result:
        Auto merged
      mysql-test/r/type_blob.result:
        Auto merged
      mysql-test/r/type_float.result:
        Auto merged
      mysql-test/r/user_var.result:
        Auto merged
      mysql-test/r/variables.result:
        Auto merged
      mysql-test/t/ctype_ucs.test:
        Auto merged
      mysql-test/t/grant2.test:
        Auto merged
      mysql-test/t/mysqldump.test:
        Auto merged
      mysql-test/t/select.test:
        Auto merged
      mysql-test/t/show_check.test:
        Auto merged
      mysql-test/t/type_float.test:
        Auto merged
      mysql-test/t/user_var.test:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Merge changes
      mysql-test/t/ps_1general.test:
        Merge changes
      66b33573
    • unknown's avatar
      Fix handling of max_allowed_packet and net_buffer_length in · d308f50f
      unknown authored
      embedded server when a size suffix (K, M, G) is added. (Bug #9472)
      
      
      sql/mysqld.cc:
        Instead of (re)parsing max_allowed_packet and net_buffer_length
        for the embedded server, just set the global variables to what
        is set in global_system_variables within get_options().
      d308f50f
  7. 01 Apr, 2005 1 commit