1. 30 Mar, 2007 1 commit
  2. 01 Mar, 2007 1 commit
    • unknown's avatar
      correct NAND/NOR scan operations, and add a test case for it. · 3a6ee28e
      unknown authored
      
      ndb/src/ndbapi/NdbScanFilter.cpp:
        translate NAND/NOR into AND/OR, since AND/OR operations are all correct
      ndb/test/include/NDBT_Test.hpp:
        add a new method executeOneCtx() in class NDBT_TestSuite, declare it
      ndb/test/ndbapi/Makefile.am:
        Add a new test case: testScanFIlter.cpp to test/ndbapi/,
        thus modify the Makefile.am related to it
      ndb/test/src/NDBT_Test.cpp:
        add a new method in class NDBT_TestSuite in order to adapt to 
        some customized test cases, because the default NDBT's test talbes
        and flow are fixed, if just modify related existing methods, it will
        influence other test cases in test/ndbapi/
      ndb/test/ndbapi/testScanFilter.cpp:
        It's a test case for ndbapi scan filter, test for AND/OR/NAND/NOR scan operations.
      3a6ee28e
  3. 15 Feb, 2007 2 commits
    • unknown's avatar
      Merge dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-4.1/mysql-4.1-bug21715 · 157ee7e6
      unknown authored
      into  dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-5.0/bug21715
      
      
      ndb/src/mgmclient/CommandInterpreter.cpp:
        Adding 'version' variable assigns the right value to prevent from the version(0.0.0.0) status
      157ee7e6
    • unknown's avatar
      BUG#21715 mgm client command <id> status return version(0.0.0.0) · 35f79a6f
      unknown authored
      
      ndb/src/mgmclient/CommandInterpreter.cpp:
        Adding the judgement for node type to distinguish the data nodes and non-data nodes.
        From the return value. Management client can't distinguish the really not connected
        status for data nodes and status of non-data nodes.
        We can get the connect status about non-data nodes from version, if the version is 0, 
        it means no connected status.
      35f79a6f
  4. 02 Feb, 2007 1 commit
  5. 01 Feb, 2007 3 commits
  6. 31 Jan, 2007 1 commit
  7. 24 Jan, 2007 3 commits
  8. 23 Jan, 2007 7 commits
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 964f502c
      unknown authored
      into  clam.ndb.mysql.com:/export/space/pekka/ndb/version/my50-ndb
      
      
      964f502c
    • unknown's avatar
      Merge willster.(none):/home/stewart/Documents/MySQL/5.0/ndb · a7174850
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.0/bug25487
      
      
      a7174850
    • unknown's avatar
      ndb - bug#25562 use byte-size max_data_length() when setting blob part size · 25fb32ef
      unknown authored
      
      sql/ha_ndbcluster.cc:
        bug#25562 use byte-size max_data_length() when setting blob part size
      25fb32ef
    • unknown's avatar
      round up Transporter connect timeout · 68ab0996
      unknown authored
      
      ndb/src/common/transporter/Transporter.cpp:
        change so timeout is rounded up to nearest second
      68ab0996
    • unknown's avatar
      Bug #25487 deleting ndb_cluster_connection object takes long time · 8deeb2f9
      unknown authored
        
        aim is to:
        a) if set_connect_timeout called, timeout connect attempt (for retry on
        next call) after timeout period
        b) preserve existing blocking behaviour otherwise (for, e.g. mgmapi)
        
        Related to customer issue with long time deleting ndb_cluster_connection
        object. believe we're hanging on the connect(2) call until timeout (when
        we then realise we should exit the thread).
      
      
      ndb/include/mgmapi/mgmapi.h:
        add ndb_mgm_set_connect_timeout
      ndb/include/util/SocketClient.hpp:
        add timeout (seconds) for max time to wait for connection
      ndb/src/common/transporter/Transporter.cpp:
        set limit on amount of time we'll wait for tcp connect
      ndb/src/common/util/SocketClient.cpp:
        only try to connect for a maximum of timeout time
      ndb/src/mgmapi/mgmapi.cpp:
        add ndb_mgm_set_connect_timeout
      8deeb2f9
    • unknown's avatar
      ndb - bug#22013 · ab8355fa
      unknown authored
          Fix bug in event handling wrt early node shutdown
      
      
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Fix bug in event handling wrt early node shutdown
      ndb/src/ndbapi/ClusterMgr.cpp:
        Fix reportNodeFailed if only connected wo/ having received any API_REGCONF
      ndb/src/ndbapi/ClusterMgr.hpp:
        Fix reportNodeFailed if only connected wo/ having received any API_REGCONF
      ndb/src/ndbapi/SignalSender.cpp:
        Fix memleak
      ab8355fa
    • unknown's avatar
      bug#25746 ndb: 4209 error with 2 VARCHAR primary keys · 188899cd
      unknown authored
      - post review changes
      
      
      188899cd
  9. 22 Jan, 2007 1 commit
    • unknown's avatar
      bug#25746 ndb: 4209 error with 2 VARCHAR primary keys · 5f9e20de
      unknown authored
      - make sure keys are copied correctly when varchar has 2 length bytes
      - test case
      
      
      mysql-test/r/ndb_basic.result:
        bug#25746 ndb: 4209 error with 2 VARCHAR primary keys
        - test case
      mysql-test/t/ndb_basic.test:
        bug#25746 ndb: 4209 error with 2 VARCHAR primary keys
        - test case
      sql/ha_ndbcluster.cc:
        bug#25746 ndb: 4209 error with 2 VARCHAR primary keys
        - make sure keys are copied correctly when varchar has 2 length bytes
      5f9e20de
  10. 19 Jan, 2007 10 commits
  11. 18 Jan, 2007 10 commits
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/41 · b8ae1138
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/50
      
      
      mysql-test/r/ndb_types.result:
        Auto merged
      mysql-test/t/ndb_types.test:
        Auto merged
      b8ae1138
    • unknown's avatar
      ndb_types.test: sleep a bit longer, to ensure that timestamp > @now · 4fda992b
      unknown authored
      
      mysql-test/r/ndb_types.result:
        update results
      mysql-test/t/ndb_types.test:
        Sleep a bit longer, to ensure that timestamp changes between:
        set @now = now();
        and:
        insert into/update t1
        
        Test case failed (select timestamp>@now from t1 ==> 0, should be 1), and passed when run again.  This should(?) avoid that fluke.
        
        Clean up test file a bit while I'm here.
      4fda992b
    • unknown's avatar
      Makefile.am: Fix previous bad merge. Re-enable the test-ps target. · d0cfcce4
      unknown authored
      
      Makefile.am:
        Fix previous bad merge.  Re-enable the test-ps target.
      d0cfcce4
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/41 · 377fc51a
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/50
      
      
      sql/sql_parse.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      377fc51a
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/40 · d1824f12
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/41
      
      
      d1824f12
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · c90839bb
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/50
      
      
      c90839bb
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/50 · e594d616
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/50
      
      
      client/mysqlbinlog.cc:
        Auto merged
      include/my_pthread.h:
        Auto merged
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/mix_innodb_myisam_binlog.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_parse.cc:
        Manual merge
      e594d616
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/41 · 3d62df33
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/41
      
      
      sql/sql_show.cc:
        Auto merged
      sql/sql_parse.cc:
        Manual merge
      3d62df33
    • unknown's avatar
      Merge recycle.(none):/src/bug22807/my50-bug22807 · 45b9c2dc
      unknown authored
      into  recycle.(none):/src/mysql-5.0-maint
      
      
      client/mysql_upgrade.c:
        Auto merged
      include/my_sys.h:
        Auto merged
      mysys/string.c:
        Auto merged
      45b9c2dc
    • unknown's avatar
      Bug#22807 mysql_upgrade fails when called with a basedir-path containing spaces · b1bfec73
      unknown authored
      - Create space safe strings for system() calls in mysql_upgrade.exe
      
      
      client/mysql_upgrade.c:
        Bug#22807 mysql_upgrade fails when called with a basedir-path containing spaces
        - Make use of new dynstr_append_os_quoted function to produce a string safe for
        passing to the system() function.                                              
        - Refactor possible source of assertion.
      include/my_sys.h:
        Bug#22807 mysql_upgrade fails when called with a basedir-path containing spaces
        - Declare dynstr_append_os_quoted function.
      mysys/string.c:
        Bug#22807 mysql_upgrade fails when called with a basedir-path containing spaces
        - Define dynstr_append_os_quoted function.  This function will concatenate any 
        number of strings, escapes any OS quote in the result then surround the whole  
        affair in another set of quotes which is finally appended to specified         
        DYNAMIC_STRING.
      b1bfec73