1. 19 Feb, 2009 5 commits
    • Alexey Kopytov's avatar
      ebfca91c
    • Alexey Kopytov's avatar
      Automerge. · 169fb823
      Alexey Kopytov authored
      169fb823
    • Alexey Kopytov's avatar
      Automerge. · 9da1816e
      Alexey Kopytov authored
      9da1816e
    • Alexey Kopytov's avatar
      Automerge. · 84985951
      Alexey Kopytov authored
      84985951
    • Alexey Kopytov's avatar
      Fix for bug #41078: With CURSOR_TYPE_READ_ONLY mysql_stmt_fetch() · 074b4bad
      Alexey Kopytov authored
      returns short string value. 
       
      Multibyte character sets were not taken into account when 
      calculating max_length in Item_param::convert_str_value(). As a 
      result, string parameters of a prepared statement could be 
      truncated later when calculating string length in characters by 
      dividing length in bytes by the charset's mbmaxlen value (e.g. in 
      Field_varstring::store()). 
       
      Fixed by taking charset's mbmaxlen into account when calculating 
      max_length in Item_param::convert_str_value().
      
      
      sql/item.cc:
        Multiply string's length in characters by charset's mbmaxlen when 
        calculating max_length.
      tests/mysql_client_test.c:
        Added a test case for bug #41078.
      074b4bad
  2. 18 Feb, 2009 5 commits
  3. 17 Feb, 2009 1 commit
  4. 16 Feb, 2009 7 commits
  5. 15 Feb, 2009 3 commits
  6. 14 Feb, 2009 12 commits
  7. 13 Feb, 2009 7 commits
    • Patrick Crews's avatar
      BUG#32667: lowercase_table3.test reports to error log · 1bec8385
      Patrick Crews authored
      Cleaned up SQL code in the test.
      Needed to move the FLUSH TABLES statement prior to the DROP TABLE t1 to prevent a warning of
      Table open on delete and a test fail.
      1bec8385
    • Davi Arnaut's avatar
      Empty merge. · eeb323b8
      Davi Arnaut authored
      eeb323b8
    • Davi Arnaut's avatar
      Remove test case for bug 40264. · aa8645bb
      Davi Arnaut authored
      Dirty close tricky does not work on Windows.
      
      mysql-test/r/query_cache_notembedded.result:
        Remove test case result.
      mysql-test/t/query_cache_notembedded.test:
        Remove test case.
      aa8645bb
    • Tatiana A. Nurnberg's avatar
      auto-merge · d421fd4f
      Tatiana A. Nurnberg authored
      d421fd4f
    • Matthias Leich's avatar
    • Tatiana A. Nurnberg's avatar
      Bug#42146 - DATETIME fractional seconds parse error · eeef9533
      Tatiana A. Nurnberg authored
      Bug#38435 - LONG Microseconds cause MySQL to fail a CAST to DATETIME or DATE
      
      Parsing of optional microsecond part in datetime did not
      fail gracefully when field width was larger than the allowed
      six places.
      
      Now handles up to the correct six places, and disregards
      any extra digits without messing up what we've already got.
      
      mysql-test/r/type_datetime.result:
        show graceful handling of overly long microsecond parts
        (correct truncation).
      mysql-test/t/type_datetime.test:
        show graceful handling of overly long microsecond parts
        (correct truncation).
      sql-common/my_time.c:
        Special case for time-parsing: for microsecond part,
        leading zeroes are actually meaningful! Also, don't
        break the entire date on more than the allowed six
        digits in microsecond part, just truncate the extra
        digits.
      eeef9533
    • Alexey Kopytov's avatar
      Merge from team tree · 6eae5538
      Alexey Kopytov authored
      6eae5538