1. 26 Apr, 2006 6 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 66a9dbe1
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/include/mgmapi/mgmapi_config_parameters.h:
        Auto merged
      ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      ndb/src/kernel/blocks/backup/BackupInit.cpp:
        merge
      66a9dbe1
    • 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
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · ae0cb755
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/include/util/SocketServer.hpp:
        Auto merged
      ndb/src/common/transporter/Transporter.cpp:
        Auto merged
      ndb/src/common/util/SocketServer.cpp:
        Auto merged
      ndb/src/mgmsrv/Services.cpp:
        Auto merged
      support-files/mysql.spec.sh:
        Auto merged
      ae0cb755
    • 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
  2. 25 Apr, 2006 2 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · e36d11b9
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      e36d11b9
    • 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
  3. 18 Apr, 2006 3 commits
    • unknown's avatar
      ndb - · dbdd870b
      unknown authored
        post merge
      
      
      ndb/src/ndbapi/TransporterFacade.hpp:
        merge fix
      dbdd870b
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 2146735e
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/ndbapi/Ndbif.cpp:
        Auto merged
      ndb/src/ndbapi/TransporterFacade.cpp:
        Auto merged
      ndb/src/ndbapi/TransporterFacade.hpp:
        Auto merged
      2146735e
    • 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
  4. 10 Apr, 2006 3 commits
    • unknown's avatar
      ndb - bug#17607 · d2d3a1a8
      unknown authored
        4.1->5.0 merge
      
      
      ndb/src/kernel/blocks/backup/Backup.cpp:
        post merge fix
      d2d3a1a8
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · c52f3503
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/backup/BackupInit.cpp:
        merge
      c52f3503
    • 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
  5. 07 Apr, 2006 5 commits
    • unknown's avatar
      ndb - bug#11034 · 8dcec7b0
      unknown authored
        fix mem leak (not during running of transactions, but a few bytes when shutting down)
      
      
      ndb/src/ndbapi/NdbLinHash.hpp:
        Make sure that getNext(0) actually finds first element
      8dcec7b0
    • unknown's avatar
      ndb - bug#11033 · 58bd74c3
      unknown authored
        silent valgrind warnings 5.0, ndb_autodiscover
      
      
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        append 4 bytes of 0's to end of buffer to shut valgrind up
      58bd74c3
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.0 · a956401f
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      a956401f
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/mysql-4.1 · c35d2656
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/41-work
      
      c35d2656
    • unknown's avatar
      ndb - · 88751baf
      unknown authored
        remove debug prinouts in Qmgr
      
      
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        remove debug prinouts
      88751baf
  6. 06 Apr, 2006 14 commits
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 462ef4b1
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Auto merged
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Auto merged
      462ef4b1
    • 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
      post merge fixes · 833fd6c8
      unknown authored
      833fd6c8
    • unknown's avatar
      ndb - wl1760/bug#18216 · 9a864f19
      unknown authored
        add two new start options that will decrease likelyhood of bug#18612
        push cntr-sp2 logic down into qmgr-sp1 to decrease likelyhood of bug#18612
      
      
      ndb/include/kernel/signaldata/CmRegSignalData.hpp:
        Expand CmRegReq with lots of stuff
      ndb/include/mgmapi/ndb_logevent.h:
        Add Start report during sp1
      ndb/src/common/debugger/EventLogger.cpp:
        Add Start report during sp1
      ndb/src/kernel/blocks/dbdih/DbdihInit.cpp:
        Init cntrref
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Fix small bugs related to partial initial start
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Remove timeouts as they are handled in QMGR nowadays
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Push cntr sp2 logic down to QMGR to prevent the forming of multiple QMGR cluster
          that will lead to start problems (crashes...)
      ndb/src/kernel/blocks/qmgr/QmgrInit.cpp:
        Push cntr sp2 logic down to QMGR to prevent the forming of multiple QMGR cluster
          that will lead to start problems (crashes...)
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Push cntr sp2 logic down to QMGR to prevent the forming of multiple QMGR cluster
          that will lead to start problems (crashes...)
      ndb/src/kernel/vm/Configuration.cpp:
        Add new flags
          --initial-start
          --nowait-nodes
      9a864f19
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · bf803371
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.0
      
      bf803371
    • unknown's avatar
      Moving mysql_get_server_version() from libmysql.c to client.c, · ba49c29d
      unknown authored
      as it is now required by mysql_set_character_set()
      
      
      libmysql/libmysql.c:
        Removing mysql_get_server_version()
      sql-common/client.c:
        Adding mysql_get_server_version()
      ba49c29d
    • unknown's avatar
      client.c: · 1a6f7c6d
      unknown authored
        Bug#18830 incompatibility new libraries with old server
        Additional 5.0 fix:
        applying the same patch to client.c.
      
      
      sql-common/client.c:
        Bug#18830 incompatibility new libraries with old server
        Additional 5.0 fix:
        applying the same patch to client.c.
      1a6f7c6d
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1 · efff3c00
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      libmysql/libmysql.c:
        Bug#18830 incompatibility new libraries with old server
        Mergeing from 4.1
      efff3c00
    • 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
      Merge mysql.com:/usr/home/bar/mysql-4.1 · e6ab763c
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      e6ab763c
    • 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
      ctype-extra.c: · 07b5476b
      unknown authored
        Using local.
      
      
      strings/ctype-extra.c:
        Using local.
      07b5476b
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1 · 7bcff99e
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      strings/conf_to_src.c:
        Auto merged
      7bcff99e
    • 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
  7. 05 Apr, 2006 7 commits
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · aa482ce8
      unknown authored
      into  rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      aa482ce8
    • unknown's avatar
      conf_to_src.c: · 931b9694
      unknown authored
        Buffer was too small to load Index.xml.
        So some charsets were not gerenrated.
        Making the buffer bigger, and adding an DBUG_ASSERT,
        to easier catch the problem in the future.
      ctype-extra.c:
        Additional charsets were generated.
      
      
      strings/ctype-extra.c:
        Additional charsets were generated.
      strings/conf_to_src.c:
        Buffer was too small to load Index.xml.
        So some charsets were not gerenrated.
        Making the buffer bigger, and adding an DBUG_ASSERT,
        to easier catch the problem in the future.
      931b9694
    • unknown's avatar
      merge · 7db1ee7f
      unknown authored
      7db1ee7f
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 78e2681f
      unknown authored
      into sunlight.local:/local_work/16281-bug-5.0-mysql
      
      
      sql/field.h:
        Auto merged
      78e2681f
    • unknown's avatar
      Fixed bug #16281: Multi-table update broken in 5.0 on tables imported from 4.1 · 6c191f7a
      unknown authored
      Mutli-table uses temporary table to store new values for fields. With the
      new values the rowid of the record to be updated is stored in a Field_string
      field. Table to be updated is set as source table of the rowid field.
      But when the temporary table creates the tmp field for the rowid field it
      converts it to a varstring field because the table to be updated was created by
      the v4.1. Due to this the stored rowids were broken and no records for 
      update were found.
      
      The flag can_alter_field_type is added to Field_string class. When it is set to
      0 the field won't be converted to varstring. The Field_string::type() function 
      now always returns MYSQL_TYPE_STRING if can_alter_field_type is set to 0.
      The multi_update::initialize_tables() function now sets can_alter_field_type
      flag to 0 for the rowid fields denying conversion of the field to a varstring
      field.
      
      
      
      sql/field.h:
        Fixed bug #16281: Multi-table update broken in 5.0 on tables imported from 4.1
        The flag can_alter_field_type is added to Field_string class. When it is set to
        0 the field won't be converted to varstring.
        The Field_string::type() function now always returns MYSQL_TYPE_STRING if 
        can_alter_field_type is set to 0.
      sql/sql_update.cc:
        Fixed bug #16281: Multi-table update broken in 5.0 on tables imported from 4.1
        The multi_update::initialize_tables() function now sets can_alter_field_type
        flag to 0 for the rowid fields denying conversion of the field to a varstring
        field.
      6c191f7a
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/41-work · 11b38c52
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/50-work
      
      
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/ndbcntr/Ndbcntr.hpp:
        Auto merged
      ndb/src/kernel/blocks/ndbcntr/NdbcntrInit.cpp:
        Auto merged
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Auto merged
      ndb/test/ndbapi/testNodeRestart.cpp:
        Auto merged
      ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      ndb/test/src/NdbRestarts.cpp:
        Auto merged
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        merge
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        merge
      ndb/src/kernel/blocks/qmgr/QmgrInit.cpp:
        merge
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        merge
      11b38c52
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 4a7d5ac2
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.0
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      4a7d5ac2