1. 01 Aug, 2006 1 commit
    • unknown's avatar
      ndb - bug#21384 · e80d95a7
      unknown authored
        handle error in TCKEYREQ during TCINDXREQ better
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        new error code
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Add 3 values to isIndexOp
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        handle error in TCKEYREQ during TCINDXREQ
      ndb/test/ndbapi/testIndex.cpp:
        Add testcase
      ndb/test/run-test/daily-basic-tests.txt:
        Add testcase
      e80d95a7
  2. 07 Jul, 2006 1 commit
    • unknown's avatar
      ndb - bug#20904 · 31e3e753
      unknown authored
        Reset logpartstate if file_change_problem after writeing of zero page is done
      
      
      31e3e753
  3. 30 Jun, 2006 1 commit
    • unknown's avatar
      ndb - bug#20774 · 652a02f6
      unknown authored
        crash if system restart with more than 4096 fragments
        solution: continueb enable expand check loop
      
      
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        continueb enable expand check loop
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        continueb enable expand check loop
      652a02f6
  4. 29 Jun, 2006 1 commit
    • unknown's avatar
      ndb - autotest · 6efd848c
      unknown authored
        Fix testNodeRestart -n DuringLCP and others (add stopTest() at end of test :-))
      
      
      ndb/test/ndbapi/testNodeRestart.cpp:
        Fix testNodeRestart -n DuringLCP and others
      6efd848c
  5. 26 Jun, 2006 1 commit
    • unknown's avatar
      ndb - bug#20683 · 7072a63a
      unknown authored
        part 1 - make sure return code is propagated from request tracker
      
      
      ndb/src/kernel/vm/RequestTracker.hpp:
        propagate return value
      ndb/src/kernel/vm/SafeCounter.hpp:
        make sure object is not initialized in case of seize() failure, to make sure destructor doesnt assert
      7072a63a
  6. 22 Jun, 2006 1 commit
    • unknown's avatar
      ndb - bug#19164 · 505c2b3d
      unknown authored
        set max value on ports
      
      
      ndb/src/mgmsrv/ConfigInfo.cpp:
        set max vlue on ports
      505c2b3d
  7. 21 Jun, 2006 1 commit
    • unknown's avatar
      ndb - bug#20197 · e7e9cc25
      unknown authored
        also close scan which are in "delivered" state, as it's impossible to release locks afterwards
      
        backport from 5.1
      
      
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        ndb - bug#20197
          also close scan which are in "delivered" state, as it's impossible to release locks afterwards
      e7e9cc25
  8. 01 Jun, 2006 1 commit
    • unknown's avatar
      ndb - bug#20185 · 49a4c85b
      unknown authored
        Dont be too aggressive in Dbtc::nodeFailCheckTransaction
        let it timeout by 1, so that it does not assert that it has waited too long
        old impl. set timeotu value to 0, making timeout = (ctcTimer - 0) which could be quite big.
      
      
      ndb/src/kernel/blocks/ERROR_codes.txt:
        error codes
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        2 new error inserts
        7030 - delay in GCP_PREPARE until checkLocalNodefailComplete is true
        7031 - delay in GCP_PREPARE and die
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Dont set api con timer to 0, as this might trigger asserion in timeoutfound lab if state == PREPARE_TO_COMMIT
      ndb/test/ndbapi/testNodeRestart.cpp:
        testcase
      ndb/test/run-test/daily-basic-tests.txt:
        autotest
      49a4c85b
  9. 26 Apr, 2006 4 commits
    • unknown's avatar
      ndb - · 60873234
      unknown authored
        Unleash backup to write more than 32k at a time
        Using parameter BackupMaxWriteSize
        (greatly affect LCP time in 5.1, set default value to 256k)
      
      
      ndb/include/mgmapi/mgmapi_config_parameters.h:
        Add config fro max write size in backup
      ndb/src/kernel/blocks/backup/BackupInit.cpp:
        Unleash backup to write more than 32k at a time
      ndb/src/mgmsrv/ConfigInfo.cpp:
        Add config fro max write size in backup
      60873234
    • unknown's avatar
      ndb - backport from 5.1 · a4e32d4e
      unknown authored
        Fix alignment of sockaddr(_in)
      
      
      ndb/src/common/transporter/Transporter.cpp:
        Fix alignment of sockaddr(_in)
      ndb/src/mgmsrv/Services.cpp:
        Fix alignment of sockaddr(_in)
      a4e32d4e
    • unknown's avatar
      Add ndb_config to rpm spec · 4191b8a3
      unknown authored
      4191b8a3
    • unknown's avatar
      ndb - bug#17150 · 96b42ea0
      unknown authored
        ndb_mgmd limited no of api nodes, by restricting no of mgmsessions
        (these are used for dynamic port allocation)
      
      
      ndb/include/util/SocketServer.hpp:
        Increase default max session to ~0
      ndb/src/common/util/SocketServer.cpp:
        Increase default max session to ~0
      96b42ea0
  10. 25 Apr, 2006 1 commit
    • unknown's avatar
      ndb - bug#18597 · abc0d700
      unknown authored
        Handle early abort of scan, so that resources are correctly freed
      
      
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Handle early abort
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Handle early abort so that require on running.empty() does not fire
      abc0d700
  11. 18 Apr, 2006 1 commit
    • unknown's avatar
      ndb - · e0218948
      unknown authored
        fix api_signal_log print of uncond signals
      
      
      ndb/src/ndbapi/Ndbif.cpp:
        Send TC_COMMIT_ACK uncond
      ndb/src/ndbapi/TransporterFacade.cpp:
        Fix printout of uncond signals
      ndb/src/ndbapi/TransporterFacade.hpp:
        Fix printout of uncond signals
      e0218948
  12. 10 Apr, 2006 1 commit
    • unknown's avatar
      ndb - bug#17607 · 61873599
      unknown authored
        fix correct frag count in Backup block
      
      
      ndb/src/kernel/blocks/backup/BackupInit.cpp:
        Fix correct no of fragment records
      61873599
  13. 07 Apr, 2006 1 commit
  14. 06 Apr, 2006 4 commits
    • unknown's avatar
      ndb - bug#18612 - post review fixes · b96e8d7a
      unknown authored
        1) make sure that check_multi_node_shutdown does not proceed (in stop case)
        2) Fix printout
      
      
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        make sure that check_multi_node_shutdown does not proceed (in stop case)
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        make sure that check_multi_node_shutdown does not proceed (in stop case)
      b96e8d7a
    • unknown's avatar
      libmysql.c: · 00cfd1a7
      unknown authored
        Bug#18830: incompatibility new libraries with old server
        Don't execute SET NAMES with pre-4.1 server.
      
      
      libmysql/libmysql.c:
        Bug#18830: incompatibility new libraries with old server
        Don't execute SET NAMES with pre-4.1 server.
      00cfd1a7
    • unknown's avatar
      This problem has already been fixed by one of the previous changes. · 5475703b
      unknown authored
      Adding test case to cover queries which worked incorrectly earlier:
      Bug#18321: Can't store EuroSign with latin1_german1_ci and latin1_general_ci
      
      
      mysql-test/r/ctype_latin1.result:
        Adding test case for Bug#18321: Can't store EuroSign with latin1_german1_ci and latin1_general_ci
      mysql-test/t/ctype_latin1.test:
        Adding test case for Bug#18321: Can't store EuroSign with latin1_german1_ci and latin1_general_ci
      5475703b
    • unknown's avatar
      conf_to_src.c: · fafa4c5a
      unknown authored
        Backporting a 5.0 change:
        MAX_BUF was too small for Index.xml
        Changeing MAX_BUF and adding assert to easier
        catch the same problem in the future.
      ctype-extra.c:
        Regenerating ctype-extra.c with the fixed conf_to_src.
      
      
      strings/ctype-extra.c:
        Regenerating ctype-extra.c with the fixed conf_to_src.
      strings/conf_to_src.c:
        Backporting a 5.0 change:
        MAX_BUF was too small for Index.xml
        Changeing MAX_BUF and adding assert to easier
        catch the same problem in the future.
      fafa4c5a
  15. 03 Apr, 2006 8 commits
    • unknown's avatar
      ndb - · e15ff618
      unknown authored
        fix testprogam if only 1 node group
      
      
      ndb/test/ndbapi/testNodeRestart.cpp:
        fix testprogam if only 1 node group
      e15ff618
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · a47bba1f
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-4.1.12076
      
      
      a47bba1f
    • unknown's avatar
      ndb - · 4ffa1acc
      unknown authored
        Fix compile error...when compiling debug
      
      
      ndb/include/kernel/signaldata/FailRep.hpp:
        Fix compile error...when compiling debug
      4ffa1acc
    • unknown's avatar
      ndb - bug#18612 - partitioned startup · 063a0027
      unknown authored
        add testprg for SR case aswell
      
      
      ndb/test/ndbapi/testNodeRestart.cpp:
        Test also partitioned start during SR
      ndb/test/run-test/daily-basic-tests.txt:
        Test also partitioned start during SR
      063a0027
    • unknown's avatar
      ndb - bug#18612 · 3f5bfe4f
      unknown authored
        post weeked fixes :-)
        change impl. to use READ_NODESREQ to query state of other qmgr(partition)
          this as it has no (current) side effects, so that it's possible only to kill
          starting cluster (if one started and one starting)
      
      
      ndb/include/kernel/signaldata/FailRep.hpp:
        Add paritioned FAIL_REP
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Use READ_NODESREQ to query state of other QMGR (instead of CM_REGREQ)
      ndb/src/kernel/blocks/qmgr/QmgrInit.cpp:
        Use READ_NODESREQ to query state of other QMGR (instead of CM_REGREQ)
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Use READ_NODESREQ to query state of other QMGR (instead of CM_REGREQ)
      ndb/test/ndbapi/testNodeRestart.cpp:
        Require that only starting cluster dies
      3f5bfe4f
    • unknown's avatar
      Makefile.am: · 2574445e
      unknown authored
        Distribute mysql-test-run.pl
      
      
      mysql-test/Makefile.am:
        Distribute mysql-test-run.pl
      2574445e
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.0 · d2744ebc
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
      
      
      scripts/mysql_install_db.sh:
        Auto merged
      d2744ebc
    • unknown's avatar
      mysql_install_db.sh, MySQLEULA.txt, mysql_install_db.c: · e2b19a59
      unknown authored
        Changed web address order.mysql.com to shop.mysql.com
      
      
      netware/mysql_install_db.c:
        Changed web address order.mysql.com to shop.mysql.com
      Docs/MySQLEULA.txt:
        Changed web address order.mysql.com to shop.mysql.com
      scripts/mysql_install_db.sh:
        Changed web address order.mysql.com to shop.mysql.com
      e2b19a59
  16. 02 Apr, 2006 1 commit
    • unknown's avatar
      Makefile.am: · 6de1d9d3
      unknown authored
        Install Perl mysql-test-run into test directory
      
      
      mysql-test/Makefile.am:
        Install Perl mysql-test-run into test directory
      6de1d9d3
  17. 01 Apr, 2006 5 commits
    • unknown's avatar
      Makefile.am: · 2a4e2e8d
      unknown authored
        Let "make install" install mysql-test-run.pl
      mysql.spec.sh:
        Set $LDFLAGS from $MYSQL_BUILD_LDFLAGS (bug#16662)
      
      
      support-files/mysql.spec.sh:
        Set $LDFLAGS from $MYSQL_BUILD_LDFLAGS (bug#16662)
      mysql-test/Makefile.am:
        Let "make install" install mysql-test-run.pl
      2a4e2e8d
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.0 · 3eb7f2a2
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
      
      
      README:
        Auto merged
      3eb7f2a2
    • unknown's avatar
      README: · c19a6fc5
      unknown authored
        Typo (bug#17167)
      
      
      README:
        Typo (bug#17167)
      c19a6fc5
    • unknown's avatar
      acinclude.m4: · 1f762dab
      unknown authored
        Use CPPFLAGS when testing to link "libz" found in --with-zlib-dir=,
        and search the given include directory first (bug#18369)
      
      
      acinclude.m4:
        Use CPPFLAGS when testing to link "libz" found in --with-zlib-dir=,
        and search the given include directory first (bug#18369)
      1f762dab
    • unknown's avatar
      vcproj files: · 0ad405f9
      unknown authored
        Set MYSQL_SERVER_SUFFIX from build scripts, not hard
        code it into Visual Studio project files, bug#15974
      
      
      VC++Files/bdb/bdb.vcproj:
        Set MYSQL_SERVER_SUFFIX from build scripts, not hard code into project files, bug#15974
      VC++Files/innobase/innobase.vcproj:
        Set MYSQL_SERVER_SUFFIX from build scripts, not hard code into project files, bug#15974
      VC++Files/libmysqld/libmysqld.vcproj:
        Set MYSQL_SERVER_SUFFIX from build scripts, not hard code into project files, bug#15974
      VC++Files/mysqldemb/mysqldemb.vcproj:
        Set MYSQL_SERVER_SUFFIX from build scripts, not hard code into project files, bug#15974
      VC++Files/mysys/mysys.vcproj:
        Set MYSQL_SERVER_SUFFIX from build scripts, not hard code into project files, bug#15974
      VC++Files/sql/mysqld.vcproj:
        Set MYSQL_SERVER_SUFFIX from build scripts, not hard code into project files, bug#15974
      0ad405f9
  18. 31 Mar, 2006 4 commits
    • unknown's avatar
      ndb - autotest · 9319c2c7
      unknown authored
        add new testpgrom for bug#18612 to autotest
      
      
      ndb/test/run-test/daily-basic-tests.txt:
        Add new testprogram to autotest
      9319c2c7
    • unknown's avatar
      ndb - bug#18612 (detection of partitioned cluster) · c961fefd
      unknown authored
        this also impl. gcp safe multi node shutdown
        1) block gcp
        2) wait for ongoing gcp
        3) inform all stopping QMGR's (so that they don't start with error handler)
        4) wait for all QMGR's to reply
        5) broadcast failrep for stopping nodes
        6) (if !master died) unblock gcp
      
        
      
      
      ndb/include/kernel/signaldata/DumpStateOrd.hpp:
        Impl. GCP safe multi node shutdown in order to test bug#18612
      ndb/include/kernel/signaldata/FailRep.hpp:
        Impl. GCP safe multi node shutdown in order to test bug#18612
      ndb/include/kernel/signaldata/StopReq.hpp:
        Impl. GCP safe multi node shutdown in order to test bug#18612
      ndb/src/kernel/blocks/ndbcntr/Ndbcntr.hpp:
        Impl. GCP safe multi node shutdown in order to test bug#18612
      ndb/src/kernel/blocks/ndbcntr/NdbcntrInit.cpp:
        Impl. GCP safe multi node shutdown in order to test bug#18612
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Impl. GCP safe multi node shutdown in order to test bug#18612
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Impl. GCP safe multi node shutdown in order to test bug#18612
      ndb/src/kernel/blocks/qmgr/QmgrInit.cpp:
        Impl. GCP safe multi node shutdown in order to test bug#18612
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Impl. GCP safe multi node shutdown in order to test bug#18612
      ndb/test/ndbapi/testNodeRestart.cpp:
        test program for bug#18612
      c961fefd
    • unknown's avatar
      ndb - add support for blocking/unblocking GCP using WAIT_GCP_REQ · 7efbf0af
      unknown authored
      
      ndb/include/kernel/signaldata/WaitGCP.hpp:
        Add supprt for block/unblocking GCP
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Add supprt for block/unblocking GCP
      7efbf0af
    • unknown's avatar
      ndb - bug#16447 · e2b6987a
      unknown authored
        correct return value in check_cm_cmregreq
      
      
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Fix bug in bug#16447
      ndb/test/src/NdbRestarts.cpp:
        Fix bug in test program
      e2b6987a
  19. 30 Mar, 2006 2 commits
    • unknown's avatar
      ndb - bug#15695 bug#16447 bug#18612 · 5a25026d
      unknown authored
        For various reasone have a partitioned cluster been created
        This patch makes sure that when they connect
        1) it's detected
        2) shutdown is forced
      
      
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        New dump/error insert for simulating network failure
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        1) Activly detect paritioned cluster(s)
        2) add some documentation
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        1) Activly detect paritioned cluster(s)
        2) add some documentation
      5a25026d
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · ff4de905
      unknown authored
      into sunlight.local:/local_work/15560-bug-4.1-mysql
      
      
      sql/sql_table.cc:
        Auto merged
      ff4de905