1. 19 Feb, 2009 5 commits
    • Alexey Kopytov's avatar
      a687428c
    • Alexey Kopytov's avatar
      Automerge. · c814ccbf
      Alexey Kopytov authored
      c814ccbf
    • Alexey Kopytov's avatar
      Automerge. · 0c96241b
      Alexey Kopytov authored
      0c96241b
    • Alexey Kopytov's avatar
      Automerge. · 45e3327f
      Alexey Kopytov authored
      45e3327f
    • Alexey Kopytov's avatar
      Fix for bug #41078: With CURSOR_TYPE_READ_ONLY mysql_stmt_fetch() · 32164609
      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.
      32164609
  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 · aedef27a
      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.
      aedef27a
    • Davi Arnaut's avatar
      Empty merge. · e0f56aa9
      Davi Arnaut authored
      e0f56aa9
    • Davi Arnaut's avatar
      Remove test case for bug 40264. · f29aa74a
      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.
      f29aa74a
    • Tatiana A. Nurnberg's avatar
      auto-merge · ce6e5950
      Tatiana A. Nurnberg authored
      ce6e5950
    • Matthias Leich's avatar
    • Tatiana A. Nurnberg's avatar
      Bug#42146 - DATETIME fractional seconds parse error · 69432395
      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.
      69432395
    • Alexey Kopytov's avatar
      Merge from team tree · a41bdfa5
      Alexey Kopytov authored
      a41bdfa5