An error occurred fetching the project authors.
  1. 15 Jun, 2006 1 commit
    • unknown's avatar
      BUG#19309: Crash if double procedural alter · 36880e66
      unknown authored
      mysql-test/r/partition.result:
        New test case
      mysql-test/t/partition.test:
        New test case
      sql/sql_table.cc:
        Added new routine to make copy of create_info struct. This struct is
        manipulated during alter table and create table but needs to remain
        the same for repeated execution in stored procedures or prepared
        statements.
      36880e66
  2. 14 Jun, 2006 1 commit
    • unknown's avatar
      merge update · fb58c829
      unknown authored
      mysql-test/t/partition.test:
        merge error
      fb58c829
  3. 13 Jun, 2006 1 commit
  4. 12 Jun, 2006 1 commit
    • unknown's avatar
      BUG#19122: Need to close all handlers before rename/drop phase in ALTER TABLE... · 71e1ca32
      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
      71e1ca32
  5. 05 Jun, 2006 1 commit
    • unknown's avatar
      BUG#16002: Handle unsigned integer partition functions · 16469b5a
      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.
      16469b5a
  6. 30 May, 2006 1 commit
    • unknown's avatar
      BUG#19801: Valgrind error in check_list_constants · 24aba4bf
      unknown authored
      Needed some special handling of the case when no_list_values == 0
      
      
      mysql-test/r/partition.result:
        Added a couple of new test cases
      mysql-test/t/partition.test:
        Added a couple of new test cases
      sql/partition_info.cc:
        Rearranged some code to handle case where no_list_values == 0 which
        happens when one partition with only one value == NULL.
      sql/sql_partition.cc:
        Rearranged code to remove compiler warning and also since we
        now have handled the case where no_list_values == 0 in a special
        case before coming here
        Added code for handling the special case where no_list_values == 0
      24aba4bf
  7. 29 May, 2006 1 commit
    • unknown's avatar
      BUG#17310: Archive error for drop database · b9957ca5
      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.
      b9957ca5
  8. 27 May, 2006 1 commit
    • unknown's avatar
      BUG#19695: Showed partition options when table options were not shown · 6456a791
      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
      6456a791
  9. 25 May, 2006 1 commit
  10. 24 May, 2006 1 commit
  11. 23 May, 2006 2 commits
  12. 19 May, 2006 1 commit
  13. 09 May, 2006 1 commit
    • unknown's avatar
      BUG#19140: Create index caused crash · 841abbcc
      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.
      841abbcc
  14. 04 May, 2006 3 commits
  15. 21 Apr, 2006 1 commit
    • unknown's avatar
      BUG#19067: Crash when ALTER TABLE for default subpartitioned table · 011c93f1
      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
      011c93f1
  16. 20 Apr, 2006 1 commit
    • unknown's avatar
      BUG#19067: Alter table add partition for subpartitioned table crashes · 316e64ea
      unknown authored
      Changed variable name for improved clarity and debugging possibilities
      Fixed bug in not assigning subpart_type
      
      
      mysql-test/t/partition.test:
        Added new test case
      sql/partition_info.cc:
        Changed variable name for improved clarity and debugging possibilities
        Fixed bug in not assigning subpart_type
      sql/sql_partition.cc:
        Changed variable name for improved clarity and debugging possibilities
        Fixed bug in not assigning subpart_type
      316e64ea
  17. 18 Apr, 2006 1 commit
    • unknown's avatar
      BUG#16002: Make partition functions that are unsigned work properly · 41395ba7
      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
      41395ba7
  18. 11 Apr, 2006 1 commit
    • unknown's avatar
      BUG#18752: Also handle NULL values in VALUES LESS THAN · 1073c5bf
      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
      1073c5bf
  19. 10 Apr, 2006 3 commits
    • unknown's avatar
      BUG#18750: Various problems with partition names, quotation marks · e54a0fc7
      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
      e54a0fc7
    • unknown's avatar
      Fix for bug#18753 Partitions: auto_increment fails · 3f934196
      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
      3f934196
    • unknown's avatar
      BUG#18752: Added test case for SHOW CREATE TABLE not showing NULL values... · 276d4123
      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)
      276d4123
  20. 31 Mar, 2006 1 commit
    • unknown's avatar
      BUG # 17631 SHOW TABLE STATUS reports wrong engine · dc9c1bfe
      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.
      dc9c1bfe
  21. 28 Mar, 2006 2 commits
    • unknown's avatar
      BUG#13520: BUG#13433: Fixed proper delimiters for fields and comments · b19123b1
      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
      b19123b1
    • unknown's avatar
      Bug#18053 Partitions: crash if null · ec44eb0a
      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
      ec44eb0a
  22. 20 Mar, 2006 4 commits
    • unknown's avatar
      BUG#17754 · 653468b7
      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
      653468b7
    • unknown's avatar
      Fix for bug#15336 Partitions: crash if create table as select · 08c7e8e6
      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
      08c7e8e6
    • unknown's avatar
      Bug#14367 Partitions: crash if utf8 column · 206e9e53
      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
      206e9e53
    • unknown's avatar
      bug #17290 (sp with delete, create and rollback causes MySQLD core) · 049d2b3d
      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
      049d2b3d
  23. 16 Mar, 2006 1 commit
    • unknown's avatar
      BUG#17772 · 4fd404df
      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
      4fd404df
  24. 14 Mar, 2006 1 commit
  25. 13 Mar, 2006 2 commits
    • unknown's avatar
      Bug #17097: Partitions: failing ADD PRIMARY KEY leads to temporary rotten metadata,crash · 100800da
      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
      100800da
    • unknown's avatar
      BUG#15407: Crash if error in subpartition definition · 4e18edb2
      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
      4e18edb2
  26. 11 Mar, 2006 2 commits
    • unknown's avatar
      BUG#15961: SUBPARTITION defined in non-subpartitioned table no error · 8f62b03a
      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
      8f62b03a
    • unknown's avatar
      BUG#16370: Default subpartitioning not properly handled in conjunction · 3b502168
      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
      3b502168
  27. 09 Mar, 2006 2 commits
    • unknown's avatar
      BUG#17947: Crash when REBUILD PARTITION syntax error · b726f57b
      unknown authored
      mysql-test/r/partition.result:
        New test case
      mysql-test/t/partition.test:
        New test case
      sql/sql_yacc.yy:
        Ridiculuos small bug in parser
      b726f57b
    • unknown's avatar
      BUG#17127: Crash if wrong use of VALUES for list partition · 48a4ad09
      unknown authored
      mysql-test/r/partition.result:
        Added a number of new test cases where errors in use of
        VALUES LESS THAN and VALUES IN is happening for ALTER TABLE
      mysql-test/t/partition.test:
        Added a number of new test cases where errors in use of
        VALUES LESS THAN and VALUES IN is happening for ALTER TABLE
      sql/sql_partition.cc:
        Check for errors with VALUES *
      sql/sql_yacc.yy:
        Add state to part_type when doing ALTER TABLE for partitioning
      48a4ad09
  28. 08 Mar, 2006 1 commit
    • unknown's avatar
      Bug #14673: Wrong InnoDB default row format · b78b1e7f
      unknown authored
        Make partitioned tables report the row format of the underlying
        tables (when they are all the same).
      
      
      mysql-test/r/partition.result:
        Add new results
      mysql-test/t/partition.test:
        Add regression test
      sql/ha_partition.cc:
        Add get_row_type(), which peeks at the underlying tables and returns
        the row_type if they are consistent.
      sql/ha_partition.h:
        Add get_row_type() method
      b78b1e7f