1. 01 Jun, 2006 1 commit
    • unknown's avatar
      ndb - bug#20185 · 0eb906ef
      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
      0eb906ef
  2. 26 Apr, 2006 4 commits
    • unknown's avatar
      ndb - · 04a3fce5
      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
      04a3fce5
    • unknown's avatar
      ndb - backport from 5.1 · afb632b1
      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)
      afb632b1
    • unknown's avatar
      Add ndb_config to rpm spec · ff4776c1
      unknown authored
      ff4776c1
    • unknown's avatar
      ndb - bug#17150 · 6c8d568f
      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
      6c8d568f
  3. 25 Apr, 2006 1 commit
    • unknown's avatar
      ndb - bug#18597 · 17741f9c
      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
      17741f9c
  4. 18 Apr, 2006 1 commit
    • unknown's avatar
      ndb - · ffbda096
      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
      ffbda096
  5. 10 Apr, 2006 1 commit
    • unknown's avatar
      ndb - bug#17607 · 7d0d3fb2
      unknown authored
        fix correct frag count in Backup block
      
      
      ndb/src/kernel/blocks/backup/BackupInit.cpp:
        Fix correct no of fragment records
      7d0d3fb2
  6. 07 Apr, 2006 1 commit
  7. 06 Apr, 2006 4 commits
    • unknown's avatar
      ndb - bug#18612 - post review fixes · 1a12de71
      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)
      1a12de71
    • unknown's avatar
      libmysql.c: · 82c1be05
      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.
      82c1be05
    • unknown's avatar
      This problem has already been fixed by one of the previous changes. · 6423230d
      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
      6423230d
    • unknown's avatar
      conf_to_src.c: · 56dba198
      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.
      56dba198
  8. 03 Apr, 2006 8 commits
    • unknown's avatar
      ndb - · 1dc85e36
      unknown authored
        fix testprogam if only 1 node group
      
      
      ndb/test/ndbapi/testNodeRestart.cpp:
        fix testprogam if only 1 node group
      1dc85e36
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · df6288ec
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-4.1.12076
      
      df6288ec
    • unknown's avatar
      ndb - · 525660d3
      unknown authored
        Fix compile error...when compiling debug
      
      
      ndb/include/kernel/signaldata/FailRep.hpp:
        Fix compile error...when compiling debug
      525660d3
    • unknown's avatar
      ndb - bug#18612 - partitioned startup · 0d59ecd4
      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
      0d59ecd4
    • unknown's avatar
      ndb - bug#18612 · 4c5c2019
      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
      4c5c2019
    • unknown's avatar
      Makefile.am: · 75553aba
      unknown authored
        Distribute mysql-test-run.pl
      
      
      mysql-test/Makefile.am:
        Distribute mysql-test-run.pl
      75553aba
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.0 · 86a8a0e9
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
      
      
      scripts/mysql_install_db.sh:
        Auto merged
      86a8a0e9
    • unknown's avatar
      mysql_install_db.sh, MySQLEULA.txt, mysql_install_db.c: · 6e636278
      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
      6e636278
  9. 02 Apr, 2006 1 commit
    • unknown's avatar
      Makefile.am: · c8fb1c17
      unknown authored
        Install Perl mysql-test-run into test directory
      
      
      mysql-test/Makefile.am:
        Install Perl mysql-test-run into test directory
      c8fb1c17
  10. 01 Apr, 2006 5 commits
    • unknown's avatar
      Makefile.am: · 67ccc002
      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
      67ccc002
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-4.0 · 96f80a2b
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
      
      
      README:
        Auto merged
      96f80a2b
    • unknown's avatar
      README: · bcc7bff4
      unknown authored
        Typo (bug#17167)
      
      
      README:
        Typo (bug#17167)
      bcc7bff4
    • unknown's avatar
      acinclude.m4: · 59ce92b9
      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)
      59ce92b9
    • unknown's avatar
      vcproj files: · 74eb78c9
      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
      74eb78c9
  11. 31 Mar, 2006 4 commits
    • unknown's avatar
      ndb - autotest · 4b189024
      unknown authored
        add new testpgrom for bug#18612 to autotest
      
      
      ndb/test/run-test/daily-basic-tests.txt:
        Add new testprogram to autotest
      4b189024
    • unknown's avatar
      ndb - bug#18612 (detection of partitioned cluster) · d428782c
      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
      d428782c
    • unknown's avatar
      ndb - add support for blocking/unblocking GCP using WAIT_GCP_REQ · af3b5f97
      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
      af3b5f97
    • unknown's avatar
      ndb - bug#16447 · a8bb2ea4
      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
      a8bb2ea4
  12. 30 Mar, 2006 4 commits
    • unknown's avatar
      ndb - bug#15695 bug#16447 bug#18612 · 8a40180c
      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
      8a40180c
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · c3d37fe8
      unknown authored
      into sunlight.local:/local_work/15560-bug-4.1-mysql
      
      
      sql/sql_table.cc:
        Auto merged
      c3d37fe8
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · e40f4b85
      unknown authored
      into  mysql.com:/home/my/mysql-4.1
      
      e40f4b85
    • unknown's avatar
      Cleanup during review of new pushed code · dcf6f270
      unknown authored
      
      sql/ha_heap.cc:
        Indentation fixes
      strings/ctype-ucs2.c:
        Simplify code
      tests/mysql_client_test.c:
        Remove compiler warnings
      dcf6f270
  13. 29 Mar, 2006 5 commits
    • unknown's avatar
      Fix error in prefix compression of keys in MyISAM when key length changed from 254 -> 255 · 0e974fbd
      unknown authored
      Bug #17705 "FT Index corruption occurs with UTF8 data..."
      (Actually, the bug had nothing to do with FT index but with general key compression)
      
      
      
      myisam/mi_search.c:
        Fix error in prefix compression of keys in MyISAM when key length changed from 254 -> 255
      mysql-test/r/ctype_utf8.result:
        Test of fix for key compression bug
      mysql-test/t/ctype_utf8.test:
        Test of fix for key compression bug
      0e974fbd
    • unknown's avatar
      mysql-test-run.pl: · 8854093f
      unknown authored
        Check that port range is valid, bug#16807
      
      
      mysql-test/mysql-test-run.pl:
        Check that port range is valid, bug#16807
      8854093f
    • unknown's avatar
      mysqld_safe.sh: · 8b77133b
      unknown authored
        Added --help option, bug#16392
      acinclude.m4:
        Use "$shrext_cmds" when testing if shared library exists, bug#16332
      
      
      acinclude.m4:
        Use "$shrext_cmds" when testing if shared library exists, bug#16332
      scripts/mysqld_safe.sh:
        Added --help option, bug#16392
      8b77133b
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 · 6a1648eb
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-4.1-new
      
      6a1648eb
    • unknown's avatar
      Makefile.am: · f6df79e3
      unknown authored
        Use "dist_bin_SCRIPTS" to get a script distributed
      
      
      ndb/tools/Makefile.am:
        Use "dist_bin_SCRIPTS" to get a script distributed
      f6df79e3