1. 17 Dec, 2004 2 commits
    • 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
  2. 16 Dec, 2004 26 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
      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
      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
      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
  3. 15 Dec, 2004 12 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 79bf1ca8
      unknown authored
      into mysql.com:/home/cps/mysql/trees/autofail/mysql-5.0
      
      
      79bf1ca8
    • unknown's avatar
      Fix for IM compilation failure (reported be Ramil). · e87d4e6d
      unknown authored
      
      server-tools/instance-manager/thread_registry.h:
        Fix for the problem, encountered by Ramil
      e87d4e6d
    • unknown's avatar
      wl2240 - test prg for distribution keys wrt ordered indexes · 61680336
      unknown authored
      
      ndb/test/include/HugoOperations.hpp:
        Fix pkRead on ordered index
      ndb/test/ndbapi/testPartitioning.cpp:
        Update test prg to handled ordered indexes aswell
      ndb/test/src/HugoOperations.cpp:
        Fix pkRead on ordered index
      ndb/test/src/HugoTransactions.cpp:
        Fix pkRead on ordered index
      61680336
    • unknown's avatar
      wl2240 - ndb - fix typo · ce897872
      unknown authored
      
      ndb/src/ndbapi/NdbOperationSearch.cpp:
        Fix typo
      ce897872
    • unknown's avatar
      wl2240 - ndb partitioning bug fixes for range scans · 7bc419f5
      unknown authored
      
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Fix setting of dist keys for ordered indexes
      ndb/src/ndbapi/NdbOperationSearch.cpp:
        Remove support for combined distribution key and range scan
      sql/ha_ndbcluster.cc:
        Merge error with wl2126
      7bc419f5
    • unknown's avatar
      Merge jlindstrom@bk-internal.mysql.com:/home/bk/mysql-5.0 · 18150150
      unknown authored
      into hundin.mysql.fi:/home/jan/new/mysql-5.0
      
      
      18150150
    • unknown's avatar
      wl2126 - ndb - merge and ifdef still waiting for inge · 527b18aa
      unknown authored
      
      sql/ha_ndbcluster.cc:
        #ifdef on key_multi_range
      sql/ha_ndbcluster.h:
        Use forward declarations for key_multi_range
      527b18aa
    • unknown's avatar
      Merge · ae971ecd
      unknown authored
      
      ndb/include/kernel/AttributeHeader.hpp:
        Auto merged
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
        Auto merged
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Auto merged
      ndb/test/include/HugoOperations.hpp:
        Auto merged
      ndb/test/ndbapi/testOIBasic.cpp:
        Auto merged
      ndb/test/src/HugoOperations.cpp:
        Auto merged
      ndb/test/src/HugoTransactions.cpp:
        Auto merged
      ndb/test/src/UtilTransactions.cpp:
        Auto merged
      ndb/tools/select_count.cpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      ndb/include/ndbapi/NdbDictionary.hpp:
        SCCS merged
      ndb/src/ndbapi/NdbDictionary.cpp:
        SCCS merged
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        SCCS merged
      ae971ecd
    • unknown's avatar
      wl2240 - ndb - scan only 1 fragment if possible · 7a7ac8f6
      unknown authored
      
      ndb/src/common/debugger/signaldata/ScanTab.cpp:
        Fix printout
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Set distribution key for ordered indexes
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Allow create_index_object to modify index_table
      ndb/tools/restore/consumer_restore.cpp:
        Allow create_index_object to modify index_table
      7a7ac8f6
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · 09206a94
      unknown authored
      into shark.:/space/ndbdev/clone-mysql-5.0-ndb-daily-2004-12-14
      
      
      09206a94
    • unknown's avatar
      don't compile instance-manager by default, as it never compiles · 14987c6b
      unknown authored
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      14987c6b
    • unknown's avatar
      wl2240 - ndb partitioning, bug fixes · 9c81f43b
      unknown authored
      
      ndb/src/common/debugger/signaldata/ScanTab.cpp:
        Fix printout of SCAN_TABREQ
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Set correct status on scanfrag record
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Fix setting of distribution key wrt scan
      ndb/tools/select_count.cpp:
        Fix select_count
      9c81f43b