1. 20 Dec, 2004 1 commit
    • unknown's avatar
      logging_ok: · 4435b72c
      unknown authored
        Logging to logging@openlogging.org accepted
      compile-amd64-max, compile-amd64-debug-max:
        new file
      
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      4435b72c
  2. 17 Dec, 2004 5 commits
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb · e57fe106
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      e57fe106
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · f67391bd
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0-ndb
      
      
      ndb/tools/restore/consumer_restore.cpp:
        Auto merged
      f67391bd
    • unknown's avatar
      bug#7379 & bug#7346 - ndb_restore · 96a95530
      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
      96a95530
    • unknown's avatar
      ndb: wl-1893: range scanning backwards, ndb kernel · 21ea39ea
      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
      21ea39ea
    • unknown's avatar
      ndb: small fixes (error codes, debug stuff) · 5e45d161
      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
      5e45d161
  3. 16 Dec, 2004 26 commits
    • unknown's avatar
      merge · be5c8d87
      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
      be5c8d87
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · f1145aa6
      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
      f1145aa6
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · c510b046
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      c510b046
    • unknown's avatar
      merge · 25451e72
      unknown authored
      25451e72
    • unknown's avatar
      merge · 5282ebd1
      unknown authored
      
      ndb/include/transporter/TransporterRegistry.hpp:
        Auto merged
      ndb/src/kernel/main.cpp:
        Auto merged
      5282ebd1
    • unknown's avatar
      wl2240 - fix handling of distribution key wrt unique indexes · 48ad2bea
      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
      48ad2bea
    • unknown's avatar
      Merge anna@bk-internal.mysql.com:/home/bk/mysql-5.0 · 88b1137e
      unknown authored
      into arthur.local:/my/mysql-5.0-clean
      
      88b1137e
    • unknown's avatar
      Removed incorrect messages; fixed serbian messages. · a4890710
      unknown authored
      
      sql/share/errmsg.txt:
        Removed incorrect error messages; Fixed serbian messages.
      a4890710
    • unknown's avatar
      Fix for BUG#7266. · 80916e8f
      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().
      80916e8f
    • unknown's avatar
      Merge jlindstrom@bk-internal.mysql.com:/home/bk/mysql-5.0 · 87b7fcd0
      unknown authored
      into hundin.mysql.fi:/home/jan/new/mysql-5.0
      
      87b7fcd0
    • unknown's avatar
      errmsg.txt: · f471a4c0
      unknown authored
        My attempt N3
      
      
      sql/share/errmsg.txt:
        My attempt N3
      f471a4c0
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · c77c0d23
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/5.0.b6843
      
      c77c0d23
    • unknown's avatar
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · b9b25d1b
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/5.0.b6843
      
      b9b25d1b
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 4270b2d6
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL/mysql-5.0.n
      
      4270b2d6
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 93e5d753
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL/mysql-5.0.n
      
      93e5d753
    • unknown's avatar
    • unknown's avatar
      A fix (Bug #6843: Wrong function name crashes MySQL if mysql.proc table is missi · f706eb94
      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().
      f706eb94
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · 024fee13
      unknown authored
      into mysql.com:/home/mydev/mysql-5.0-wl2126
      
      024fee13
    • unknown's avatar
      Changed C++-ism into C in client_test.c. · a5a7395d
      unknown authored
      
      tests/client_test.c:
        Moved variable declaration to the beginning of the block.
        (It's a C file, not C++)
      a5a7395d
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · c819d412
      unknown authored
      into mysql.com:/home/mydev/mysql-5.0-wl2126
      
      c819d412
    • unknown's avatar
      Enlarged group item key_length by a varstring length field. · afc14126
      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.
      afc14126
    • unknown's avatar
      wl2240 - ndb - more testing · 5b08a9ed
      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
      5b08a9ed
    • unknown's avatar
      Portability fix in libmysql (FreeBSD) · 141379cd
      unknown authored
      
      include/my_global.h:
        Define UINT_MAX8
      libmysql/libmysql.c:
        Replace defines for insteger limits with their custom MySQL versions.
      141379cd
    • unknown's avatar
      Added support for a CREATE TABLE...AUTO_INCREMENT = x in InnoDB. · f9706509
      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.
      f9706509
    • unknown's avatar
      Data truncation reporting implementation (libmysql) + post review · d2d33183
      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).
      d2d33183
  4. 15 Dec, 2004 8 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 8ab04bcf
      unknown authored
      into mysql.com:/home/cps/mysql/trees/autofail/mysql-5.0
      
      8ab04bcf
    • unknown's avatar
      Fix for IM compilation failure (reported be Ramil). · 2fae80d6
      unknown authored
      
      server-tools/instance-manager/thread_registry.h:
        Fix for the problem, encountered by Ramil
      2fae80d6
    • unknown's avatar
      wl2240 - test prg for distribution keys wrt ordered indexes · 397a96da
      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
      397a96da
    • unknown's avatar
      wl2240 - ndb - fix typo · a11d7d7b
      unknown authored
      
      ndb/src/ndbapi/NdbOperationSearch.cpp:
        Fix typo
      a11d7d7b
    • unknown's avatar
      wl2240 - ndb partitioning bug fixes for range scans · bc0472bd
      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
      bc0472bd
    • unknown's avatar
      Merge jlindstrom@bk-internal.mysql.com:/home/bk/mysql-5.0 · f32e0633
      unknown authored
      into hundin.mysql.fi:/home/jan/new/mysql-5.0
      
      f32e0633
    • unknown's avatar
      wl2126 - ndb - merge and ifdef still waiting for inge · 2cafdeb2
      unknown authored
      
      sql/ha_ndbcluster.cc:
        #ifdef on key_multi_range
      sql/ha_ndbcluster.h:
        Use forward declarations for key_multi_range
      2cafdeb2
    • unknown's avatar
      Merge · b131151b
      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
      b131151b