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. · 488b904a
      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.
      488b904a
  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 · 2409ce0e
      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
      2409ce0e
    • unknown's avatar
      BUG#21715 mgm client command <id> status return version(0.0.0.0) · 529d9fb9
      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.
      529d9fb9
  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 · 4ac671d7
      unknown authored
      into  clam.ndb.mysql.com:/export/space/pekka/ndb/version/my50-ndb
      
      4ac671d7
    • unknown's avatar
      Merge willster.(none):/home/stewart/Documents/MySQL/5.0/ndb · 65bc609c
      unknown authored
      into  willster.(none):/home/stewart/Documents/MySQL/5.0/bug25487
      
      65bc609c
    • unknown's avatar
      ndb - bug#25562 use byte-size max_data_length() when setting blob part size · 8bf01218
      unknown authored
      
      sql/ha_ndbcluster.cc:
        bug#25562 use byte-size max_data_length() when setting blob part size
      8bf01218
    • unknown's avatar
      round up Transporter connect timeout · e9b959ff
      unknown authored
      
      ndb/src/common/transporter/Transporter.cpp:
        change so timeout is rounded up to nearest second
      e9b959ff
    • unknown's avatar
      Bug #25487 deleting ndb_cluster_connection object takes long time · 31126248
      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
      31126248
    • unknown's avatar
      ndb - bug#22013 · f677538d
      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
      f677538d
    • unknown's avatar
      bug#25746 ndb: 4209 error with 2 VARCHAR primary keys · 2f633a11
      unknown authored
      - post review changes
      
      2f633a11
  9. 22 Jan, 2007 1 commit
    • unknown's avatar
      bug#25746 ndb: 4209 error with 2 VARCHAR primary keys · 15f091d6
      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
      15f091d6
  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 · c9c575a3
      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
      c9c575a3
    • unknown's avatar
      ndb_types.test: sleep a bit longer, to ensure that timestamp > @now · b514d1fa
      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.
      b514d1fa
    • unknown's avatar
      Makefile.am: Fix previous bad merge. Re-enable the test-ps target. · 19ad2eb2
      unknown authored
      
      Makefile.am:
        Fix previous bad merge.  Re-enable the test-ps target.
      19ad2eb2
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/41 · f5664a03
      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
      f5664a03
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/40 · 8c162cf7
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/41
      
      8c162cf7
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · adfd5490
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/50
      
      adfd5490
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/50 · 5d8e8f78
      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
      5d8e8f78
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/41 · 628add23
      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
      628add23
    • unknown's avatar
      Merge recycle.(none):/src/bug22807/my50-bug22807 · 7f949fcc
      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
      7f949fcc
    • unknown's avatar
      Bug#22807 mysql_upgrade fails when called with a basedir-path containing spaces · e1e62795
      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.
      e1e62795