1. 10 Mar, 2004 2 commits
    • unknown's avatar
      Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.0 · 12f5e3eb
      unknown authored
      into eagle.mysql.r18.ru:/home/vva/work/BUG_2874/mysql-4.0
      
      
      mysql-test/mysql-test-run.sh:
        Auto merged
      12f5e3eb
    • unknown's avatar
      fixed BUG #2874 "Grant table bug" and · 2053f8f8
      unknown authored
      added tests for testing structure of mysql db
      
      
      client/mysqltest.c:
        extend "replace" to column names
        extend "disable_result_log" to output of --exec commad
      mysql-test/install_test_db.sh:
        corrected wrong column definitions (as a result of tests)
      mysql-test/mysql-test-run.sh:
        export MYSQL and MYSQL_FIX_SYSTEM_TABLES + 
        added option --result-file for *.opt files
      scripts/mysql_fix_privilege_tables.sh:
        added new options to using in tests + 
        added new alters (as a result of new tests)
      scripts/mysql_fix_privilege_tables.sql:
        added new alters (as a result of new tests)
      scripts/mysql_install_db.sh:
        corrected definition of tables_priv.Table_name
      2053f8f8
  2. 08 Mar, 2004 4 commits
  3. 06 Mar, 2004 2 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.0 · 5bc89a96
      unknown authored
      into mysql.com:/home/my/mysql-4.0
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      5bc89a96
    • unknown's avatar
      Ensure that one can't from the command line set a variable too small. (Bug #2710) · aa20bd9e
      unknown authored
      Allow one to force lower_case_table_names to 0, even if the file system is case insensitive. This fixes some issues on Mac OS X (Bug #2994)
      Added variables "lower_case_file_system", "version_compile_os" and "license"
      
      
      mysql-test/t/lowercase_table3-master.opt:
        Rename: mysql-test/t/lowercase_table2-master.opt -> mysql-test/t/lowercase_table3-master.opt
      mysys/my_getopt.c:
        Ensure that one can't from the command line set a variable too small (could happen when sub_size was set)
      sql/mysql_priv.h:
        Added lower_case_file_system
      sql/mysqld.cc:
        Allow one to force lower_case_table_names to 0, even if the file system is case insensitive
      sql/set_var.cc:
        Added variable "lower_case_file_system"
        Added variable "version_compile_os"
        Added variable "license"
      sql/set_var.h:
        Added support for read only strings
      sql/sql_select.cc:
        Make join optimizer killable
      aa20bd9e
  4. 04 Mar, 2004 12 commits
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.0 · c0422729
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-4.0
      
      
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      c0422729
    • unknown's avatar
      Added option chroot to mysqlhotcopy. · 21918cf7
      unknown authored
      Useful in case mysqld was started with chroot.
      
      
      21918cf7
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-4.0 · c890c312
      unknown authored
      into ua72d24.elisa.omakaista.fi:/home/my/bk/mysql-4.0
      
      
      c890c312
    • unknown's avatar
      Fixed Bug#2491, INSERT DELAYED causes binary log unusable by mysqlbinlog (replication is ok) · 52236ae1
      unknown authored
      Setting insert delayed threads = 0 at mysql_init_command.
      
      
      sql/mysql_priv.h:
        New session variable, max_insert_delayed_threads
      sql/mysqld.cc:
        New session variable, max_insert_delayed_threads
      sql/set_var.cc:
        New session variable, max_insert_delayed_threads
      sql/sql_class.h:
        New session variable, max_insert_delayed_threads
      sql/sql_insert.cc:
        New session variable, max_insert_delayed_threads
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      52236ae1
    • unknown's avatar
      invalidation of locking for write tables (BUG#2693) · d4f43e51
      unknown authored
      fixed linking query_prealloc_size to query cache presence
      
      
      mysql-test/r/query_cache.result:
        test of QC invalidation by LOCK command
      mysql-test/t/query_cache.test:
        test of QC invalidation by LOCK command
      sql/mysqld.cc:
        new variable query_cache_wlock_invalidate
        fixed query_prealloc_size with QC absence
      sql/set_var.cc:
        new variable query_cache_wlock_invalidate
      sql/sql_cache.cc:
        new method for table invalidation
      sql/sql_cache.h:
        new method for table invalidation
      sql/sql_class.h:
        new variable query_cache_wlock_invalidate
      sql/sql_parse.cc:
        layout fixed
      d4f43e51
    • unknown's avatar
      Rollback UPDATE/DELETE statements on kill · 0b751edc
      unknown authored
      nsure that rows in a multi-row INSERT DELAYED are inserted atomicly
      
      
      mysql-test/mysql-test-run.sh:
        Make test case safe for openserver/unixware (Bug #2700)
      sql/sql_delete.cc:
        Rollback statement on kill
      sql/sql_insert.cc:
        Ensure that rows in a multi-row INSERT DELAYED are inserted atomicly (without releasing logs).
        This is needed to ensure that the mysqlbinlog is consistent.
        Bug #2491
      sql/sql_list.h:
        Ensure that rows in a multi-row INSERT DELAYED is inserted atomicly (without releasing logs).
        This is needed to ensure that the mysqlbinlog is consistent.
        Bug #2491
      sql/sql_update.cc:
        Rollback statement on kill
      0b751edc
    • 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
  5. 02 Mar, 2004 1 commit
  6. 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
  7. 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
  8. 28 Feb, 2004 1 commit
  9. 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
  10. 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
  11. 25 Feb, 2004 2 commits
  12. 24 Feb, 2004 5 commits
  13. 23 Feb, 2004 3 commits