1. 06 Dec, 2004 1 commit
    • unknown's avatar
      Merge with 4.1 · 87591df6
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      BitKeeper/etc/logging_ok:
        auto-union
      BUILD/SETUP.sh:
        Auto merged
      Build-tools/Do-compile:
        Auto merged
      client/mysqladmin.cc:
        Auto merged
      configure.in:
        Auto merged
      innobase/include/lock0lock.h:
        Auto merged
      innobase/os/os0file.c:
        Auto merged
      libmysqld/Makefile.am:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/r/ctype_ucs.result:
        Auto merged
      mysql-test/r/heap.result:
        Auto merged
      mysql-test/r/insert_select.result:
        Auto merged
      mysql-test/r/lowercase_table3.result:
        Auto merged
      mysql-test/r/rpl_start_stop_slave.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/t/ctype_ucs.test:
        Auto merged
      mysql-test/t/rpl_until.test:
        Auto merged
      mysql-test/t/subselect.test:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/ha_myisam.h:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/lock.cc:
        Auto merged
      sql/log_event.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/slave.h:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_rename.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/log_event.cc:
        Merge with 4.1
        Trivial cleanup
      87591df6
  2. 05 Dec, 2004 1 commit
    • unknown's avatar
      Fix test results · 3c8bf4ff
      unknown authored
      
      mysql-test/r/index_merge_ror_cpk.result:
        Portability fix
      mysql-test/r/innodb.result:
        Update results
      mysql-test/t/index_merge_ror_cpk.test:
        Portability fix
      3c8bf4ff
  3. 04 Dec, 2004 4 commits
    • unknown's avatar
      Fixing problem with case insitive file systems. · 1b0e281a
      unknown authored
      Would you believe that I wrote all of this on a Mac? I just happen to be not using HFS for the partition I did this work on. Oops :)
      
      
      config/ac-macros/alloca.m4:
        mvdir
      config/ac-macros/character_sets.m4:
        mvdir
      config/ac-macros/check_cpu.m4:
        mvdir
      config/ac-macros/compiler_flag.m4:
        mvdir
      config/ac-macros/ha_archive.m4:
        mvdir
      config/ac-macros/ha_berkeley.m4:
        mvdir
      config/ac-macros/ha_example.m4:
        mvdir
      config/ac-macros/ha_innodb.m4:
        mvdir
      config/ac-macros/ha_isam.m4:
        mvdir
      config/ac-macros/ha_ndbcluster.m4:
        mvdir
      config/ac-macros/ha_tina.m4:
        mvdir
      config/ac-macros/large_file.m4:
        mvdir
      config/ac-macros/misc.m4:
        mvdir
      config/ac-macros/mysqlfs.m4:
        mvdir
      config/ac-macros/openssl.m4:
        mvdir
      config/ac-macros/readline.m4:
        mvdir
      config/ac-macros/sanity.m4:
        mvdir
      config/ac-macros/zlib.m4:
        mvdir
      configure.in:
        Fix silly little problem with case insensitive filesystems.
        
        Funny thing is that I wrote all this on a Mac, but I don't use HFS on that partition so I never noticed that it would be an issue.
        
        Oops :)
      1b0e281a
    • unknown's avatar
      ndb: fix solaris (etc) ndb startup problem in mysql-test-run · 263f4572
      unknown authored
      
      ndb/src/common/util/NdbOut.cpp:
        avoid printf("%s", (char*)0)
      263f4572
    • unknown's avatar
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0/ · aca0ff5a
      unknown authored
      into avenger.(none):/export/brian/mysql/acinclude-5.0
      
      aca0ff5a
  4. 03 Dec, 2004 28 commits
    • unknown's avatar
      postreview fixes · 92193aec
      unknown authored
      
      mysql-test/r/subselect_innodb.result:
        fixed result of test
      mysql-test/t/subselect_innodb.test:
        fixed test layout
      92193aec
    • unknown's avatar
      merge · acb5419a
      unknown authored
      acb5419a
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 78421872
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-qc-4.1
      
      78421872
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 968abb80
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-global-4.1
      
      
      sql/sql_class.h:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      968abb80
    • unknown's avatar
      Fix t/rpl_create_database.test: replace version in SHOW BINLOG RESULTS · e6a31aee
      unknown authored
      
      mysql-test/t/rpl_create_database.test:
        need to replace version in results
      mysql-test/r/rpl_create_database.result:
        version gets replaced
      e6a31aee
    • unknown's avatar
      Merge · 8da49cb8
      unknown authored
      
      sql/sql_insert.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_class.h:
        SCCS merged
      8da49cb8
    • unknown's avatar
      InnoDB: Fix ctype_utf8 test failure caused by the new record format. · ae35057b
      unknown authored
      
      innobase/btr/btr0btr.c:
        Cache the value of dtype_get_fixed_size(type) in order to avoid
        repeated calls to an external function innobase_is_mb_cset()
      innobase/include/data0type.ic:
        Declare innobase_is_mb_cset().
        dtype_get_fixed_size(): Invoke innobase_is_mb_cset() for DATA_MYSQL.
      innobase/row/row0ins.c:
        Cache the value of dtype_get_fixed_size(type) in order to avoid
        repeated calls to an external function innobase_is_mb_cset()
      innobase/row/row0sel.c:
        row_search_for_mysql(): Added a missing rec_reget_offsets() call
        that caused an InnoDB debug assertion failure in ctype_utf8 test.
      sql/ha_innodb.cc:
        Define innobase_is_mb_cset().
      ae35057b
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · e0a4867f
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      e0a4867f
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · 1278adbd
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      1278adbd
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · ac2f6c49
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      ac2f6c49
    • unknown's avatar
      Due to a compiler bug, slave.cc:tables_ok() sometimes wrongly returns · e6f04fe7
      unknown authored
      1 if the return type is int or int_fast8_t.  The test case that showed
      this problem is rpl000001 and the tested version was MySQL 5.0.2.  The
      compiler with the problem is GCC 3.0.4 runing on "Linux bitch 2.4.18
      #2 Thu Apr 11 14:37:17 EDT 2002 sparc64 unknown".
      
      By changing the return type to bool the problem disappear.  (Another
      way to make the problem disappear is to simply print the returned
      value with printf("%d",?).  The printed returned value is always 0 in
      the test cases I have run.)  This is only a partial solution to the
      problem, since someone could later change the return type of the
      function back to int or some other type that does not work.
      
      
      sql/slave.cc:
        Changed type
      sql/slave.h:
        Changed type
      e6f04fe7
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · d50a9a0f
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      sql/sql_insert.cc:
        Auto merged
      d50a9a0f
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · c220882f
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      c220882f
    • unknown's avatar
      sql/sql_class.h · 109245a5
      unknown authored
          Bug #6284 - report truncation warnings in INSERT ... SELECT only for "INSERT" part
      sql/sql_insert.cc
          Bug #6284 - report truncation warnings in INSERT ... SELECT only for "INSERT" part
      
      
      sql/sql_class.h:
        Bug #6284 - report truncation warnings in INSERT ... SELECT only for "INSERT" part
      sql/sql_insert.cc:
        Bug #6284 - report truncation warnings in INSERT ... SELECT only for "INSERT" part
      109245a5
    • unknown's avatar
      ndb - fix in test suite · 518d8a50
      unknown authored
      
      ndb/test/src/NDBT_Test.cpp:
        clear threads when finished waiting
      518d8a50
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1 · 0069748b
      unknown authored
      into mysql.com:/space/pekka/ndb/version/my41
      
      0069748b
    • unknown's avatar
      ndb: failed update updated tuple version. crash at DbtupTrigger.cpp 1102 · 607d0f11
      unknown authored
      
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        failed update updated tuple version. crash at DbtupTrigger.cpp 1102
      607d0f11
    • unknown's avatar
      strings/decimal.c · 7acebdbd
      unknown authored
          decimal_round(d, -N) bug fixed
      
      
      strings/decimal.c:
        decimal_round(d, -N) bug fixed
      7acebdbd
    • unknown's avatar
      strings/decimal.c · 85b70875
      unknown authored
          fixed broken d2ll
          added checks for correct test results
      
      
      strings/decimal.c:
        fixed broken d2ll
        added checks for correct test results
      85b70875
    • unknown's avatar
      Merge mysql.com:/home/wax/mysql/mysql-4.1 · 6bd1f98a
      unknown authored
      into mysql.com:/home/wax/mysql/mysql-4.1testtemp
      
      6bd1f98a
    • unknown's avatar
      f9f08c16
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · 3a50ded9
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      3a50ded9
    • unknown's avatar
      ndb - fix abort of scan when in WAIT_AI_SCAN state · 2fe7dcbc
      unknown authored
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Make sure to release all resources when aborting scan
          in state WAIT_AI_SCAN
      2fe7dcbc
    • unknown's avatar
      Merge mysql.com:/space/bkroot/mysql-4.1 · 3584ee87
      unknown authored
      into mysql.com:/space/bk/b6391-mysql-4.1
      
      
      sql/handler.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      3584ee87
    • unknown's avatar
      Bug#6391 (binlog-do-db rules ignored) · 7980920b
      unknown authored
        CREATE DATABASE statement used the current database instead of the
        database created when checking conditions for replication.
        CREATE/DROP/ALTER DATABASE statements are now replicated based on
        the manipulated database.
      
      
      mysql-test/t/rpl_until.test:
        Longer sleep to allow slave to stop.
      mysql-test/t/rpl_charset.test:
        Position change in binary file.
      mysql-test/r/drop_temp_table.result:
        Position change in binlog.
      mysql-test/r/rpl_loaddata_rule_m.result:
        Position change in binlog.
      mysql-test/r/rpl_charset.result:
        Position change in binlog.
      sql/log_event.h:
        Added new flag and parameter to suppress generation of
        USE statements.
      sql/log_event.cc:
        Added parameter and code to suppress generation of
        USE statements.
      sql/sql_db.cc:
        Suppress generation of USE before CREATE/ALTER/DROP DATABASE
        statements.
      sql/log.cc:
        Query_log_event have new extra parameter.
      sql/sql_table.cc:
        Query_log_event have new extra parameter.
      sql/sql_base.cc:
        Query_log_event have new extra parameter.
      sql/sql_update.cc:
        Query_log_event have new extra parameter.
      sql/sql_insert.cc:
        Query_log_event have new extra parameter.
      sql/sql_rename.cc:
        Query_log_event have new extra parameter.
      sql/sql_delete.cc:
        Query_log_event have new extra parameter.
      sql/sql_acl.cc:
        Query_log_event have new extra parameter.
      sql/handler.cc:
        Query_log_event have new extra parameter.
      sql/item_func.cc:
        Query_log_event have new extra parameter.
      sql/sql_parse.cc:
        Query_log_event have new extra parameter.
      7980920b
    • unknown's avatar
      Resolving conflict. · c39ea7aa
      unknown authored
      
      configure.in:
        Resolving conflict
      c39ea7aa
    • unknown's avatar
      Syntax fix, plus an update for version. · ca060864
      unknown authored
      
      build/ac-macros/check_cpu.m4:
        Syntax fix
      configure.in:
        Updated for version.
      ca060864
    • unknown's avatar
      Manual fixes to merge of fix for Bug #6682 to 4.1. · 24a19278
      unknown authored
      
      sql/sql_class.h:
        update tmp_disable_binlog() and reenable_binlog() macros
      mysql-test/r/insert_select.result:
        Handle results that differ from 4.0 to 4.1
      24a19278
  5. 02 Dec, 2004 6 commits
    • unknown's avatar
      Merge · 790974f3
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      mysql-test/t/insert_select.test:
        Auto merged
      sql/sql_class.h:
        Auto merged
      mysql-test/r/insert_select.result:
        SCCS merged
      sql/sql_insert.cc:
        merge changes
      sql/sql_table.cc:
        e
        merge changes
      790974f3
    • unknown's avatar
      more decimail bugs fixed · 50c6ea7d
      unknown authored
      50c6ea7d
    • unknown's avatar
      syntax error fixed · f94aa767
      unknown authored
      f94aa767
    • unknown's avatar
      Prevent adding 'CREATE TABLE .. SELECT' query to the binary log when the · e11175b7
      unknown authored
      insertion of new records partially failed. It would get logged because of the
      logic to log a partially-failed 'INSERT ... SELECT' (which can't be rolled back
      in non-transactional tables), but 'CREATE TABLE ... SELECT' is always rolled
      back on failure, even for non-transactional tables. (Bug #6682)
      (Original fix reimplemented after review by Serg and Guilhem.)
      
      
      mysql-test/t/insert_select.test:
        Add test case for Bug #6682
      mysql-test/r/insert_select.result:
        Add results for test case for Bug #6682
      sql/sql_table.cc:
        moved tmp_disable_binlog() and reenable_binlog macros to sql/sql_class.h
      sql/sql_insert.cc:
        disable binlog during call to super's ::send_error in select_create class
      sql/sql_class.h:
        add select_create::send_error()
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      e11175b7
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0 · 8815c1c7
      unknown authored
      into mysql.com:/home/mysql_src/mysql-5.0-clean
      
      8815c1c7
    • unknown's avatar
      Making FLUSH TABLES WITH READ LOCK killable while it's waiting for running... · f3308504
      unknown authored
      Making FLUSH TABLES WITH READ LOCK killable while it's waiting for running commits to finish. Normally this step is not long but it's still nice to be killable
      (especially in case of bug like BUG#6732 "FLUSH TABLES WITH READ LOCK + COMMIT makes next FLUSH...LOCK hang forever").
      
      
      sql/lock.cc:
        making FLUSH TABLES WITH READ LOCK killable while it's waiting for running commits to finish
      sql/mysql_priv.h:
        prototype change
      sql/sql_parse.cc:
        now it's possible that make_global_read_lock_block_commit fails (killed)
      f3308504