An error occurred fetching the project authors.
  1. 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
  2. 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
  3. 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
  4. 25 May, 2006 1 commit
  5. 24 May, 2006 1 commit
  6. 23 May, 2006 2 commits
  7. 19 May, 2006 1 commit
  8. 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
  9. 04 May, 2006 3 commits
  10. 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
  11. 20 Apr, 2006 1 commit
    • unknown's avatar
      BUG#19067: Alter table add partition for subpartitioned table crashes · 1727aec6
      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
      1727aec6
  12. 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
  13. 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
  14. 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
  15. 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
  16. 20 Mar, 2006 4 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
      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
  17. 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
  18. 14 Mar, 2006 1 commit
  19. 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
  20. 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
  21. 09 Mar, 2006 2 commits
    • unknown's avatar
      BUG#17947: Crash when REBUILD PARTITION syntax error · 1d9a1c46
      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
      1d9a1c46
    • unknown's avatar
      BUG#17127: Crash if wrong use of VALUES for list partition · b7b8fd25
      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
      b7b8fd25
  22. 08 Mar, 2006 2 commits
    • unknown's avatar
      Bug #14673: Wrong InnoDB default row format · e99b11d3
      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
      e99b11d3
    • unknown's avatar
      Bug #17497: Partitions: crash if add partition on temporary table · 48469933
      unknown authored
        Temporary tables are no longer allowed to be partitioned.
      
      
      mysql-test/r/partition.result:
        Add result
      mysql-test/t/partition.test:
        Add new regression test
      sql/share/errmsg.txt:
        Add new error message
      sql/sql_table.cc:
        Don't allow creating temporary table with partitions
      48469933
  23. 07 Mar, 2006 1 commit
    • unknown's avatar
      Fix for bug#15447 Partitions: NULL is treated as zero · 807c7a6a
      unknown authored
        NULL value handling
      
      
      mysql-test/r/ndb_partition_error.result:
        Fix for bug#15447 Partitions: NULL is treated as zero
          test case
      mysql-test/r/partition.result:
        Fix for bug#15447 Partitions: NULL is treated as zero
          test case
      mysql-test/t/ndb_partition_error.test:
        Fix for bug#15447 Partitions: NULL is treated as zero
          test case
      mysql-test/t/partition.test:
        Fix for bug#15447 Partitions: NULL is treated as zero
          test case
      sql/partition_element.h:
        Fix for bug#15447 Partitions: NULL is treated as zero
          added null value flag to partition_element object
      sql/partition_info.h:
        Fix for bug#15447 Partitions: NULL is treated as zero
          added null value flag to partition_info object
          added has_null partition id variable
      807c7a6a
  24. 01 Mar, 2006 1 commit
    • unknown's avatar
      Fix for bug#14363 Partitions: failure if create in stored procedure · ee9930bf
      unknown authored
        store copy of partition function string
      
      
      mysql-test/r/partition.result:
        Fix for bug#14363 Partitions: failure if create in stored procedure
          test case
      mysql-test/t/partition.test:
        Fix for bug#14363 Partitions: failure if create in stored procedure
          test case
      ee9930bf
  25. 24 Feb, 2006 2 commits
    • unknown's avatar
      BUG# 17430 Partitoins: crash on SELECT * FROM t1 WHERE f_int1 IS NULL · a9dab911
      unknown authored
      BUG# 17432: Partitions: wrong result, SELECT ... WHERE <column> is null
      
      
      mysql-test/r/partition.result:
        result block for tests
      mysql-test/t/partition.test:
        test cases for bug #17432 and 17430
      sql/sql_partition.cc:
        improve null handling by returning LONGLONG_MIN for values that are NULL
      a9dab911
    • unknown's avatar
      BUG# 17432 Partitions: wrong result, SELECT ... where <column> is null · 849f0ce1
      unknown authored
      BUG# 17430 Partitions: crash on SELECT * FROM t1 WHERE f_int1 IS NULL
      
      
      mysql-test/r/partition.result:
        result block for test
      mysql-test/t/partition.test:
        test case for bug #17432 and #17430
      sql/sql_partition.cc:
        improve NULL value handling by returning LONGLONG_MIN for null values
      849f0ce1
  26. 16 Feb, 2006 1 commit
    • unknown's avatar
      Bug #14526: Partitions: indexed searches fail. When inserting a row into · c89ddfdf
      unknown authored
      a partitioned table, the value of auto_increment fields was not calculated
      until after deciding what partition to add the row into, which led to rows
      being written to the wrong partitions (or spurious errors).
      
      
      mysql-test/r/partition.result:
        Add new results
      mysql-test/t/partition.test:
        Add new regression test
      sql/ha_partition.cc:
        Fix notes about, and handling of, auto_increment in ha_partition::write_row().
        We have to decide on an auto_increment value before we can figure out which
        partition the rows should be inserted into.
      c89ddfdf