1. 17 Jan, 2006 7 commits
    • unknown's avatar
      Merge c-0c0be253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.1-new · 6254506d
      unknown authored
      into  c-0c0be253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/wl2604-push
      
      6254506d
    • unknown's avatar
      65ad51b2
    • unknown's avatar
      Merge c-0c0be253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.1-new · ce213d15
      unknown authored
      into  c-0c0be253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/wl2604-push
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      sql/ha_ndbcluster_binlog.cc:
        Auto merged
      ce213d15
    • unknown's avatar
    • unknown's avatar
      WL #2604: Partition Management · b770b9bf
      unknown authored
      Optimised version of ADD/DROP/REORGANIZE partitions for
      non-NDB storage engines.
      New syntax to handle REBUILD/OPTIMIZE/ANALYZE/CHECK/REPAIR partitions
      Quite a few bug fixes
      
      
      include/thr_lock.h:
        New method to downgrade locks from TL_WRITE_ONLY
        Possibility to upgrade lock while aborting locks
      mysql-test/r/ndb_autodiscover.result:
        Fix for lowercase and that all NDB tables are now partitioned
      mysql-test/r/ndb_bitfield.result:
        Fix for lowercase and that all NDB tables are now partitioned
      mysql-test/r/ndb_gis.result:
        Fix for lowercase and that all NDB tables are now partitioned
      mysql-test/r/ndb_partition_key.result:
        New test case
      mysql-test/r/partition.result:
        New test case
      mysql-test/r/partition_error.result:
        New test case
      mysql-test/r/partition_mgm_err.result:
        Fix of test case results
      mysql-test/t/disabled.def:
        partition_03ndb still has bug
      mysql-test/t/ndb_partition_key.test:
        New test cases for new functionality and bugs
      mysql-test/t/partition.test:
        New test cases for new functionality and bugs
      mysql-test/t/partition_error.test:
        New test cases for new functionality and bugs
      mysql-test/t/partition_mgm_err.test:
        New test cases for new functionality and bugs
      mysys/thr_lock.c:
        New method to downgrade TL_WRITE_ONLY locks
        Possibility to specify if locks are to be upgraded at abort locks
      sql/ha_archive.cc:
        New handlerton methods
      sql/ha_berkeley.cc:
        New handlerton methods
      sql/ha_blackhole.cc:
        New handlerton methods
      sql/ha_federated.cc:
        New handlerton methods
      sql/ha_heap.cc:
        New handlerton methods
      sql/ha_innodb.cc:
        New handlerton methods
      sql/ha_myisam.cc:
        New handlerton methods
      sql/ha_myisammrg.cc:
        New handlerton methods
      sql/ha_ndbcluster.cc:
        New handlerton methods
        Moved out packfrm and unpackfrm methods
        Adapted many parts to use table_share instead of table->s
        Ensured that .ndb file uses filename and not tablename
        according to new encoding of names (WL 1324)
        All NDB tables are partitioned and set up partition info
        Fixed such that tablenames use tablenames and not filenames in NDB
        NDB uses auto partitioning for ENGINE=NDB tables
        Warning for very large tables
        Set RANGE data
        Set LIST data
        New method to set-up partition info
        Set Default number of partitions flag
        Set linear hash flag
        Set node group array
        Set number of fragments
        Set max rows
        Set tablespace names
        New method to get number of partitions of table to use at open table
      sql/ha_ndbcluster.h:
        Removed partition_flags and alter_table_flags from handler class
        A couple of new and changed method headers
      sql/ha_ndbcluster_binlog.cc:
        Use new method headers
      sql/ha_partition.cc:
        New handlerton methods
        Lots of new function headers
        Use #P# as separator between table name and partition name and
        #SP# as separator between partition name and subpartition name
        Use filename encoding for files both of table name part and of
        partition name parts
        New method to drop partitions based on partition state
        New method to rename partitions based on partition state
        New methods to optimize, analyze, check and repair partitions
        New methods to optimize, analyze, check and repair table
        Helper method to create new partition, open it and external lock
        it, not needed to lock it internally since no one else knows about
        it yet.
        Cleanup method at error for new partitions
        New methods to perform bulk of work at ADD/REORGANIZE partitions
        (change_partitions, copy_partitions)
      sql/ha_partition.h:
        New methods and variables
        A few dropped ones and a few changed ones
      sql/handler.cc:
        Handlerton interface changes
        New flag to open_table_from_share
      sql/handler.h:
        New alter_table_flags
        New partition flags
        New partition states
        More states for default handling
        Lots of new, dropped and changed interfaces
      sql/lex.h:
        Added REBUILD and changed name of REORGANISE to REORGANIZE
      sql/lock.cc:
        Method to downgrade locks
        Able to specify if locks upgraded on abort locks
      sql/log.cc:
        New handlerton methods
      sql/mysql_priv.h:
        Lots of new interfaces
      sql/share/errmsg.txt:
        Lots of new, dropped and changed error messages
      sql/sql_base.cc:
        Adapted to new method headers
        New method to abort and upgrade lock
        New method to close open tables and downgrade lock
        New method to wait for completed table
      sql/sql_lex.h:
        New flags
      sql/sql_partition.cc:
        Return int instead of bool in get_partition_id
        More defaults handling
        Make use of new mem_alloc_error method
        More work on function headers
        Changes to generate partition syntax to cater for intermediate
        partition states
        Lots of new code with large comments describing new features for
        Partition Management:
        ADD/DROP/REORGANIZE/OPTIMIZE/ANALYZE/CHECK/REPAIR partitions
      sql/sql_show.cc:
        Minors
      sql/sql_table.cc:
        Moved a couple of methods
        New methods to copy create lists and key lists
        for use with mysql_prepare_table
        New method to write frm file
        New handling of handlers with auto partitioning
        Fix CREATE TABLE LIKE
        Moved code for ADD/DROP/REORGANIZE partitions
        Use handlerton method for alter_table_flags
      sql/sql_yacc.yy:
        More memory alloc error checks
        New syntax for REBUILD, ANALYZE, CHECK, OPTIMIZE, REPAIR partitions
      sql/table.cc:
        Fix length of extra part to be 4 bytes
        Partition state introduced in frm file
      sql/table.h:
        Partition state introduced
      sql/unireg.cc:
        Partition state introduced
        Default partition
      storage/csv/ha_tina.cc:
        New handlerton methods
      storage/example/ha_example.cc:
        New handlerton methods
      storage/ndb/include/kernel/ndb_limits.h:
        RANGE DATA
      storage/ndb/include/kernel/signaldata/AlterTable.hpp:
        New interfaces in ALTER TABLE towards NDB kernel
      storage/ndb/include/kernel/signaldata/DiAddTab.hpp:
        New section
      storage/ndb/include/kernel/signaldata/DictTabInfo.hpp:
        Lots of new parts of table description
      storage/ndb/include/kernel/signaldata/LqhFrag.hpp:
        tablespace id specified in LQHFRAGREQ
      storage/ndb/include/ndbapi/NdbDictionary.hpp:
        Lots of new methods in NDB dictionary
      storage/ndb/src/common/debugger/signaldata/DictTabInfo.cpp:
        Lots of new variables in table description
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Lots of new variables in table description
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Lots of new variables in table description
      storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        New error insertion
      storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
        a few extra jam's
      storage/ndb/src/ndbapi/NdbBlob.cpp:
        Changes to definition of blob tables
      storage/ndb/src/ndbapi/NdbDictionary.cpp:
        Lots of new stuff in NDB dictionary
      storage/ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Lots of new stuff in NDB dictionary
      storage/ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Lots of new stuff in NDB dictionary
      storage/ndb/test/ndbapi/test_event.cpp:
        removed use of methods no longer in existence
      storage/ndb/tools/restore/Restore.cpp:
        Renamed variable
      b770b9bf
    • unknown's avatar
      added option to run all ndb tests only · 2cd5febf
      unknown authored
      2cd5febf
    • unknown's avatar
      added assert for when ndb share is not released as it should · 4063e397
      unknown authored
      + corrected the bugs in this resuling from mysql-test-run
      +removed some debug printouts
      
      
      sql/ha_ndbcluster.cc:
        added assert for when ndb share is not released as it should
        + corrected the bugs in this resuling from mysql-test-run
      sql/ha_ndbcluster.h:
        added assert for when ndb share is not released as it should
        + corrected the bugs in this resuling from mysql-test-run
      sql/ha_ndbcluster_binlog.cc:
        added assert for when ndb share is not released as it should
        + corrected the bugs in this resuling from mysql-test-run
      storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp:
        removed some debug printouts
      4063e397
  2. 16 Jan, 2006 11 commits
  3. 15 Jan, 2006 5 commits
    • unknown's avatar
      ndb - fix ndb_restore on solaris · 19ab9de2
      unknown authored
        Fix alignment changes in tup page header
      
      
      storage/ndb/src/kernel/blocks/dbtup/Undo_buffer.cpp:
        Fix alignment changes in tup page header
      storage/ndb/src/kernel/blocks/suma/Suma.hpp:
        Fix alignment changes in tup page header
      19ab9de2
    • unknown's avatar
      Merge perch.ndb.mysql.com:/home/jonas/src/51-ndb · b0ee585b
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/51-new
      
      b0ee585b
    • unknown's avatar
      ndb dd - · 3b429d4f
      unknown authored
        Change default page buffer cache size
      
      
      mysql-test/ndb/ndb_config_1_node.ini:
        Add configuration of page buffer
      mysql-test/ndb/ndb_config_2_node.ini:
        Add configuration of page buffer
      mysql-test/ndb/ndb_config_4_node.ini:
        Add configuration of page buffer
      mysql-test/ndb/ndbcluster.sh:
        Add configuration of page buffer
      storage/ndb/include/kernel/ndb_limits.h:
        Hard code some limits (for now)...
      storage/ndb/include/mgmapi/mgmapi_config_parameters.h:
        Add configuration of page buffer
      storage/ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        Add configuration of page buffer
      storage/ndb/src/kernel/blocks/pgman.cpp:
        Add configuration of page buffer
      storage/ndb/src/kernel/blocks/restore.cpp:
        Add configuration of page buffer
      storage/ndb/src/mgmsrv/ConfigInfo.cpp:
        Change default page buffer caches from 1M (only used for testing) to realistic 64M
      3b429d4f
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 90facc3f
      unknown authored
      into  mysql.com:/home/alexi/dev/mysql-5.1-studio
      
      
      sql/log_event.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      90facc3f
    • unknown's avatar
      Changes to avoid compilation errors in MS Visual Studio 7.1 · 889f346e
      unknown authored
       (reviewed by Mats)
      
      
      sql/log_event.cc:
        Changes to avoid compilation errors in MS Visual Studio 7.1
      sql/sql_class.cc:
        Changes to avoid compilation errors in MS Visual Studio 7.1
      889f346e
  4. 14 Jan, 2006 1 commit
    • unknown's avatar
      Solaris compile fixes. · fee77993
      unknown authored
      
      sql/handler.cc:
        Fix missing return value, caused Solaris compile failure.
      fee77993
  5. 13 Jan, 2006 16 commits
    • unknown's avatar
      BUG#14194: Problem with fulltext boolean search and apostrophe · 927a9289
      unknown authored
      Fixed that single apostrophe was considered as a word character.
      
      
      mysql-test/r/fulltext.result:
        A test case for BUG#14194 added.
      mysql-test/t/fulltext.test:
        A test case for BUG#14194 added.
      storage/myisam/ftdefs.h:
        Fixed that single apostrophe was considered as a word character.
      927a9289
    • unknown's avatar
      BUG#13835: max key length is 1000 bytes when trying to create a fulltext index · 77ff000a
      unknown authored
      Allow fulltext index on VARCHAR columns longer than max key length.
      
      
      mysql-test/r/fulltext.result:
        A test case for BUG#13835 added.
      mysql-test/t/fulltext.test:
        A test case for BUG#13835 added.
      sql/sql_table.cc:
        Allow fulltext index on VARCHAR columns longer than max key length.
      77ff000a
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 9c4f0180
      unknown authored
      into  mysql.com:/space/pekka/ndb/version/my51
      
      9c4f0180
    • unknown's avatar
      ndb - wl#2972 event merge false by default => change option name · 6cd49ff3
      unknown authored
      
      storage/ndb/include/ndbapi/NdbEventOperation.hpp:
        event merge false by default => change option name
      storage/ndb/ndbapi-examples/ndbapi_event/ndbapi_event.cpp:
        event merge false by default => change option name
      storage/ndb/src/ndbapi/NdbEventOperation.cpp:
        event merge false by default => change option name
      storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp:
        event merge false by default => change option name
      storage/ndb/src/ndbapi/NdbEventOperationImpl.hpp:
        event merge false by default => change option name
      storage/ndb/test/ndbapi/test_event.cpp:
        event merge false by default => change option name
      storage/ndb/test/ndbapi/test_event_merge.cpp:
        event merge false by default => change option name
      6cd49ff3
    • unknown's avatar
      Merge mysql.com:/home/alik/MySQL/devel/5.0-bug15103 · 55e29e0d
      unknown authored
      into  mysql.com:/home/alik/MySQL/devel/5.1-tree
      
      
      include/config-win.h:
        Auto merged
      mysql-test/r/information_schema.result:
        Auto merged
      mysql-test/r/mysqldump.result:
        Auto merged
      mysql-test/r/rpl_ddl.result:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      55e29e0d
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · c034e80b
      unknown authored
      into  mysql.com:/home/alik/MySQL/devel/5.1-bug15110
      
      
      mysql-test/t/disabled.def:
        Auto merged
      c034e80b
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 6e7b81cc
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      6e7b81cc
    • unknown's avatar
      fix compile error on hp-ux setenv->putenv · 1203f7e0
      unknown authored
         print slave port as well
      
      
      client/mysqltest.c:
        fix compile error on hp-ux setenv->putenv
      mysql-test/mysql-test-run.sh:
        print slave port as well
      1203f7e0
    • unknown's avatar
      Merge BUG#15110 from 5.0 into 5.1. · 8af137a1
      unknown authored
      Merge mysql.com:/home/alik/MySQL/devel/5.0-bug15110
      into  mysql.com:/home/alik/MySQL/devel/5.1-bug15110
      
      
      BitKeeper/etc/ignore:
        auto-union
      client/mysqldump.c:
        Auto merged
      include/mysql_com.h:
        Auto merged
      mysql-test/r/mysqldump.result:
        Auto merged
      mysql-test/r/type_time.result:
        Auto merged
      sql/Makefile.am:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_trigger.cc:
        Auto merged
      client/Makefile.am:
        Add my_user.c
      include/Makefile.am:
        Add my_user.c
      libmysqld/Makefile.am:
        Add my_user.c
      mysql-test/t/disabled.def:
        Enable type_time.test
      sql/sql_parse.cc:
        Merge.
      8af137a1
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · deed0f0f
      unknown authored
      into moonbone.local:/work/15347-bug-5.0-mysql
      
      deed0f0f
    • unknown's avatar
      Merge · d48a3e12
      unknown authored
      
      sql/sql_select.cc:
        Auto merged
      mysql-test/r/select.result:
        SCCS merged
      mysql-test/t/select.test:
        SCCS merged
      d48a3e12
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0 · facd2163
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      facd2163
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1.b15377 · 3fcb8d7d
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      strings/ctype-euc_kr.c:
        Auto merged
      strings/ctype-gb2312.c:
        Auto merged
      3fcb8d7d
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 35b9498c
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-4.1.b15377
      
      35b9498c
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · b8513df9
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
      
      b8513df9
    • unknown's avatar
      enabled test · 9b8d81bb
      unknown authored
         added missing debug_return
      
      
      mysql-test/t/disabled.def:
        enabled test
      sql/ha_ndbcluster.cc:
        added missing debug_return
      9b8d81bb