1. 26 Jul, 2005 1 commit
    • unknown's avatar
      wl2405.patch · 88188293
      unknown authored
      
      storage/ndb/include/ndbapi/Ndb.hpp:
        Import patch wl2405.patch
      storage/ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        Import patch wl2405.patch
      storage/ndb/include/ndbapi/NdbScanOperation.hpp:
        Import patch wl2405.patch
      storage/ndb/include/portlib/NdbThread.h:
        Import patch wl2405.patch
      storage/ndb/src/common/portlib/NdbThread.c:
        Import patch wl2405.patch
      storage/ndb/src/common/transporter/TransporterRegistry.cpp:
        Import patch wl2405.patch
      storage/ndb/src/ndbapi/Ndb.cpp:
        Import patch wl2405.patch
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Import patch wl2405.patch
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        Import patch wl2405.patch
      storage/ndb/src/ndbapi/NdbWaiter.hpp:
        Import patch wl2405.patch
      storage/ndb/src/ndbapi/Ndbif.cpp:
        Import patch wl2405.patch
      storage/ndb/src/ndbapi/Ndbinit.cpp:
        Import patch wl2405.patch
      storage/ndb/src/ndbapi/TransporterFacade.cpp:
        Import patch wl2405.patch
      storage/ndb/src/ndbapi/TransporterFacade.hpp:
        Import patch wl2405.patch
      88188293
  2. 23 Jul, 2005 1 commit
  3. 22 Jul, 2005 38 commits
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1 · eaa2109a
      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
      eaa2109a
    • unknown's avatar
      Merge snake-hub.snake.net:/src/extern/MySQL/bk/mysql-5.0 · 3d3dec2c
      unknown authored
      into  snake-hub.snake.net:/src/extern/MySQL/bk/merge-5.1
      
      
      sql/share/errmsg.txt:
        Auto merged
      3d3dec2c
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 809f0d88
      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
      809f0d88
    • unknown's avatar
      ndb_partition_error.result: · 06975539
      unknown authored
        corrected error code
      
      
      mysql-test/r/ndb_partition_error.result:
        corrected error code
      06975539
    • unknown's avatar
      corrected errorcodes to be in right range · 041565b7
      unknown authored
      041565b7
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1 · 3f686cda
      unknown authored
      into  c-8b0ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.1
      
      3f686cda
    • unknown's avatar
      Fixed error test case · c58cbd32
      unknown authored
      c58cbd32
    • unknown's avatar
      Fixed error codes · 193322e5
      unknown authored
      193322e5
    • unknown's avatar
      Bug #12116 patch · 550de779
      unknown authored
      
      sql/field.h:
        64-bit safe is_null with offset
      sql/key.cc:
        64-bit safe is_null with offset
      550de779
    • unknown's avatar
      Faster alter table code for 5.1. · a2701c78
      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
      a2701c78
    • unknown's avatar
      Bug #12114 patch · e9cb11d1
      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
      e9cb11d1
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1 · a541a081
      unknown authored
      into  c-8b0ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.1
      
      a541a081
    • unknown's avatar
      Bug #12097 More fixes · 142d7c78
      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
      142d7c78
    • unknown's avatar
      Bug #12097 Fix mistake · 6dd8c326
      unknown authored
      
      sql/sql_yacc.yy:
        Fix mistake
      6dd8c326
    • unknown's avatar
      BUG #12097 patch · e7850f0a
      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.
      e7850f0a
    • unknown's avatar
      errmsg.txt: · 32d0c85e
      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.
      32d0c85e
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1.b11987 · 8272d83b
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      strings/ctype-gbk.c:
        Auto merged
      8272d83b
    • unknown's avatar
      ctype-gbk.c: · de0d584b
      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.
      de0d584b
    • unknown's avatar
      ndb - hugo, fix closeTransaction in testPartitioning · aed1b77d
      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
      aed1b77d
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1 · 6bbd9efb
      unknown authored
      into dl145b.mysql.com:/home/ndbdev/tomas/mysql-5.1
      
      6bbd9efb
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · d293f8a8
      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
      d293f8a8
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 68d99299
      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
      68d99299
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · 2d82681d
      unknown authored
      into  mysql.com:/home/jonas/src/mysql-5.0
      
      2d82681d
    • unknown's avatar
      bug#11133 - ndb write/lock upgrade · ad7e4ac2
      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
      ad7e4ac2
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 43d3beec
      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
      43d3beec
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/main · 116bc5fa
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.0/wl2347
      
      116bc5fa
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 90cc632e
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      90cc632e
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/main · 7e097da8
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.0/wl2347
      
      7e097da8
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 07e59e1e
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-4.1.b11754
      
      07e59e1e
    • unknown's avatar
      WL#2347 - Load independent heartbeats · 5b960ded
      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)
      5b960ded
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · 656582cf
      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
      656582cf
    • unknown's avatar
      bug#11675 - ndb backup · 1a6595ba
      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
      1a6595ba
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1 · c0c18def
      unknown authored
      into  mysql.com:/Users/mikron/mysql-5.1
      
      c0c18def
    • unknown's avatar
      Merge ssmith@bk-internal.mysql.com:/home/bk/mysql-4.1 · 1cab7f3e
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/4.1/main
      
      1cab7f3e
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1.b11754 · 37cf9dfa
      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
      37cf9dfa
    • unknown's avatar
      Merge ssmith@bk-internal.mysql.com:/home/bk/mysql-5.0 · b100eb85
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/5.0/main
      
      b100eb85
    • unknown's avatar
      Fixed error in constants · b69fd160
      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.
      b69fd160
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 9fa11c61
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-4.1.b11754
      
      9fa11c61