An error occurred fetching the project authors.
  1. 22 Jun, 2006 2 commits
  2. 21 Jun, 2006 1 commit
  3. 20 Jun, 2006 1 commit
  4. 15 Jun, 2006 3 commits
    • unknown's avatar
      BUG#19309: Crash if double procedural alter · ae90c202
      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.
      ae90c202
    • unknown's avatar
      Many files: · 0ac72194
      unknown authored
        Small corrections after a bad merge
      
      
      mysql-test/r/partition.result:
        Small corrections after a bad merge
      mysql-test/r/partition_02myisam.result:
        Small corrections after a bad merge
      mysql-test/r/partition_mgm.result:
        Small corrections after a bad merge
      mysql-test/r/partition_range.result:
        Small corrections after a bad merge
      0ac72194
    • unknown's avatar
      merge fixes · 7431df60
      unknown authored
      7431df60
  5. 13 Jun, 2006 2 commits
  6. 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
  7. 09 Jun, 2006 1 commit
    • unknown's avatar
      Many files: · c0f42e72
      unknown authored
        Merging changesets from crashed 5.1-kt
      
      
      mysql-test/r/information_schema_part.result:
        Merging changesets from crashed 5.1-kt
      mysql-test/r/partition.result:
        Merging changesets from crashed 5.1-kt
      mysql-test/r/partition_02myisam.result:
        Merging changesets from crashed 5.1-kt
      mysql-test/r/partition_mgm_err.result:
        Merging changesets from crashed 5.1-kt
      mysql-test/r/partition_range.result:
        Merging changesets from crashed 5.1-kt
      mysql-test/r/rpl_row_basic_8partition.result:
        Merging changesets from crashed 5.1-kt
      sql/sql_show.cc:
        Merging changesets from crashed 5.1-kt
      c0f42e72
  8. 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
  9. 30 May, 2006 1 commit
    • unknown's avatar
      BUG#19801: Valgrind error in check_list_constants · 10c5b8b6
      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
      10c5b8b6
  10. 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
  11. 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
  12. 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
  13. 25 May, 2006 1 commit
  14. 23 May, 2006 2 commits
  15. 13 May, 2006 1 commit
    • unknown's avatar
      fix partition test · 964e72b6
      unknown authored
      mysql-test/r/partition.result:
        fix results - bad automerge
      964e72b6
  16. 12 May, 2006 1 commit
  17. 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
  18. 04 May, 2006 3 commits
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
      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