1. 06 Dec, 2004 1 commit
    • unknown's avatar
      Merge with 4.1 · 796bd7de
      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
      796bd7de
  2. 05 Dec, 2004 1 commit
    • unknown's avatar
      Fix test results · 289d3b2e
      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
      289d3b2e
  3. 04 Dec, 2004 4 commits
    • unknown's avatar
      Fixing problem with case insitive file systems. · 623c7338
      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 :)
      623c7338
    • unknown's avatar
      ndb: fix solaris (etc) ndb startup problem in mysql-test-run · f8cdf570
      unknown authored
      
      ndb/src/common/util/NdbOut.cpp:
        avoid printf("%s", (char*)0)
      f8cdf570
    • unknown's avatar
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0/ · 107ef617
      unknown authored
      into avenger.(none):/export/brian/mysql/acinclude-5.0
      
      
      107ef617
  4. 03 Dec, 2004 28 commits
    • unknown's avatar
      postreview fixes · 56080a8d
      unknown authored
      
      mysql-test/r/subselect_innodb.result:
        fixed result of test
      mysql-test/t/subselect_innodb.test:
        fixed test layout
      56080a8d
    • unknown's avatar
      merge · b2f7b5bd
      unknown authored
      b2f7b5bd
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · c2780e12
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-qc-4.1
      
      
      c2780e12
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · c9f0aaa6
      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
      c9f0aaa6
    • unknown's avatar
      Fix t/rpl_create_database.test: replace version in SHOW BINLOG RESULTS · 67aec82f
      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
      67aec82f
    • unknown's avatar
      Merge · a1fb39e7
      unknown authored
      
      sql/sql_insert.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_class.h:
        SCCS merged
      a1fb39e7
    • unknown's avatar
      InnoDB: Fix ctype_utf8 test failure caused by the new record format. · f09c8b35
      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().
      f09c8b35
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 0284e541
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      0284e541
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · 3456a512
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      3456a512
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 684f91e6
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      684f91e6
    • unknown's avatar
      Due to a compiler bug, slave.cc:tables_ok() sometimes wrongly returns · f2d6046e
      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
      f2d6046e
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · 68755d7f
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      sql/sql_insert.cc:
        Auto merged
      68755d7f
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · 390f6800
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      390f6800
    • unknown's avatar
      sql/sql_class.h · dea513dd
      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
      dea513dd
    • unknown's avatar
      ndb - fix in test suite · b1f4a482
      unknown authored
      
      ndb/test/src/NDBT_Test.cpp:
        clear threads when finished waiting
      b1f4a482
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8f063cec
      unknown authored
      into mysql.com:/space/pekka/ndb/version/my41
      
      
      8f063cec
    • unknown's avatar
      ndb: failed update updated tuple version. crash at DbtupTrigger.cpp 1102 · c9215dc2
      unknown authored
      
      ndb/src/kernel/blocks/dbtup/DbtupExecQuery.cpp:
        failed update updated tuple version. crash at DbtupTrigger.cpp 1102
      c9215dc2
    • unknown's avatar
      strings/decimal.c · 6865b71c
      unknown authored
          decimal_round(d, -N) bug fixed
      
      
      strings/decimal.c:
        decimal_round(d, -N) bug fixed
      6865b71c
    • unknown's avatar
      strings/decimal.c · 89c6cd73
      unknown authored
          fixed broken d2ll
          added checks for correct test results
      
      
      strings/decimal.c:
        fixed broken d2ll
        added checks for correct test results
      89c6cd73
    • unknown's avatar
      Merge mysql.com:/home/wax/mysql/mysql-4.1 · abf0ab9e
      unknown authored
      into mysql.com:/home/wax/mysql/mysql-4.1testtemp
      
      
      abf0ab9e
    • unknown's avatar
      46596179
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · eb21ec54
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      eb21ec54
    • unknown's avatar
      ndb - fix abort of scan when in WAIT_AI_SCAN state · abb1963d
      unknown authored
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Make sure to release all resources when aborting scan
          in state WAIT_AI_SCAN
      abb1963d
    • unknown's avatar
      Merge mysql.com:/space/bkroot/mysql-4.1 · 72d56253
      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
      72d56253
    • unknown's avatar
      Bug#6391 (binlog-do-db rules ignored) · 220acb32
      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.
      220acb32
    • unknown's avatar
      Resolving conflict. · ae9992ec
      unknown authored
      
      configure.in:
        Resolving conflict
      ae9992ec
    • unknown's avatar
      Syntax fix, plus an update for version. · 4fb9a5fb
      unknown authored
      
      build/ac-macros/check_cpu.m4:
        Syntax fix
      configure.in:
        Updated for version.
      4fb9a5fb
    • unknown's avatar
      Manual fixes to merge of fix for Bug #6682 to 4.1. · 8948b745
      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
      8948b745
  5. 02 Dec, 2004 6 commits
    • unknown's avatar
      Merge · 117c7611
      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
      117c7611
    • unknown's avatar
      more decimail bugs fixed · f88e0d9c
      unknown authored
      f88e0d9c
    • unknown's avatar
      syntax error fixed · bdc4fa6e
      unknown authored
      bdc4fa6e
    • unknown's avatar
      Prevent adding 'CREATE TABLE .. SELECT' query to the binary log when the · 9286d1c1
      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
      9286d1c1
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0 · 2d3e0ac7
      unknown authored
      into mysql.com:/home/mysql_src/mysql-5.0-clean
      
      
      2d3e0ac7
    • unknown's avatar
      Making FLUSH TABLES WITH READ LOCK killable while it's waiting for running... · 75fa4c00
      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)
      75fa4c00