• unknown's avatar
    BUG#18198: Fixes to handle VARCHAR strings properly · ce76b9d6
    unknown authored
    New methods to handle VARCHAR strings and CHAR's which are not
    using a binary collation.
    Indentation fixes
    Now strings are run through strnxfrm before they are processed
    by the partition function
    We do not allow collations where strnxfrm expands the string since
    we want the resulting string to fit in the same value range as
    the original.
    
    
    mysql-test/r/partition_range.result:
      New test cases
    mysql-test/t/partition_range.test:
      New test cases
    sql/partition_info.h:
      New methods to handle VARCHAR strings and CHAR's which are not
      using a binary collation.
    sql/sql_partition.cc:
      New methods to handle VARCHAR strings and CHAR's which are not
      using a binary collation.
      Indentation fixes
      Now strings are run through strnxfrm before they are processed
      by the partition function
      We do not allow collations where strnxfrm expands the string since
      we want the resulting string to fit in the same value range as
      the original.
    ce76b9d6
partition_range.test 22.7 KB