1. 01 Nov, 2006 2 commits
    • unknown's avatar
      Merge dev3-138.dev.cn.tlan:/home/zhl/mysql/mysql-5.0/bug21052 · ce801142
      unknown authored
      into  dev3-138.dev.cn.tlan:/home/zhl/mysql/mysql-5.1/bug21052
      
      
      storage/ndb/include/ndbapi/ndberror.h:
        Auto merged
      storage/ndb/src/mgmsrv/Services.cpp:
        Auto merged
      storage/ndb/src/ndbapi/ndberror.c:
        Auto merged
      ce801142
    • unknown's avatar
      BUG#21052 Modify the overflow error existed in last patch. · e997b362
      unknown authored
      
      ndb/include/ndbapi/ndberror.h:
        Change unsigned int to int
      ndb/src/mgmsrv/Services.cpp:
        Modify the overflow error existed in last patch. Change ther length of m_text to 512.
      ndb/src/ndbapi/ndberror.c:
        Change the parameter of ndb_error_string from unsinged int to int.
      e997b362
  2. 20 Oct, 2006 5 commits
  3. 19 Oct, 2006 1 commit
  4. 18 Oct, 2006 3 commits
    • unknown's avatar
      BUG #14612 If a restore is done on a slave cluster, yet the apply_status and... · e1922f0b
      unknown authored
      BUG #14612 If a restore is done on a slave cluster, yet the apply_status and schema tables don't exist,
                 ndb_restore tool should create them.
      
      
      storage/ndb/tools/restore/consumer.hpp:
        Add create apply_status and schema system table method when they don't exist.
      storage/ndb/tools/restore/consumer_restore.cpp:
        Implement to create apply_status and schema system table method when they don't exist.
      storage/ndb/tools/restore/consumer_restore.hpp:
        Add create apply_status and schema system table method when they don't exist.
      storage/ndb/tools/restore/restore_main.cpp:
        if apply_status and schema system tables don't exist, create them also.
      e1922f0b
    • unknown's avatar
      Bug#19454: Some values of MaxNoOfTriggers can stop a server · 72059a9b
      unknown authored
      correct segment fault in setSize(), 
      and improve the error message with displaying the specific parameter's name if malloc fail
      
      
      storage/ndb/src/kernel/blocks/dbtup/DbtupGen.cpp:
        add an argument refer to the ID of a parameter which will be malloced
      storage/ndb/src/kernel/vm/ArrayPool.hpp:
        in setSize(), correct the segment default due to overflow of two 32-bit interger's multiply
      72059a9b
    • unknown's avatar
      add a new mgmapi ndb_mgm_get_db_parameter_info, which retrieve parameter's name · e1a12250
      unknown authored
      
      storage/ndb/include/mgmapi/mgmapi.h:
        add a new function declaration
      storage/ndb/src/mgmapi/Makefile.am:
        add a link of a new file ParamInfo.cpp which locate in mgmsrv dir
      storage/ndb/src/mgmapi/mgmapi_configuration.cpp:
        add a new mgmapi function ndb_mgm_get_db_parameter_info
      storage/ndb/src/mgmsrv/ParamInfo.cpp:
        New BitKeeper file ``storage/ndb/src/mgmsrv/ParamInfo.cpp''
        initialization information of all parameters, this copy from mgmsrv/ConfigInfo.cpp
      storage/ndb/src/mgmsrv/ParamInfo.hpp:
        New BitKeeper file ``storage/ndb/src/mgmsrv/ParamInfo.hpp''
      e1a12250
  5. 13 Oct, 2006 2 commits
    • unknown's avatar
      ndb - fixed for BUG#15021, binlog_index table become inconsistent if errors... · 3def506b
      unknown authored
      ndb - fixed for BUG#15021, binlog_index table become inconsistent if errors during purge of binlogs.
      if EMFILE error occured while purging binary logs, stop purging logs and report error message to user.
      
      
      mysys/my_open.c:
        report EMFILE error when opening file failed.
      sql/log.cc:
        report EMFILE error when purging logs, and stop purging logs when EMFILE error occured.
      sql/log.h:
        added LOG_INFO_EMFILE error number.
      sql/share/errmsg.txt:
        added EMFILE error message for purging binary logs.
      sql/sql_repl.cc:
        added EMFILE error message.
      sql/table.cc:
        report EMFILE error.
      3def506b
    • unknown's avatar
      Merge dli@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · 994ce8f2
      unknown authored
      into  dev3-76.dev.cn.tlan:/home/dli/mysql/mysql-5.1/mysql-5.1-new-ndb-bj
      
      
      994ce8f2
  6. 12 Oct, 2006 7 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · 38edc8ad
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      38edc8ad
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 38910a86
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        Auto merged
      38910a86
    • unknown's avatar
      ndb - missing if for bug#21941 · 2acf07aa
      unknown authored
        note this does not happen in 5.0, but i'm committing it here to keep code same between 5.0 and 5.1
      
      
      ndb/src/ndbapi/NdbScanOperation.cpp:
        missing if for bug#21941
      2acf07aa
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 4d0b2435
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/kernel/blocks/ERROR_codes.txt:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        merge
      4d0b2435
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 2f3ac777
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/ERROR_codes.txt:
        merge
      2f3ac777
    • unknown's avatar
      ndb - bug#23210 · 855c4e06
      unknown authored
        Fix race-condition between COPY_GCIREQ (GCP) and lcpSetActiveStatusEnd
        Solution is _not_ to copy sysfileData from COPY_GCIREQ from "self"
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        Add error insert for dealying of copy sysfileData
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        1) Add error insert for delaying of sysfileData
        2) Change to that master is _not_ copying sysfileData from COPY_GCIREQ
           as it might be updating it while COPY_GCIREQ is "in the fly"
      855c4e06
    • unknown's avatar
      fixed for BUG#21519, 'MySQLD Err msg "Management server closed connection"... · 5edab966
      unknown authored
      fixed for BUG#21519, 'MySQLD Err msg "Management server closed connection" needs date & time stamp'.
      added date & time stamp for the messages that will be printed to the mysqld message file.
      
      
      storage/ndb/src/common/transporter/OSE_Receiver.cpp:
        added date & time stamp for the messages.
      storage/ndb/src/common/transporter/TCP_Transporter.cpp:
        added date & time stamp for the messages.
      storage/ndb/src/common/transporter/TransporterRegistry.cpp:
        added date & time stamp for the messages.
      5edab966
  7. 11 Oct, 2006 1 commit
  8. 10 Oct, 2006 7 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · ef0ee764
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      storage/ndb/tools/restore/restore_main.cpp:
        Auto merged
      ef0ee764
    • unknown's avatar
      ndb - · ff604cb7
      unknown authored
        ndb_restore Return OK even if temporary errors
          (otherwise mysql-test-run/ndb_restore can fail on really slow machines)
      
      
      storage/ndb/tools/restore/restore_main.cpp:
        Return OK even if temporary errors
      ff604cb7
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.1 · e833ecae
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      client/mysqldump.c:
        Auto merged
      client/mysqltest.c:
        Auto merged
      mysql-test/r/csv.result:
        Auto merged
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/t/csv.test:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      mysql-test/t/func_time.test:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      storage/csv/ha_tina.cc:
        Auto merged
      storage/innobase/btr/btr0btr.c:
        Auto merged
      storage/innobase/buf/buf0buf.c:
        Auto merged
      storage/innobase/dict/dict0dict.c:
        Auto merged
      storage/innobase/fil/fil0fil.c:
        Auto merged
      storage/innobase/fsp/fsp0fsp.c:
        Auto merged
      storage/innobase/handler/ha_innodb.cc:
        Auto merged
      storage/innobase/include/btr0cur.ic:
        Auto merged
      storage/innobase/log/log0log.c:
        Auto merged
      storage/innobase/log/log0recv.c:
        Auto merged
      storage/innobase/os/os0file.c:
        Auto merged
      storage/innobase/row/row0mysql.c:
        Auto merged
      storage/innobase/row/row0sel.c:
        Auto merged
      storage/innobase/srv/srv0start.c:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      e833ecae
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · 6407b771
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      6407b771
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 7037b809
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testTimeout.cpp:
        Auto merged
      7037b809
    • unknown's avatar
      ndb - bug#23107 · 6b4507b9
      unknown authored
        fix bug in test prg
      
      
      6b4507b9
    • unknown's avatar
      ndb - bug#23107 · e486c517
      unknown authored
        fix bug in handling of inactive timeout for scan, when all is delivered
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        1) set timeout if all scans are at api
        2) Use c_appl_timeout_value when getting scan timeout
      ndb/test/ndbapi/testTimeout.cpp:
        test program
      e486c517
  9. 09 Oct, 2006 5 commits
    • unknown's avatar
      ndb - tux scan 5.1 post-merge fix · 9fceb877
      unknown authored
      9fceb877
    • unknown's avatar
      Merge orca.ndb.mysql.com:/export/home/space/pekka/ndb/version/my50-bug20446 · a667710f
      unknown authored
      into  orca.ndb.mysql.com:/export/home/space/pekka/ndb/version/my51-bug20446
      
      
      storage/ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        merge: manual
      storage/ndb/src/kernel/blocks/dbtux/DbtuxDebug.cpp:
        SCCS merged
      storage/ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp:
        SCCS merged
      storage/ndb/src/kernel/blocks/dbtux/DbtuxMaint.cpp:
        SCCS merged
      storage/ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
        SCCS merged
      storage/ndb/src/kernel/blocks/dbtux/DbtuxSearch.cpp:
        SCCS merged
      a667710f
    • unknown's avatar
      ndb - bug#20446: fix + other TUX scan improvements · eb97edf4
      unknown authored
      
      ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        fixes to move scan when entry removed: 1. do not check visibility to transaction 2. keep Blocked if moved to another version of same tuple 3. general improvements (remove m_match etc)
      ndb/src/kernel/blocks/dbtux/DbtuxDebug.cpp:
        fixes to move scan when entry removed: 1. do not check visibility to transaction 2. keep Blocked if moved to another version of same tuple 3. general improvements (remove m_match etc)
      ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp:
        fixes to move scan when entry removed: 1. do not check visibility to transaction 2. keep Blocked if moved to another version of same tuple 3. general improvements (remove m_match etc)
      ndb/src/kernel/blocks/dbtux/DbtuxMaint.cpp:
        fixes to move scan when entry removed: 1. do not check visibility to transaction 2. keep Blocked if moved to another version of same tuple 3. general improvements (remove m_match etc)
      ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
        fixes to move scan when entry removed: 1. do not check visibility to transaction 2. keep Blocked if moved to another version of same tuple 3. general improvements (remove m_match etc)
      ndb/src/kernel/blocks/dbtux/DbtuxSearch.cpp:
        fixes to move scan when entry removed: 1. do not check visibility to transaction 2. keep Blocked if moved to another version of same tuple 3. general improvements (remove m_match etc)
      eb97edf4
    • unknown's avatar
      Merge orca.ndb.mysql.com:/export/home/space/pekka/ndb/version/my50-bug20446 · c254a9cc
      unknown authored
      into  orca.ndb.mysql.com:/export/home/space/pekka/ndb/version/my51-bug20446
      
      
      storage/ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        SCCS merged
      storage/ndb/src/kernel/blocks/dbtux/DbtuxCmp.cpp:
        SCCS merged
      storage/ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp:
        SCCS merged
      storage/ndb/test/ndbapi/testOIBasic.cpp:
        merge: ur
      storage/ndb/test/run-test/daily-basic-tests.txt:
        SCCS merged
      c254a9cc
    • unknown's avatar
      ndb - bug#20446: test case and cleanups (not fix) · a82f6781
      unknown authored
      
      ndb/test/ndbapi/testOIBasic.cpp:
        test -case h for parallel ordered update (bug#20446)
      ndb/test/run-test/daily-basic-tests.txt:
        test -case h for parallel ordered update (bug#20446)
      ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        remove stupid Data abstraction which is not completely transparent
      ndb/src/kernel/blocks/dbtux/DbtuxCmp.cpp:
        remove stupid Data abstraction which is not completely transparent
      ndb/src/kernel/blocks/dbtux/DbtuxGen.cpp:
        remove stupid Data abstraction which is not completely transparent
      a82f6781
  10. 08 Oct, 2006 3 commits
  11. 06 Oct, 2006 4 commits
    • unknown's avatar
      ndb - bug#22893 · 311abf10
      unknown authored
        Add checking of REDO to earlier during SR
            so take-over of node can be performed
            if it can't be restarted using logs
            (which btw is really weird...as it _should_ be able to use logs of other node in node group)
      
        Otherwise cluster could be started and 1 fragment on one node could not have been restored
        Making the cluster inconsisten, VERY BAD
      
      
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Break-out methods which searches for REDO for a fragment, so it can be used earlier during SR
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Add checking of REDO to earlier during SR
          so take-over of node can be performed
          if it can't be restarted using logs
          (which btw is really weird...as it _should_ be able to use logs of other node in node group)
      311abf10
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG22937/mysql-5.0-engines · 4d7a6cf7
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG22937/mysql-5.1-engines
      
      
      storage/myisammrg/ha_myisammrg.cc:
        Auto merged
      4d7a6cf7
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG22937/mysql-4.1-engines · 12fb87ac
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG22937/mysql-5.0-engines
      
      
      sql/ha_myisammrg.cc:
        Manual merge.
      12fb87ac
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-4.1-engines · a6a93d6f
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG22937/mysql-4.1-engines
      
      
      a6a93d6f