1. 01 Nov, 2006 2 commits
    • unknown's avatar
      Merge dev3-138.dev.cn.tlan:/home/zhl/mysql/mysql-5.0/bug21052 · 5f4d1673
      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
      5f4d1673
    • unknown's avatar
      BUG#21052 Modify the overflow error existed in last patch. · b8f078a4
      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.
      b8f078a4
  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... · e5d7516e
      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.
      e5d7516e
    • unknown's avatar
      Bug#19454: Some values of MaxNoOfTriggers can stop a server · e1fb031f
      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
      e1fb031f
    • unknown's avatar
      add a new mgmapi ndb_mgm_get_db_parameter_info, which retrieve parameter's name · 8f7696e5
      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''
      8f7696e5
  5. 13 Oct, 2006 2 commits
    • unknown's avatar
      ndb - fixed for BUG#15021, binlog_index table become inconsistent if errors... · 36a923f7
      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.
      36a923f7
    • unknown's avatar
      Merge dli@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · 13419841
      unknown authored
      into  dev3-76.dev.cn.tlan:/home/dli/mysql/mysql-5.1/mysql-5.1-new-ndb-bj
      
      13419841
  6. 12 Oct, 2006 7 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · eb401f07
      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
      eb401f07
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 6ca1ecd4
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-work
      
      
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        Auto merged
      6ca1ecd4
    • unknown's avatar
      ndb - missing if for bug#21941 · 7ea7e327
      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
      7ea7e327
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 9bfd6add
      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
      9bfd6add
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 092cf80a
      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
      092cf80a
    • unknown's avatar
      ndb - bug#23210 · d3b8190f
      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"
      d3b8190f
    • unknown's avatar
      fixed for BUG#21519, 'MySQLD Err msg "Management server closed connection"... · d6b5a6d8
      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.
      d6b5a6d8
  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 · f0162ddf
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      storage/ndb/tools/restore/restore_main.cpp:
        Auto merged
      f0162ddf
    • unknown's avatar
      ndb - · c4534097
      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
      c4534097
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.1 · 948a9ddd
      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
      948a9ddd
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-work · cf57931d
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      cf57931d
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/50-work · 0b0169d9
      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
      0b0169d9
    • unknown's avatar
      ndb - bug#23107 · 6ef83b2e
      unknown authored
        fix bug in test prg
      
      6ef83b2e
    • unknown's avatar
      ndb - bug#23107 · 7f470530
      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
      7f470530
  9. 09 Oct, 2006 5 commits
    • unknown's avatar
      ndb - tux scan 5.1 post-merge fix · c3a491b1
      unknown authored
      c3a491b1
    • unknown's avatar
      Merge orca.ndb.mysql.com:/export/home/space/pekka/ndb/version/my50-bug20446 · fe598555
      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
      fe598555
    • unknown's avatar
      ndb - bug#20446: fix + other TUX scan improvements · 0a3f4063
      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)
      0a3f4063
    • unknown's avatar
      Merge orca.ndb.mysql.com:/export/home/space/pekka/ndb/version/my50-bug20446 · 00353ad1
      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
      00353ad1
    • unknown's avatar
      ndb - bug#20446: test case and cleanups (not fix) · e578f61f
      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
      e578f61f
  10. 08 Oct, 2006 3 commits
  11. 06 Oct, 2006 4 commits
    • unknown's avatar
      ndb - bug#22893 · 9c2562d1
      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)
      9c2562d1
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG22937/mysql-5.0-engines · fb8bfdc5
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG22937/mysql-5.1-engines
      
      
      storage/myisammrg/ha_myisammrg.cc:
        Auto merged
      fb8bfdc5
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG22937/mysql-4.1-engines · 1d6f4eeb
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG22937/mysql-5.0-engines
      
      
      sql/ha_myisammrg.cc:
        Manual merge.
      1d6f4eeb
    • unknown's avatar
      Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-4.1-engines · 44253ab7
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG22937/mysql-4.1-engines
      
      44253ab7