An error occurred fetching the project authors.
  1. 13 Jun, 2006 2 commits
  2. 12 Jun, 2006 1 commit
    • unknown's avatar
      BUG#19122: Need to close all handlers before rename/drop phase in ALTER TABLE... · 14c0751c
      unknown authored
      BUG#19122: Need to close all handlers before rename/drop phase in ALTER TABLE ADD/DROP/REORGANIZE partitions
      After review fix
      
      
      mysql-test/r/partition.result:
        Fixes for test
      mysql-test/t/partition.test:
        Fixes for test
      sql/lock.cc:
        After review fix
      sql/mysql_priv.h:
        After review fix
      sql/sql_partition.cc:
        After review fix
      14c0751c
  3. 05 Jun, 2006 1 commit
    • unknown's avatar
      BUG#16002: Handle unsigned integer partition functions · e05d2d06
      unknown authored
      mysql-test/r/partition.result:
        Added new test cases
      mysql-test/r/partition_error.result:
        Fixed test case
      mysql-test/t/partition.test:
        Added new test cases
      mysql-test/t/partition_error.test:
        Fixed test case
      sql/ha_partition.cc:
        Review fixes
      sql/partition_element.h:
        Review fixes
      sql/partition_info.cc:
        Review fixes
      sql/share/errmsg.txt:
        Review fixes
      sql/sql_partition.cc:
        Review fixes
      sql/sql_yacc.yy:
        Enabled possibility to use (MAXVALUE) as well as MAXVALUE.
      e05d2d06
  4. 29 May, 2006 1 commit
    • unknown's avatar
      BUG#17310: Archive error for drop database · 0146929f
      unknown authored
      mysql-test/r/partition.result:
        Added new test case
      mysql-test/t/partition.test:
        Added new test case
      storage/archive/ha_archive.cc:
        Moved some code to avoid that ha_archive::create leaves files after error in create
        There are still cases where this occurs but now only on file creation errors.
      0146929f
  5. 27 May, 2006 1 commit
    • unknown's avatar
      BUG#19695: Showed partition options when table options were not shown · a3170bf6
      unknown authored
      mysql-test/r/ndb_partition_key.result:
        Manicural changes removed a space from a double-space
      mysql-test/r/partition.result:
        Manicural changes removed a space from a double-space
        Added new test case
      mysql-test/r/partition_02myisam.result:
        Manicural changes removed a space from a double-space
      mysql-test/r/partition_range.result:
        Manicural changes removed a space from a double-space
      mysql-test/t/partition.test:
        New test case
      sql/sql_partition.cc:
        Removed unnecessary extra spaces
        Added show_partition_options set in the same way as when to show table options in SHOW CREATE TABLE
      sql/sql_partition.h:
        Removed unnecessary extra spaces
        Added show_partition_options set in the same way as when to show table options in SHOW CREATE TABLE
      sql/sql_show.cc:
        Removed unnecessary extra spaces
        Added show_partition_options set in the same way as when to show table options in SHOW CREATE TABLE
      sql/sql_table.cc:
        Removed unnecessary extra spaces
        Added show_partition_options set in the same way as when to show table options in SHOW CREATE TABLE
      a3170bf6
  6. 26 May, 2006 1 commit
    • unknown's avatar
      BUG#19122: MySQL Server crashes when ALTER TABLE t1 REBUILD PARTITION on InnoDB table · a29e59e0
      unknown authored
      mysql-test/r/partition.result:
        New test case
      sql/lock.cc:
        Added new flag to lock_table_name to ensure we get proper name lock even when we already have lock on table.
      sql/mysql_priv.h:
        Added new flag to lock_table_name to ensure we get proper name lock even when we already have lock on table.
        Added table_list to ALTER_PARTITION_PARAM_TYPE and changed some const char * to char*
      sql/sql_base.cc:
        Added new flag to lock_table_name to ensure we get proper name lock even when we already have lock on table.
        Added table_list to ALTER_PARTITION_PARAM_TYPE and changed some const char * to char*
      sql/sql_partition.cc:
        New methods to
        1) Get a name lock even when we already have one
        2) New method that unlocks table and closes the handlers.
        3) Release name lock
        Integrated those new methods to ensure that handlers are unlocked and closed when drop or
        rename is called on them. There is still some work to update the comments to reflect the
        last changes.
      a29e59e0
  7. 25 May, 2006 1 commit
  8. 23 May, 2006 2 commits
  9. 13 May, 2006 1 commit
    • unknown's avatar
      fix partition test · 964e72b6
      unknown authored
      mysql-test/r/partition.result:
        fix results - bad automerge
      964e72b6
  10. 12 May, 2006 1 commit
  11. 09 May, 2006 1 commit
    • unknown's avatar
      BUG#19140: Create index caused crash · 0edd2ec4
      unknown authored
      mysql-test/r/ndb_partition_key.result:
        New test case to ensure path in code is tested
      mysql-test/r/partition.result:
        New test case for bug
      mysql-test/t/ndb_partition_key.test:
        New test case to ensure path in code is tested
      mysql-test/t/partition.test:
        New test case for bug
      sql/sql_partition.cc:
        Use stack variable, not variable on lex object, caused havoc when doing a create index.
      sql/sql_table.cc:
        Editorial changes + added a comment to a path in code I didn't remember myself what it was good for.
      0edd2ec4
  12. 04 May, 2006 3 commits
  13. 21 Apr, 2006 1 commit
    • unknown's avatar
      BUG#19067: Crash when ALTER TABLE for default subpartitioned table · 661537c7
      unknown authored
      mysql-test/r/partition.result:
        New test cases
      mysql-test/r/partition_02myisam.result:
        ENGINE always specified per partition in show table
      mysql-test/t/partition.test:
        New test cases
      sql/partition_element.h:
        New copy constructor for partition_element
      sql/partition_info.cc:
        Use new copy constructor to ensure default subpartitions inherit partition options from parent
        Ensure engine is always set on both partitions and subpartitions
      sql/sql_partition.cc:
        Removed unneeded bool to generate_partition_syntax
        Write partition options also for subpartitioned tables when subpartitioning is by default
        Set up defaults for new partitions also in REORGANIZE PARTITION
      sql/sql_partition.h:
        Removed unneeded parameter to generate_partition_syntax call
      sql/sql_show.cc:
        Removed unneeded parameter to generate_partition_syntax call
      sql/sql_table.cc:
        Removed unneeded parameter to generate_partition_syntax call
      661537c7
  14. 18 Apr, 2006 1 commit
    • unknown's avatar
      BUG#16002: Make partition functions that are unsigned work properly · faa5f3e0
      unknown authored
      mysql-test/r/partition.result:
        A number of new test cases for unsigned partition functions
      mysql-test/r/partition_error.result:
        A number of new test cases for unsigned partition functions
      mysql-test/r/partition_range.result:
        A number of new test cases for unsigned partition functions
      mysql-test/t/partition.test:
        A number of new test cases for unsigned partition functions
      mysql-test/t/partition_error.test:
        A number of new test cases for unsigned partition functions
      mysql-test/t/partition_range.test:
        A number of new test cases for unsigned partition functions
      sql/ha_partition.cc:
        Error message for no partition found needs to take signed/unsigned into account when printing erroneus value
      sql/partition_element.h:
        Introduced signed_flag and max_value flag on partition elements
        Also list is now a list of a struct rather than simply longlong values
        Small rearranges of order
      sql/partition_info.cc:
        Introduced signed_flag and max_value flag on partition elements
        Also list is now a list of a struct rather than simply longlong values
        Small rearranges of order
        Lots of new code to handle checks of proper definition of table when
        partition function is unsigned
      sql/partition_info.h:
        Mostly rearrangement of code and some addition of a THD object in check_partition_info call
        plus a new method for comparing unsigned values
      sql/share/errmsg.txt:
        Negative values not ok for unsigned partition functions
      sql/sql_partition.cc:
        Fixed a multi-thread bug (when defining several partitioned tables in parallel)
        New code to generate partition syntax that takes into account sign of constants.
        Made function fix_fields_part_func more reusable.
        Fixed a number of get_partition_id functions for range and list and similar functions
        for partition pruning code.
        Unfortunately fairly much duplication of code with just small changes.
      sql/sql_partition.h:
        New function headers
      sql/sql_show.cc:
        Changed list of values for LIST partitioned tables
        Also fixed printing of unsigned values in INFORMATION SCHEMA for partitioned table
      sql/sql_table.cc:
        Fixed for new interface
      sql/sql_yacc.yy:
        Moved definition of struct to partition_element.h
        Added code to keep track of sign of constants in
        RANGE and LIST partitions
      sql/table.cc:
        Fixed for new interface
      faa5f3e0
  15. 17 Apr, 2006 1 commit
    • unknown's avatar
      BUG#18752 · a26c4b15
      unknown authored
      Fixed forgotten merge fix
      
      
      mysql-test/r/partition.result:
        Fixed forgotten merge fix
      a26c4b15
  16. 11 Apr, 2006 1 commit
    • unknown's avatar
      BUG#18752: Also handle NULL values in VALUES LESS THAN · 79002cd0
      unknown authored
      mysql-test/r/partition.result:
        Added test case to verify that VALUES LESS THAN (NULL) isn't allowed
      mysql-test/t/partition.test:
        Added test case to verify that VALUES LESS THAN (NULL) isn't allowed
      sql/share/errmsg.txt:
        Added new error message
      sql/sql_yacc.yy:
        Added error check for null value
      79002cd0
  17. 10 Apr, 2006 3 commits
    • unknown's avatar
      BUG#18750: Various problems with partition names, quotation marks · 42d7e8c0
      unknown authored
      mysql-test/r/partition.result:
        Added new test cases
      mysql-test/t/partition.test:
        Added new test cases
      sql/partition_info.cc:
        Check partition names that they don't have trailing spaces
      sql/share/errmsg.txt:
        Added error code for wrong partition names
      sql/sql_partition.cc:
        New method to add partition name strings, ignore OPTION_SHOW_QUOTE_CREATE
      sql/sql_show.cc:
        require_quotes had a bug with identifiers that consisted of only digits,
        these are allowed identifiers but must be quoted and require_quote didn't
        tell this.
      sql/sql_yacc.yy:
        Partition names should identifers and not ident_or_text
      42d7e8c0
    • unknown's avatar
      Fix for bug#18753 Partitions: auto_increment fails · b04dd7e2
      unknown authored
      Current auto increment value is placed in partition in which latest
      record was saved. So to get auto_increment they have to scan
      all partitions and return max value.
      
      
      mysql-test/r/partition.result:
        Fix for bug#18753 Partitions: auto_increment fails
        test case
      mysql-test/t/partition.test:
        Fix for bug#18753 Partitions: auto_increment fails
        test case
      b04dd7e2
    • unknown's avatar
      BUG#18752: Added test case for SHOW CREATE TABLE not showing NULL values... · 41fa40e8
      unknown authored
      BUG#18752: Added test case for SHOW CREATE TABLE not showing NULL values properly in bug already fixed
      Added new test case for bug 18752 (bug already fixed by previous patch)
      
      
      mysql-test/r/partition.result:
        Added new test case for bug 18752 (bug already fixed by previous patch)
      mysql-test/t/partition.test:
        Added new test case for bug 18752 (bug already fixed by previous patch)
      41fa40e8
  18. 31 Mar, 2006 1 commit
    • unknown's avatar
      BUG # 17631 SHOW TABLE STATUS reports wrong engine · 683ce57f
      unknown authored
      mysql-test/r/partition.result:
        results block for bug # 17631
      mysql-test/t/partition.test:
        test block for bug #17631
      sql/ha_partition.cc:
        move table_type func to .cc file and return table_type from
        the first handler.  This is acceptable since we know we have
        at least one handler and we currently do not support multiple
        engine types.  Later, we'll need to extend this to return
        some type of delimited list
      sql/ha_partition.h:
        removed inline version of this function
      sql/sql_show.cc:
        if the table is partitioned, we add the term "partitioned" to the 
        create options.  We make sure we are using the partitioned 
        handlerton before we do this.  When we support more native partition
        handlers then this will need to change.
      683ce57f
  19. 28 Mar, 2006 2 commits
    • unknown's avatar
      BUG#13520: BUG#13433: Fixed proper delimiters for fields and comments · 6f2d033c
      unknown authored
      mysql-test/r/partition.result:
        New test cases
      mysql-test/t/partition.test:
        New test cases
      sql/sql_partition.cc:
        Fixed proper delimiters for fields and comments
      6f2d033c
    • unknown's avatar
      Bug#18053 Partitions: crash if null · 44517ca0
      unknown authored
      Bug#18070 Partitions: wrong result on WHERE ... IS NULL
       removed unnecessary code
       added handling of NULL values
      
      
      mysql-test/r/partition.result:
        Bug#18053 Partitions: crash if null
        Bug#18070 Partitions: wrong result on WHERE ... IS NULL
         test case
      mysql-test/t/partition.test:
        Bug#18053 Partitions: crash if null
        Bug#18070 Partitions: wrong result on WHERE ... IS NULL
         test case
      sql/opt_range.cc:
        Bug#18053 Partitions: crash if null
        Bug#18070 Partitions: wrong result on WHERE ... IS NULL
         initialisation of part_iter.has_null_value
      sql/sql_partition.h:
        Bug#18053 Partitions: crash if null
        Bug#18070 Partitions: wrong result on WHERE ... IS NULL
         added has_null_value
      44517ca0
  20. 21 Mar, 2006 1 commit
    • unknown's avatar
      BUG#17754 · 153f0947
      unknown authored
      Fixed result files
      
      
      mysql-test/r/ndb_partition_key.result:
        Fixed result files
      mysql-test/r/partition.result:
        Fixed result files
      153f0947
  21. 20 Mar, 2006 5 commits
    • unknown's avatar
      BUG#17754 · 51f70d9f
      unknown authored
      Added new syntax ALTER TABLE t1 REMOVE PARTITIONING,
      changed semantics of ALTER TABLE t1 ENGINE=X; to not remove partitioning
      Fix a number of mix engine bugs in partitioning
      
      
      mysql-test/r/ndb_partition_key.result:
        Added a number of new test cases
      mysql-test/r/partition.result:
        Added a number of new test cases
      mysql-test/t/ndb_partition_key.test:
        Added a number of new test cases
      mysql-test/t/partition.test:
        Added a number of new test cases
      sql/lex.h:
        REMOVE and PARTITIONING added as keywords in parser
      sql/sql_lex.h:
        Added flag to alter_info flag
      sql/sql_partition.cc:
        Fixes for the new syntax, changes of the current semantics of the syntax.
        Fixes for errors in handling mixes of table handlers in partitioning syntax
        for ALTER TABLE
      sql/sql_table.cc:
        Bug fix
      sql/sql_yacc.yy:
        New syntax for REMOVE PARTITIONING
      51f70d9f
    • unknown's avatar
      merging · 60bc9ad7
      unknown authored
      60bc9ad7
    • unknown's avatar
      Fix for bug#15336 Partitions: crash if create table as select · 91eac0bd
      unknown authored
        added HA_EXTRA_WRITE_CACHE case to ha_partition::extra()
      
      
      mysql-test/r/partition.result:
        Fix for bug#15336 Partitions: crash if create table as select
          test case
      mysql-test/t/partition.test:
        Fix for bug#15336 Partitions: crash if create table as select
          test case
      91eac0bd
    • unknown's avatar
      Bug#14367 Partitions: crash if utf8 column · de264164
      unknown authored
        use part_info->item_free_list instead of thd->free_list during partition function parsing
      
      
      mysql-test/r/partition.result:
        Bug#14367 Partitions: crash if utf8 column
          test case
      mysql-test/t/partition.test:
        Bug#14367 Partitions: crash if utf8 column
          test case
      sql/item.cc:
        Bug#14367 Partitions: crash if utf8 column
          create copy of string in current mem_root to avoid memory leak
      de264164
    • unknown's avatar
      bug #17290 (sp with delete, create and rollback causes MySQLD core) · afe397ff
      unknown authored
      additional fixes
      
      
      mysql-test/r/partition.result:
        result fixed
      mysql-test/t/partition.test:
        testcase
      sql/sql_parse.cc:
        part_info cloning moved here
      sql/sql_partition.cc:
        fixes
      sql/sql_table.cc:
        part_info cloning removed
      afe397ff
  22. 16 Mar, 2006 1 commit
    • unknown's avatar
      BUG#17772 · 01cce283
      unknown authored
      A crash after ALTER TABLE t1 RENAME ...
      
      
      mysql-test/r/partition.result:
        New test case
      mysql-test/t/partition.test:
        New test case
      sql/sql_lex.h:
        Introduced like name for CREATE TABLE t1 LIKE t2
      sql/sql_parse.cc:
        Introduced like name for CREATE TABLE t1 LIKE t2
      sql/sql_partition.cc:
        Introduced like name for CREATE TABLE t1 LIKE t2
      sql/sql_yacc.yy:
        Introduced like name for CREATE TABLE t1 LIKE t2
      01cce283
  23. 14 Mar, 2006 2 commits
  24. 13 Mar, 2006 2 commits
    • unknown's avatar
      Bug #17097: Partitions: failing ADD PRIMARY KEY leads to temporary rotten metadata,crash · 7e1627d0
      unknown authored
        When doing an ALTER TABLE on a table using partitioning, force the table
        definition to get reloaded, since it may become invalid whenever the ALTER
        TABLE fails (even for an ALTER TABLE without specific partitioning changes).
      
      
      mysql-test/r/partition.result:
        New results
      mysql-test/t/partition.test:
        New regression test
      sql/sql_partition.cc:
        Always force table to get reloaded when we ALTER a
        partitioned table
      7e1627d0
    • unknown's avatar
      BUG#15407: Crash if error in subpartition definition · aa451a0e
      unknown authored
      mysql-test/r/partition.result:
        New test cases
      mysql-test/t/partition.test:
        New test cases
      sql/sql_yacc.yy:
        New error checks
      aa451a0e
  25. 11 Mar, 2006 2 commits
    • unknown's avatar
      BUG#15961: SUBPARTITION defined in non-subpartitioned table no error · 29cd6ff6
      unknown authored
      Made sure that no subpartition stuff in non-subpartitioned table
      
      
      mysql-test/r/partition.result:
        New test case
      mysql-test/r/partition_mgm_err.result:
        Fixed bug in test case
      mysql-test/t/partition.test:
        New test case
      mysql-test/t/partition_mgm_err.test:
        Fixed bug in test case
      sql/sql_partition.cc:
        Made sure that no subpartition stuff in non-subpartitioned table
      29cd6ff6
    • unknown's avatar
      BUG#16370: Default subpartitioning not properly handled in conjunction · 56c24480
      unknown authored
      with ALTER TABLE ADD/REORGANIZE PARTITION
      Ensure that default subpartitioning is removed when subpartitions
      are defined in ADD/REORGANIZE PARTITION
      
      
      mysql-test/r/partition.result:
        New test cases
      mysql-test/t/partition.test:
        New test cases
      sql/sql_partition.cc:
        Ensure that default subpartitioning is removed when subpartitions
        are defined in ADD/REORGANIZE PARTITION
      56c24480
  26. 09 Mar, 2006 1 commit