1. 20 Dec, 2004 1 commit
    • unknown's avatar
      Merge 5.0-ndb into local, resolve conflicts · 7e5be0fe
      unknown authored
      
      ndb/src/kernel/main.cpp:
        Auto merged
      ndb/src/kernel/vm/Configuration.hpp:
        Auto merged
      ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Auto merged
      ndb/src/mgmsrv/Services.cpp:
        Auto merged
      ndb/src/mgmsrv/Services.hpp:
        Auto merged
      ndb/include/transporter/TransporterRegistry.hpp:
        Resolve merge conflict (change of parameter name)
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Resolve merge conflict (change of parameter name)
      7e5be0fe
  2. 17 Dec, 2004 6 commits
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 3863b25c
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      3863b25c
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · 7099d8e6
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/tools/restore/consumer_restore.cpp:
        Auto merged
      7099d8e6
    • unknown's avatar
      bug#7379 & bug#7346 - ndb_restore · b181f610
      unknown authored
      
      ndb/tools/restore/consumer_restore.cpp:
        1) Fix bug when blobs and multiple databases bug#7379
        2) Fix bug #7346
      ndb/tools/restore/consumer_restore.hpp:
        Moved tuple handle into callback object 
          instead of having separate array
        Declared m_transactions volatile
      b181f610
    • unknown's avatar
      ndb: wl-1893: range scanning backwards, ndb kernel · 3465e155
      unknown authored
      
      ndb/include/kernel/signaldata/AccScan.hpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/include/kernel/signaldata/ScanFrag.hpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/include/kernel/signaldata/ScanTab.hpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/include/ndbapi/NdbScanOperation.hpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/common/debugger/signaldata/ScanTab.cpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/kernel/blocks/dblqh/Dblqh.hpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/kernel/blocks/dbtux/Dbtux.hpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/kernel/blocks/dbtux/DbtuxCmp.cpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/kernel/blocks/dbtux/DbtuxDebug.cpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/kernel/blocks/dbtux/DbtuxNode.cpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/kernel/blocks/dbtux/DbtuxScan.cpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/kernel/blocks/dbtux/DbtuxSearch.cpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/kernel/blocks/dbtux/DbtuxTree.cpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/src/ndbapi/NdbScanOperation.cpp:
        wl-1893: range scanning backwards, ndb kernel
      ndb/tools/select_all.cpp:
        wl-1893: range scanning backwards, ndb kernel
      sql/ha_ndbcluster.cc:
        wl-1893: range scanning backwards, ndb kernel
      3465e155
    • unknown's avatar
      ndb: small fixes (error codes, debug stuff) · 755874c8
      unknown authored
      
      ndb/test/ndbapi/testDeadlock.cpp:
        for broken compilers
      sql/ha_ndbcluster.cc:
        Use DBUG_PRINT since DBUG_FILE cannot be filtered out
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        missing DBUG_RETURN
      ndb/include/kernel/signaldata/TupFrag.hpp:
        fix some error codes
      ndb/include/kernel/signaldata/TuxMaint.hpp:
        fix some error codes
      ndb/include/ndbapi/NdbBlob.hpp:
        fix some error codes
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        fix some error codes
      ndb/src/ndbapi/ndberror.c:
        fix some error codes
      755874c8
    • unknown's avatar
      Remove unneeded debug. · 9035f5cf
      unknown authored
      Improve indenting.
      
      
      9035f5cf
  3. 16 Dec, 2004 32 commits
    • unknown's avatar
      merge · ff51fe45
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      configure.in:
        Auto merged
      ndb/include/Makefile.am:
        Auto merged
      ndb/include/mgmapi/mgmapi.h:
        Auto merged
      ndb/include/ndbapi/NdbConnection.hpp:
        Auto merged
      ndb/include/ndbapi/NdbDictionary.hpp:
        Auto merged
      ndb/src/common/debugger/EventLogger.cpp:
        Auto merged
      ndb/src/common/logger/Logger.cpp:
        Auto merged
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        Auto merged
      ndb/src/common/util/Makefile.am:
        Auto merged
      ndb/src/common/util/version.c:
        Auto merged
      ndb/src/kernel/blocks/dbacc/Makefile.am:
        Auto merged
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/Dbdih.hpp:
        Auto merged
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        Auto merged
      ndb/src/kernel/main.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      ndb/src/kernel/vm/Configuration.cpp:
        Auto merged
      ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      ndb/src/mgmsrv/CommandInterpreter.cpp:
        Auto merged
      ndb/src/mgmsrv/InitConfigFileParser.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        Auto merged
      ndb/src/mgmsrv/Services.cpp:
        Auto merged
      ndb/src/mgmsrv/Services.hpp:
        Auto merged
      ndb/src/mgmsrv/main.cpp:
        Auto merged
      ndb/src/ndbapi/Makefile.am:
        Auto merged
      ndb/src/ndbapi/NdbBlob.cpp:
        Auto merged
      ndb/src/ndbapi/NdbConnection.cpp:
        Auto merged
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Auto merged
      ndb/src/ndbapi/ndberror.c:
        Auto merged
      ndb/test/ndbapi/Makefile.am:
        Auto merged
      ndb/test/tools/Makefile.am:
        Auto merged
      ndb/tools/Makefile.am:
        Auto merged
      scripts/make_win_src_distribution.sh:
        Auto merged
      ff51fe45
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · a9c0a0df
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      server-tools/instance-manager/Makefile.am:
        Auto merged
      a9c0a0df
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · 8e24d09a
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      8e24d09a
    • unknown's avatar
      merge · 4935b27c
      unknown authored
      4935b27c
    • unknown's avatar
      merge · 80c1bddd
      unknown authored
      
      ndb/include/transporter/TransporterRegistry.hpp:
        Auto merged
      ndb/src/kernel/main.cpp:
        Auto merged
      80c1bddd
    • unknown's avatar
      wl2240 - fix handling of distribution key wrt unique indexes · 1fefa5b3
      unknown authored
      
      ndb/include/kernel/AttributeDescriptor.hpp:
        removed unused
      ndb/include/kernel/ndb_limits.h:
        removed unused
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Differentiate between nullable columns and null fields
          TUP wants sum all other want #null cols
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Differentiate between nullable columns and null fields
          TUP wants sum all other want #null cols
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        Handle distribution key and collation in same subroutine
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Handle distribution key and collation in same subroutine
      ndb/src/kernel/vm/VMSignal.hpp:
        Increase size of signal->theData to 32k
      ndb/test/ndbapi/testPartitioning.cpp:
        better usage
      1fefa5b3
    • unknown's avatar
      Merge anna@bk-internal.mysql.com:/home/bk/mysql-5.0 · f9b1e2de
      unknown authored
      into arthur.local:/my/mysql-5.0-clean
      
      
      f9b1e2de
    • unknown's avatar
      Removed incorrect messages; fixed serbian messages. · 2ae67b02
      unknown authored
      
      sql/share/errmsg.txt:
        Removed incorrect error messages; Fixed serbian messages.
      2ae67b02
    • unknown's avatar
      Fix for BUG#7266. · 8a8c2272
      unknown authored
      
      mysql-test/r/greedy_optimizer.result:
        Adjusted query costs accordingly.
      sql/sql_select.cc:
        Someone added this 0.001 cost factor to best_extension_by_limited_search(), but forgot to
        add it to the old version of the optimizer - find_best().
      8a8c2272
    • unknown's avatar
      Merge jlindstrom@bk-internal.mysql.com:/home/bk/mysql-5.0 · f0f0e628
      unknown authored
      into hundin.mysql.fi:/home/jan/new/mysql-5.0
      
      
      f0f0e628
    • unknown's avatar
      errmsg.txt: · c04ac3c5
      unknown authored
        My attempt N3
      
      
      sql/share/errmsg.txt:
        My attempt N3
      c04ac3c5
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · b564fb78
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/5.0.b6843
      
      
      b564fb78
    • unknown's avatar
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 08eb1638
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/5.0.b6843
      
      
      08eb1638
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 8c5a5c32
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL/mysql-5.0.n
      
      
      8c5a5c32
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · db849cf5
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL/mysql-5.0.n
      
      
      db849cf5
    • unknown's avatar
    • unknown's avatar
      A fix (Bug #6843: Wrong function name crashes MySQL if mysql.proc table is missi · f94cb2b9
      unknown authored
                  
      
      
      sql/sp.cc:
        A fix (Bug #6843: Wrong function name crashes MySQL if mysql.proc table is missi
        We test current_select (in case of error) in the my_message_sql().
      f94cb2b9
    • unknown's avatar
      Fix the following: · ae3ea5a9
      unknown authored
      ndb_mgm_set_int_parameter
      ndb_mgm_set_int64_parameter
      ndb_mgm_set_string_parameter
      
      
      ndb/src/mgmapi/mgmapi.cpp:
        Don't include a ': ' at the end of an args.put() name.
        
        It is likely that the following calls don't work before this checkin:
        ndb_mgm_set_int_parameter
        ndb_mgm_set_int64_parameter
        ndb_mgm_set_string_parameter
        
        luckily nobody was actually calling these.
      ae3ea5a9
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · 22ae0abb
      unknown authored
      into mysql.com:/home/mydev/mysql-5.0-wl2126
      
      
      22ae0abb
    • unknown's avatar
      Changed C++-ism into C in client_test.c. · 92022992
      unknown authored
      
      tests/client_test.c:
        Moved variable declaration to the beginning of the block.
        (It's a C file, not C++)
      92022992
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · 48e1cea3
      unknown authored
      into mysql.com:/home/mydev/mysql-5.0-wl2126
      
      
      48e1cea3
    • unknown's avatar
      Enlarged group item key_length by a varstring length field. · 9a2c0bd9
      unknown authored
      Group item fields are implemented as varstrings nowadays.
      Made init_connect.test robust against existing t1.
      
      
      mysql-test/r/init_connect.result:
        Made init_connect.test robust against existing t1.
      mysql-test/t/init_connect.test:
        Made init_connect.test robust against existing t1.
      sql/sql_select.cc:
        Enlarged group item key_length by a varstring length field.
        Group item fields are implemented as varstrings nowadays.
      9a2c0bd9
    • unknown's avatar
      wl2240 - ndb - more testing · 66f7bd24
      unknown authored
      
      ndb/test/ndbapi/testPartitioning.cpp:
        Update test partitioning to add primary keys (distribution keys)
          incase of either 
        - only 1 primary key
        - primary keys with charsets
      ndb/test/src/HugoCalculator.cpp:
        Fix so that Hugo can cope with pk's in the "end" of the table
      66f7bd24
    • unknown's avatar
      Portability fix in libmysql (FreeBSD) · eaec00b1
      unknown authored
      
      include/my_global.h:
        Define UINT_MAX8
      libmysql/libmysql.c:
        Replace defines for insteger limits with their custom MySQL versions.
      eaec00b1
    • unknown's avatar
      finish Impl 1 "report port" of WL2278 · 90b34155
      unknown authored
      Dynamic port allocation of cluster nodes:
      Impl 1 is reporting the port used back to the mgmd. No actual dynamic ports.
      
      
      ndb/src/common/mgmcommon/IPCConfig.cpp:
        pass correct node id to add_transporter_interface.
        
        remoteNodeId is what we want, and is what we're now passing
      ndb/src/mgmapi/mgmapi.cpp:
        Don't use a ': ' at the end of args.put calls.
      ndb/src/mgmsrv/Services.cpp:
        Fix indenting
      90b34155
    • unknown's avatar
      Added support for a CREATE TABLE...AUTO_INCREMENT = x in InnoDB. · d518f871
      unknown authored
      
      sql/ha_innodb.cc:
        Added support for a CREATE TABLE...AUTO_INCREMENT = x; Note that the new
        value for auto increment field is set if the new values is creater than
        the maximum value in the column.
      d518f871
    • unknown's avatar
      Add DBUG_PRINT to ndb_mgm_call when we encounter arguments (Properties) that... · 82b5701b
      unknown authored
      Add DBUG_PRINT to ndb_mgm_call when we encounter arguments (Properties) that we are going to ignore (not send to mgmd).
      
      
      ndb/src/mgmapi/mgmapi.cpp:
        Add DBUG_PRINT to ndb_mgm_call when we encounter arguments (Properties)
        that we are going to ignore.
        
        Useful in debugging additions to mgmapi.
      82b5701b
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/ndb · dbb4671b
      unknown authored
      into mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-port
      
      
      dbb4671b
    • unknown's avatar
      Merge mysql.com:/home/stewart/Documents/MySQL/5.0/ndb · 007c9e29
      unknown authored
      into mysql.com:/home/stewart/Documents/MySQL/5.0/ndb-dynamic-port
      
      
      ndb/include/transporter/TransporterRegistry.hpp:
        Auto merged
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Auto merged
      ndb/src/kernel/main.cpp:
        Auto merged
      007c9e29
    • unknown's avatar
      Further work on WL2278 · ff99dce1
      unknown authored
      Add calls to mgmd after setting up connections.
      (not fully functional yet, checkin for pull)
      
      
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        add get_mgmHandle() member function
      ndb/include/transporter/TransporterRegistry.hpp:
        Add remoteNodeId parameter to add_transporter interface
        
        add get_transporter() and get_localNodeID()
        
        these are required for getting the right information out of TransporterRegistry to inform mgmd of what ports we use to connect to other nodes.
      ndb/src/common/mgmcommon/IPCConfig.cpp:
        call add_transporter_interface with the new nodeId2 parameter
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Implement additional (remoteNodeId) parameter in add_transporter_interface
        
        Implement get_transporter()
      ndb/src/kernel/main.cpp:
        Call ndb_mgm_set_connection_int_parameter() to tell mgmd what ports we use to connect to other nodes.
      ndb/src/kernel/vm/Configuration.hpp:
        add get_config_retriever()
      ndb/src/mgmapi/mgmapi.cpp:
        Add DBUG_ENTER call to ndb_mgm_set_connection_int_parameter
      ndb/src/ndbapi/TransporterFacade.hpp:
        Add get_registry()
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Add call to ndb_mgm_set_connection_int_parameter to tell mgmd what ports we use to connect to other nodes.
      ff99dce1
    • unknown's avatar
      Data truncation reporting implementation (libmysql) + post review · 7845f99a
      unknown authored
      fixes. Still to do: 
      -  deploy my_strtoll10 in limbysql.c
      - add mysql_options option to switch MYSQL_DATA_TRUNCATED on and off.
      
      
      include/my_time.h:
        More calls are shared between client and server (libmysql now performs
        more intelligent date->number and number->date conversions).
        TODO: rename those which are not starting with 'my_'
      include/mysql.h:
        MYSQL_BIND:
        - more elaborated comment
        - some of the ex-private members were given public names - 
          it's sometimes convenient to set bind->error to &bind->error_value.
          However Monty questions the idea, so it should be given
          more thought in future.
        - added new members to support data truncation.
        Added new return value of mysql_stmt_fetch, MYSQL_DATA_TRUNCATED.
      libmysql/libmysql.c:
        - added support for data truncation during fetch
        - implementation for is_binary_compatible: now conversion functions
          are used less frequently
        - we now use number_to_datetime and TIME_to_ulonglong for date->number and
          number->date conversions
      sql-common/my_time.c:
        - added implementation of date->number and number->date calls shared 
          between client and server (moved from time.cc).
      sql/field.cc:
        - implemented Field_time::store_time() to better support date->time
          conversions in prepared mode. After-review fixes.
      sql/field.h:
        - Field::store_time now returns int
      sql/mysql_priv.h:
        - removed date->number and number->date conversion functions headers
          (moved to my_time.h)
      sql/time.cc:
        - removed implementation of date->number and number->date conversion
          functions (moved to my_time.c)
      tests/client_test.c:
        - added a test case for data truncation; other test cases adjusted.
        - fixed my_process_stmt_result to set STMT_ATTR_UPDATE_MAX_LENGTH (tables
          are now printed out prettier).
      7845f99a
  4. 15 Dec, 2004 1 commit