1. 30 Sep, 2005 40 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 0ad68685
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      0ad68685
    • unknown's avatar
      Bug#11238 · 8f842e8f
      unknown authored
      "SELECT ... FOR UPDATE executed as consistent read inside LOCK TABLES"
      Do not discard lock_type information as handler::start_stmt() may require knowledge.
      (fixed by Antony)
      
      
      8f842e8f
    • unknown's avatar
      Merge hholzgraefe@bk-internal.mysql.com:/home/bk/mysql-5.0 · 7d3c939e
      unknown authored
      into  mysql.com:/home/hartmut/projects/mysql/dev/5.0
      
      
      ndb/tools/ndb_config.cpp:
        Auto merged
      7d3c939e
    • unknown's avatar
      CygWin build fix (Bug #13640) · 0585fcbe
      unknown authored
      0585fcbe
    • unknown's avatar
      Merge mysql.com:/home/timka/mysql/src/5.0-virgin · 39ba8376
      unknown authored
      into  mysql.com:/home/timka/mysql/src/5.0-bug-13597
      
      
      39ba8376
    • unknown's avatar
      Merge hundin.mysql.fi:/home/marko/mysql-4.1 · ff2f28d9
      unknown authored
      into  hundin.mysql.fi:/home/marko/mysql-5.0-bk
      
      
      sql/ha_innodb.cc:
        Ignore 4.1 specific change.
      ff2f28d9
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · b21b0b2a
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      b21b0b2a
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · 972da434
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0-icc
      
      
      include/my_sys.h:
        Auto merged
      972da434
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · 4dd48359
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0-icc
      
      
      4dd48359
    • unknown's avatar
      InnoDB: After review fix · afed50ae
      unknown authored
      
      sql/ha_innodb.cc:
        Avoid bitwise arithmetics, as it might be difficult to read.  The
        added readability costs one register and two instructions on x86.
      afed50ae
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · 936a6905
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      mysql-test/t/mysqldump.test:
        Auto merged
      936a6905
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · 1d31ee29
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-push
      
      
      1d31ee29
    • unknown's avatar
      ndb - · 937de41a
      unknown authored
        Fix compile error with gcc296
      
      
      ndb/src/common/util/SimpleProperties.cpp:
        Fix compile error with gcc296
      937de41a
    • unknown's avatar
      Raise the version. · d04eb651
      unknown authored
      d04eb651
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · 5f5fc659
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-push
      
      
      5f5fc659
    • unknown's avatar
      Fix for Bug#12629, "mysqld_multi produces syntax error". · d1538465
      unknown authored
      Quote here is unneccessary as it should all be handled in
      quote_opt_arg().
      
      
      d1538465
    • unknown's avatar
      InnoDB: On UPDATE, trim UCS2 columns correctly. (Bug #12178) · a14a34be
      unknown authored
      
      sql/ha_innodb.cc:
        innobase_convert_and_store_changed_col(), calc_row_difference():
         Replace parameter "is_unsigned" with "prtype".
        innobase_convert_and_store_changed_col():
         When trimming spaces, note that UCS2 spaces are 0x0020, not 0x20.
      a14a34be
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · 3bb53a7c
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0-icc
      
      
      myisam/mi_open.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      myisam/myisamdef.h:
        Auto merged
      myisam/myisampack.c:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      3bb53a7c
    • unknown's avatar
      Merge mysql.com:/M50/noserver-5.0 into mysql.com:/M50/mysql-5.0 · 06e08e04
      unknown authored
      
      mysys/mf_keycache.c:
        Auto merged
      06e08e04
    • unknown's avatar
      Change "mf_keycache.c" so that it can be compiled without thread support (bug#11680): · cc430c68
      unknown authored
      "configure --without-server"   (without giving "--enable-thread-safe-client").
      
      
      mysys/mf_keycache.c:
        This module is needed both in the server (multi-threaded) and in some myisam tools (single-threaded).
        For the latter use, compilation failed in a "configure --without-server" as thread support was not
        defined then (unless "--enable-thread-safe-client" was also given, but this should not be required).
        The solution is to guard all threading operations in "#ifdef THREAD", and in the "#else" case adding
        assertions where appropriate. This fixes bug#11680.
        Also minor cleanup: Delete an unused variable, change "return" -> "DBUG_RETURN" in one place.
      cc430c68
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · 710a2e29
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-push
      
      
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvrConfig.cpp:
        Auto merged
      710a2e29
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.0 · d3febe80
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0-push
      
      
      include/my_sys.h:
        Auto merged
      mysys/default.c:
        Auto merged
      d3febe80
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-4.1 · 8aebd062
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/tools/ndb_config.cpp:
        merge
      8aebd062
    • unknown's avatar
      ndb_config · 7337ba76
      unknown authored
        Check returnvalue on load/fetch configuration
      
      
      ndb/tools/ndb_config.cpp:
        Check returnvalue on load/fetch configuration
      7337ba76
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 0a467b5f
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-sept30-test
      
      
      0a467b5f
    • unknown's avatar
      BUG#13081: Disable ROR-index_merge for NDB tables (by adding a · b8ad9d14
      unknown authored
      HA_KEY_SCAN_NOT_ROR index flag) as NDB index scans are not guaranteed to be ROR 
      scans. 
      
      
      b8ad9d14
    • unknown's avatar
      ndb · dbc72145
      unknown authored
        Add support/test for using my.cnf [cluster_config]
      
      
      mysql-test/r/ndb_config.result:
        Add support for ndb_config to read my.cnf
      mysql-test/t/ndb_config.test:
        Add support for ndb_config to read my.cnf
      ndb/src/mgmsrv/InitConfigFileParser.cpp:
        merge
      ndb/tools/ndb_config.cpp:
        Add support for ndb_config to read my.cnf
      mysql-test/std_data/ndb_config_mycnf1.cnf:
        New BitKeeper file ``mysql-test/std_data/ndb_config_mycnf1.cnf''
      dbc72145
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 60ee9326
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      60ee9326
    • unknown's avatar
      duplicate error message removed · 31f7a0e8
      unknown authored
      
      mysql-test/r/innodb.result:
        after merge fix
      31f7a0e8
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-4.1 · 3827a110
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.0
      
      
      mysql-test/r/ndb_config.result:
        Auto merged
      mysql-test/t/ndb_config.test:
        Auto merged
      ndb/src/mgmsrv/InitConfigFileParser.cpp:
        Auto merged
      ndb/src/mgmsrv/InitConfigFileParser.hpp:
        Auto merged
      ndb/tools/ndb_config.cpp:
        Auto merged
      3827a110
    • unknown's avatar
      ndb - · 8c570f3f
      unknown authored
       add support for reading config.ini from ndb_config
       (as alternative to contacting ndb_mgmd)
      
      
      mysql-test/r/ndb_config.result:
        Add support for reading config.ini from ndb_config
      mysql-test/t/ndb_config.test:
        Add support for reading config.ini from ndb_config
      ndb/src/mgmsrv/InitConfigFileParser.cpp:
        Handle prinouts better
      ndb/src/mgmsrv/InitConfigFileParser.hpp:
        Handle prinouts better
      ndb/tools/ndb_config.cpp:
        Add support for reading config.ini from ndb_config
      8c570f3f
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · c8e0432d
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0-icc
      
      
      client/mysqltest.c:
        Auto merged
      myisam/myisamchk.c:
        Auto merged
      myisam/myisamdef.h:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      c8e0432d
    • unknown's avatar
      Small fixes. · fea5dcae
      unknown authored
      
      include/my_sys.h:
        Initialised TYPE_NOT_SET to zero to make sure no
        enum is added before it.
      server-tools/instance-manager/protocol.cc:
        Changed int to const int.
      fea5dcae
    • unknown's avatar
      Tell the user that this ROLLBACK is added by mysqlbinlog (so that he does not... · 1e148ca4
      unknown authored
      Tell the user that this ROLLBACK is added by mysqlbinlog (so that he does not wonder if it's present in binlog). This was brought up by Salle - thanks Salle.
      
      
      client/mysqlbinlog.cc:
        tell the user that this ROLLBACK is added by mysqlbinlog (so that he does not wonder if it's present in binlog)
      mysql-test/r/ctype_ucs_binlog.result:
        update
      mysql-test/r/mysqlbinlog.result:
        update
      mysql-test/r/mysqlbinlog2.result:
        update
      mysql-test/r/rpl_charset.result:
        update
      mysql-test/r/rpl_timezone.result:
        update
      mysql-test/r/user_var-binlog.result:
        update
      1e148ca4
    • unknown's avatar
      wl#1882 · b55ad590
      unknown authored
        allow ndb_mgmd to use my.cnf for cluster configuration
      
      
      ndb/src/mgmsrv/ConfigInfo.cpp:
        Depricate Id infavor of nodeid in config.ini
      ndb/src/mgmsrv/InitConfigFileParser.cpp:
        Add support for getting cluster config from my.cnf [cluster_config]
      ndb/src/mgmsrv/InitConfigFileParser.hpp:
        Add support for getting cluster config from my.cnf [cluster_config]
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Add support for getting cluster config from my.cnf [cluster_config]
      ndb/src/mgmsrv/MgmtSrvrConfig.cpp:
        Add support for getting cluster config from my.cnf [cluster_config]
      ndb/src/mgmsrv/main.cpp:
        Add support for getting cluster config from my.cnf [cluster_config]
      b55ad590
    • unknown's avatar
      export forced_defaults_file using global variable defaults_file · 3b49f80a
      unknown authored
       analog with defaults_extra_file and defaults_grouop_suffix
      
      
      include/my_sys.h:
        export forced_defaults_file using global variable defaults_file
      mysys/default.c:
        export forced_defaults_file using global variable defaults_file
      3b49f80a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 203bb8bc
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      mysql-test/r/mysqldump.result:
        Auto merged
      203bb8bc
    • unknown's avatar
      Fix for BUG#13597 - columns in ON condition not resolved if references a table... · 68a91293
      unknown authored
      Fix for BUG#13597 - columns in ON condition not resolved if references a table in a nested right join.
      
      The problem was in that when finding the last table reference in a nested join tree,
      the procedure doing the iteration over the right-most branches of a join tree
      was testing for RIGHT JOINs the table reference that represents the join, and not
      the second operand of the JOIN. Currently the information whether a join is LEFT/RIGHT
      is stored not on the join object itself, but on one of its operands.
      
      
      mysql-test/r/select.result:
        Added test for BUG#13597
      mysql-test/t/select.test:
        Added test for BUG#13597
      sql/table.cc:
        - test whether a table reference is a right join by testing the
          rigth join operand (first in the list of operands), and not
          the table reference that represents the join itself.
        - clearer comments
      68a91293
    • unknown's avatar
      Comment adjusted (see fix for #13545) · 33313992
      unknown authored
      33313992
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 3c5ae70e
      unknown authored
      into  mysql.com:/usr/home/ram/work/mysql-5.0
      
      
      3c5ae70e