1. 22 Jul, 2005 1 commit
    • 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
  2. 21 Jul, 2005 19 commits
  3. 20 Jul, 2005 20 commits
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.1-build · 1651ce58
      unknown authored
      into mysql.com:/space/my/mysql-5.0-build
      
      
      scripts/Makefile.am:
        Auto merged
      support-files/Makefile.am:
        Auto merged
      1651ce58
    • unknown's avatar
      - Manually merged fixes for BUG#12057 (*.plist (Mac OS X) files are installed on Linux) · 08aa5da1
      unknown authored
      
      support-files/MacOSX/Makefile.am:
        Auto merged
      scripts/Makefile.am:
        - manual merge
      support-files/Makefile.am:
        - manual merge
      08aa5da1
    • unknown's avatar
      Bug #10600 After review fixes · 1b6ac530
      unknown authored
      
      sql/lock.cc:
        Used flags immediately in call
      sql/mysql_priv.h:
        Added RTFC (short for remove_table_from_cache)
        for constants and used hex syntax to clarify it is bits
        in the flags
      sql/sql_base.cc:
        Use flags parameter immediately and use flags immediately in call
        Change to other variant of eternal loop variant
      sql/sql_table.cc:
        Use flags immediately in call
      1b6ac530
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · d82f6148
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      d82f6148
    • unknown's avatar
      Fix date conversion on 32-bit machines. · 2de1318c
      unknown authored
      
      sql/field.cc:
        Fix type of temporary variables for handling result of
        number_to_datetime().
      2de1318c
    • unknown's avatar
      - don't install the Mac OS X support files when running "make install" - · 13622886
      unknown authored
        they're not needed outside of the source tree (BUG#12057)
      - Removed some more unneeded files from "make install" along the way
      
      
      scripts/Makefile.am:
        - don't install the following files with "make install", as they are
          not needed to be installed: 
          make_win_src_distribution, make_win_binary_distribution,
          make_binary_distribution, make_sharedlib_distribution
      support-files/MacOSX/Makefile.am:
        - don't install the Mac OS X support files when running "make install" -
          they're not needed outside of the source tree (BUG#12057)
      support-files/Makefile.am:
        - don't install the RPM spec files with "make install" - they are not
          needed outside of the source tree
      13622886
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 68e296e9
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      68e296e9
    • unknown's avatar
      Bug #12055 NDB temp tables created by ALTER TABLE are usable · 6dc61868
      unknown authored
      - do not discover temporary files and make them visible
      
      6dc61868
    • unknown's avatar
      Upgraded the version number, as 5.0.10 is cloned off. · 790f530e
      unknown authored
      This push includes the clone tag.
      
      
      configure.in:
        Upgraded the version number, as 5.0.10 is cloned off.
      790f530e
    • unknown's avatar
      Implement MySQL framework to support consistent read views in · c4ff5981
      unknown authored
      cursors. This should fix Bug#11813 when InnoDB part is in 
      (tested with a draft patch).
      The idea of the patch is that if a storage engine supports
      consistent read views, we open one when open a cursor,
      set is as the active view when fetch from the cursor, and close
      together with cursor close.
      
      
      sql/examples/ha_archive.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/examples/ha_example.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/examples/ha_tina.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/ha_berkeley.cc:
        - extend handlerton with cursors methods
      sql/ha_blackhole.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/ha_federated.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/ha_heap.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/ha_innodb.cc:
        - extend handlerton with cursors methods
      sql/ha_myisam.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/ha_myisammrg.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/ha_ndbcluster.cc:
        - extend handlerton with cursors methods
      sql/handler.h:
        - extend handlerton with cursors methods
      sql/sql_select.cc:
        - create a consistent read view when we open a cursor,
          set it for a fetch, and free when we closing the cursor.
      sql/sql_select.h:
        - add Cursor::ht_info to remember read views used in a cursor.
      tests/mysql_client_test.c:
        Disable an assert that will be no longer valid when consistent
        read views in InnoDB are used.
      c4ff5981
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · 72ec1af5
      unknown authored
      into  mysql.com:/home/jonas/src/mysql-5.0-push
      
      72ec1af5
    • unknown's avatar
      merge · cd47305d
      unknown authored
      cd47305d
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · 7c4886fd
      unknown authored
      into  mysql.com:/home/jonas/src/mysql-5.0-push
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      7c4886fd
    • unknown's avatar
      Merge grichter@bk-internal.mysql.com:/home/bk/mysql-4.1 · ca5c3f9b
      unknown authored
      into lmy002.wdf.sap.corp:/home/georg/work/mysql/prod/mysql-4.1
      
      
      tests/mysql_client_test.c:
        Auto merged
      ca5c3f9b
    • unknown's avatar
      cs fixes from last commit · 1462e0bc
      unknown authored
      1462e0bc
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · f516ebf9
      unknown authored
      into  mysql.com:/home/jonas/src/mysql-5.0-push
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      f516ebf9
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · 37b7e4c6
      unknown authored
      into  mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/include/kernel/signaldata/DictTabInfo.hpp:
        Auto merged
      ndb/include/ndbapi/NdbDictionary.hpp:
        Auto merged
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Auto merged
      ndb/src/kernel/blocks/ndbfs/MemoryChannel.hpp:
        Auto merged
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Auto merged
      ndb/test/ndbapi/testBackup.cpp:
        Auto merged
      ndb/test/ndbapi/testNdbApi.cpp:
        Auto merged
      ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      ndb/tools/drop_index.cpp:
        Auto merged
      ndb/tools/listTables.cpp:
        Auto merged
      ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp:
        merge
      ndb/src/ndbapi/ndberror.c:
        merge
      ndb/test/include/HugoOperations.hpp:
        merge
      ndb/test/src/HugoOperations.cpp:
        merge
      37b7e4c6
    • unknown's avatar
      bug#11942 - ndb backup · 76538629
      unknown authored
        fix error code to avoid clash with 5.0/5.1
      
      
      ndb/include/kernel/signaldata/AlterTable.hpp:
        Change error codes to remove clash from 5.0
      ndb/include/kernel/signaldata/DropTable.hpp:
        Change error codes to remove clash from 5.0
      ndb/src/ndbapi/ndberror.c:
        Change error codes to remove clash from 5.0
      76538629
    • unknown's avatar
      bug#11942 - ndb backup with parallell DDL · 60b06c95
      unknown authored
        add testcase to autotest
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        remove ;
      ndb/test/run-test/daily-basic-tests.txt:
        add test case
      60b06c95
    • unknown's avatar
      Added some missing casts and changed a define for alloca(). · bb0d815f
      unknown authored
      
      client/mysqldump.c:
        Added casts.
      include/my_sys.h:
        Define for alloca() changed for Metrowerks compiler.
      myisam/rt_split.c:
        Added cast.
      bb0d815f