1. 23 Jul, 2005 1 commit
  2. 22 Jul, 2005 39 commits
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1 · 20b09855
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.1
      
      
      BitKeeper/etc/config:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/ha_berkeley.cc:
        Auto merged
      sql/ha_berkeley.h:
        Auto merged
      sql/ha_heap.cc:
        Auto merged
      sql/ha_heap.h:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_innodb.h:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/ha_myisam.h:
        Auto merged
      sql/ha_myisammrg.cc:
        Auto merged
      sql/ha_myisammrg.h:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/set_var.h:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        Merge.
      sql/field.h:
        Auto merged
      20b09855
    • unknown's avatar
      Merge snake-hub.snake.net:/src/extern/MySQL/bk/mysql-5.0 · 96c05032
      unknown authored
      into  snake-hub.snake.net:/src/extern/MySQL/bk/merge-5.1
      
      
      sql/share/errmsg.txt:
        Auto merged
      96c05032
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 48940268
      unknown authored
      into dl145b.mysql.com:/home/ndbdev/tomas/mysql-5.1
      
      
      storage/ndb/test/include/UtilTransactions.hpp:
        Auto merged
      storage/ndb/test/src/HugoOperations.cpp:
        Auto merged
      storage/ndb/test/src/UtilTransactions.cpp:
        Auto merged
      48940268
    • unknown's avatar
      ndb_partition_error.result: · 17c432c9
      unknown authored
        corrected error code
      
      
      mysql-test/r/ndb_partition_error.result:
        corrected error code
      17c432c9
    • unknown's avatar
      corrected errorcodes to be in right range · 7c564532
      unknown authored
      7c564532
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1 · 57684ad9
      unknown authored
      into  c-8b0ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.1
      
      
      57684ad9
    • unknown's avatar
      Fixed error test case · 3b4ef08b
      unknown authored
      3b4ef08b
    • unknown's avatar
      Fixed error codes · a3f76cf5
      unknown authored
      a3f76cf5
    • unknown's avatar
      Bug #12116 patch · 183caf2e
      unknown authored
      
      sql/field.h:
        64-bit safe is_null with offset
      sql/key.cc:
        64-bit safe is_null with offset
      183caf2e
    • unknown's avatar
      Faster alter table code for 5.1. · f1e25513
      unknown authored
      
      mysql-test/r/alter_table.result:
        Added some additional tests for new alter table code.
      mysql-test/t/alter_table.test:
        Added some additional tests for new alter table code.
      sql/field.cc:
        Functions to check whether new field is equal with old field.
        Classes for different types.
      sql/field.h:
        Functions to check whether new field is equal with old field.
        Classes for different types.
      sql/ha_berkeley.cc:
        check_if_incompatible_data() for BDB.
      sql/ha_berkeley.h:
        check_if_incompatible_data() for BDB.
      sql/ha_heap.cc:
        check_if_incompatible_data() for HEAP.
      sql/ha_heap.h:
        check_if_incompatible_data() for HEAP.
      sql/ha_innodb.cc:
        check_if_incompatible_data() for InnoDB.
      sql/ha_innodb.h:
        check_if_incompatible_data() for InnoBD.
      sql/ha_myisam.cc:
        check_if_incompatible_data() for MyISAM.
      sql/ha_myisam.h:
        check_if_incompatible_data() for MyISAM.
      sql/ha_myisammrg.cc:
        check_if_incompatible_data() for Merge tables.
      sql/ha_myisammrg.h:
        check_if_incompatible_data() for Merge tables.
      sql/ha_ndbcluster.cc:
        check_if_incompatible_data() for NDB.
      sql/ha_ndbcluster.h:
        check_if_incompatible_data() for NDB.
      sql/handler.h:
        Defines for COMPATIBLE_DATA (yes and no) and the default function
        for check_if_incompatible_data().
      sql/mysql_priv.h:
        Defines for IS_EQUAL_*
      sql/mysqld.cc:
        Added option --old-alter-table to disable new alter table code.
      sql/set_var.cc:
        Added option --old-alter-table to disable new alter table code.
      sql/set_var.h:
        Added option --old-alter-table to disable new alter table code.
      sql/sql_class.h:
        Added option --old-alter-table to disable new alter table code.
      sql/sql_lex.h:
        Added a flag for forcing recreation of a table
        (needed for optimize table mapped to alter table)
      sql/sql_table.cc:
        Made a function of setting table default charset, used
        now in two places.
        
        Added defines for ALTER_TABLE_* possible changes.
        Currently just overall data and index.
        
        Added function compare_tables, which checks fields
        compatibility in old and new tables.
      BitKeeper/etc/config:
        Disabled logging
      f1e25513
    • unknown's avatar
      Bug #12114 patch · 828a7021
      unknown authored
      
      mysql-test/r/ndb_partition_error.result:
        New test program
      mysql-test/t/ndb_partition_error.test:
        New test program
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Fixed error handling after CREATE_FRAGMENTATION_REF
      828a7021
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1 · 451cffcf
      unknown authored
      into  c-8b0ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.1
      
      
      451cffcf
    • unknown's avatar
      Bug #12097 More fixes · b6f97cb4
      unknown authored
      
      mysql-test/r/partition_error.result:
        Fixed result files after rearranging code a bit
      mysql-test/t/partition_error.test:
        Fixed result files after rearranging code a bit
      sql/share/errmsg.txt:
        Fixed result files after rearranging code a bit
      sql/sql_yacc.yy:
        Added initialisation
      b6f97cb4
    • unknown's avatar
      Bug #12097 Fix mistake · a51a1f08
      unknown authored
      
      sql/sql_yacc.yy:
        Fix mistake
      a51a1f08
    • unknown's avatar
      BUG #12097 patch · 39803f9d
      unknown authored
      
      sql/handler.h:
        Fixed so that I store list of longlong's for list and
        a longlong value for range end instead of an item tree
        reference.
      sql/sql_partition.cc:
        Fixed so that I store list of longlong's for list and
        a longlong value for range end instead of an item tree
        reference.
      sql/sql_yacc.yy:
        Fixed so that I store list of longlong's for list and
        a longlong value for range end instead of an item tree
        reference.
      39803f9d
    • unknown's avatar
      errmsg.txt: · d3e68446
      unknown authored
        Change an ` quote to ' (' is used everywhere else)
        This does not affect any test results.
      
      
      sql/share/errmsg.txt:
        Change an ` quote to ' (' is used everywhere else)
        This does not affect any test results.
      d3e68446
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1.b11987 · 1c4da828
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      strings/ctype-gbk.c:
        Auto merged
      1c4da828
    • unknown's avatar
      ctype-gbk.c: · bf45b6ba
      unknown authored
        Bug #11987
        mysql will truncate the text when the text contain GBK char:"0xA3A0" and "0xA1"
        Allow to store and retrieve even unassigned GBK codes.
        Like we did in Big5 earlier.
      have_gbk.inc, have_gbk.require, ctype_gbk.result, ctype_gbk.test:
        new file
      
      
      strings/ctype-gbk.c:
        Bug #11987
        mysql will truncate the text when the text contain GBK char:"0xA3A0" and "0xA1"
        Allow to store and retrieve even unassigned GBK codes.
        Like we did in Big5 earlier.
      bf45b6ba
    • unknown's avatar
      ndb - hugo, fix closeTransaction in testPartitioning · 29f42518
      unknown authored
      
      ndb/test/include/UtilTransactions.hpp:
        Fix closeTransaction in testPartitioning
      ndb/test/src/HugoOperations.cpp:
        Fix closeTransaction in testPartitioning
      ndb/test/src/UtilTransactions.cpp:
        Fix closeTransaction in testPartitioning
      29f42518
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1 · 134b8536
      unknown authored
      into dl145b.mysql.com:/home/ndbdev/tomas/mysql-5.1
      
      
      134b8536
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 2e293683
      unknown authored
      into dl145b.mysql.com:/home/ndbdev/tomas/mysql-5.1
      
      
      storage/ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Auto merged
      storage/ndb/test/include/HugoOperations.hpp:
        Auto merged
      storage/ndb/test/ndbapi/testNdbApi.cpp:
        Auto merged
      storage/ndb/test/src/HugoOperations.cpp:
        Auto merged
      2e293683
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · e3dc8243
      unknown authored
      into dl145b.mysql.com:/home/ndbdev/tomas/mysql-5.1
      
      
      storage/ndb/include/kernel/NodeInfo.hpp:
        Auto merged
      storage/ndb/include/transporter/TransporterCallback.hpp:
        Auto merged
      storage/ndb/src/common/transporter/TransporterRegistry.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Auto merged
      storage/ndb/src/kernel/vm/TransporterCallback.cpp:
        Auto merged
      storage/ndb/src/ndbapi/ClusterMgr.cpp:
        Auto merged
      storage/ndb/src/ndbapi/ClusterMgr.hpp:
        Auto merged
      storage/ndb/src/ndbapi/TransporterFacade.cpp:
        Auto merged
      storage/ndb/src/ndbapi/TransporterFacade.hpp:
        Auto merged
      e3dc8243
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · 62cd4c14
      unknown authored
      into  mysql.com:/home/jonas/src/mysql-5.0
      
      
      62cd4c14
    • unknown's avatar
      bug#11133 - ndb write/lock upgrade · 86999f2a
      unknown authored
        fix test case
        improve testing
      
      
      ndb/test/include/HugoOperations.hpp:
        Partial write (only pk)
      ndb/test/ndbapi/testNdbApi.cpp:
        improve testcase
          use writePartial to verify that ops get correctly converted
          (also test negative)
      ndb/test/src/HugoOperations.cpp:
        write partial + improve prinout in wait_async
      86999f2a
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · bc4e3843
      unknown authored
      into dl145b.mysql.com:/home/ndbdev/tomas/mysql-5.1
      
      
      sql/slave.cc:
        Auto merged
      storage/ndb/src/kernel/blocks/backup/Backup.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/backup/Backup.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp:
        Auto merged
      storage/ndb/tools/restore/Restore.cpp:
        Auto merged
      storage/ndb/tools/restore/consumer_printer.hpp:
        Auto merged
      storage/ndb/tools/restore/restore_main.cpp:
        Auto merged
      bc4e3843
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/main · c4daaa17
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.0/wl2347
      
      
      c4daaa17
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 73899048
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      73899048
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/main · 848daad7
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.0/wl2347
      
      
      848daad7
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · a68a2da0
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-4.1.b11754
      
      
      a68a2da0
    • unknown's avatar
      WL#2347 - Load independent heartbeats · f4b56000
      unknown authored
      Reset missed heartbeat count on receipt of signal from node.
      
      This fixes a bug where that under high network load, the heartbeat packets could be
      delayed, causing the appearance of node failure (due to lost heartbeats).
      
      
      ndb/include/kernel/NodeInfo.hpp:
        Add m_heartbeat_cnt to track missed heartbeats
      ndb/include/transporter/TransporterCallback.hpp:
        add prototype for transporter_recv_from()
        
        Called on receipt from a node.
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Add calls to transporter_receive_from when data is received (before unpack)
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        remove NodeRec::alarmCount. missed heartbeat count now kept in NodeInfo
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Use NodeInfo::m_heartbeat_cnt for missed heartbeat count
      ndb/src/kernel/vm/TransporterCallback.cpp:
        add transporter_recv_from(), which is called on receipt of signals.
        It resets missed heartbeat count for that node.
      ndb/src/ndbapi/ClusterMgr.cpp:
        Use NodeInfo::m_heartbeat_cnt for missed heartbeat count
      ndb/src/ndbapi/ClusterMgr.hpp:
        Use NodeInfo::m_heartbeat_cnt instead of ClusterMgr::Node::hbSent for missed
        heartbeat count.
        
        We now use the same storage for API and Kernel heartbeats.
        
        Add ClusterMgr::hb_received(nodeId) to reset hbSent (as if we received a heartbeat,
        but callable from elsewhere - e.g. when signal received)
      ndb/src/ndbapi/TransporterFacade.cpp:
        Implement transporter_recv_from for ndbapi - which resets hbSent
      ndb/src/ndbapi/TransporterFacade.hpp:
        Add hb_received(nodeId)
      f4b56000
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · 93ab1b50
      unknown authored
      into  mysql.com:/home/jonas/src/mysql-5.0-push
      
      
      ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp:
        Auto merged
      ndb/tools/restore/restore_main.cpp:
        Auto merged
      93ab1b50
    • unknown's avatar
      bug#11675 - ndb backup · 3ea233d5
      unknown authored
        Fix invalid backup log when using #nodes != 2^x
        Fix ndb_restore --printXXX options
          (among other init counters)
      
      
      ndb/src/kernel/blocks/backup/Backup.cpp:
        remove frag_mask since in 5.0 extra frag bit in in bit 0
      ndb/src/kernel/blocks/backup/Backup.hpp:
        remove frag_mask since in 5.0 extra frag bit in in bit 0
      ndb/src/kernel/blocks/dbtup/DbtupTrigger.cpp:
        send "real" frag id to backup
      ndb/tools/restore/Restore.cpp:
        Changed prinout (since it's wrong if you only print stuff)
      ndb/tools/restore/consumer_printer.hpp:
        Init log/data count in printer
      ndb/tools/restore/restore_main.cpp:
        Fix if-statements
          for correct handling of ndb_restore flags
      3ea233d5
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1 · 80437546
      unknown authored
      into  mysql.com:/Users/mikron/mysql-5.1
      
      
      80437546
    • unknown's avatar
      Merge ssmith@bk-internal.mysql.com:/home/bk/mysql-4.1 · 41b8f45c
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/4.1/main
      
      
      41b8f45c
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1.b11754 · f0e62d62
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      strings/ctype-utf8.c:
        Auto merged
      f0e62d62
    • unknown's avatar
      Merge ssmith@bk-internal.mysql.com:/home/bk/mysql-5.0 · adf5fdcd
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.0/main
      
      
      adf5fdcd
    • unknown's avatar
      Fixed error in constants · 37a4780d
      unknown authored
      
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Set up node group information as default if no node group info is
        passed in create table message.
      37a4780d
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · d1e96a25
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-4.1.b11754
      
      
      d1e96a25
    • unknown's avatar
      Merge deer.(none):/home/hf/work/mysql-4.1.clean · f1029fd7
      unknown authored
      into deer.(none):/home/hf/work/mysql-5.0.clean
      
      
      VC++Files/libmysqld/libmysqld.dsp:
        Auto merged
      f1029fd7