An error occurred fetching the project authors.
  1. 19 Jul, 2006 1 commit
    • igor@olga.mysql.com's avatar
      Fixed bug #17526: incorrect print method · f201828d
      igor@olga.mysql.com authored
      for class Item_func_trim. 
      For 4.1 it caused wrong output for EXPLAIN EXTENDED commands
      if expressions with the TRIM function of two arguments were used.
      For 5.0 it caused an error message when trying to select
      from a view with the TRIM function of two arguments.
      This unexpected error message was due to the fact that the
      print method for the class Item_func_trim was inherited from
      the class Item_func. Yet the TRIM function does not take a list
      of its arguments. Rather it takes the arguments in the form:
        [{BOTH | LEADING | TRAILING} [remstr] FROM] str) |
        [remstr FROM] str
      f201828d
  2. 06 Jul, 2006 1 commit
    • igor@olga.mysql.com's avatar
      Fixed bug #18243. · 0e3d2daf
      igor@olga.mysql.com authored
      The implementation of the method Item_func_reverse::val_str
      for the REVERSE function modified the argument of the function.
      This led to wrong results for expressions that contained
      REVERSE(ref) if ref occurred somewhere else in the expressions.
      0e3d2daf
  3. 13 Jun, 2006 1 commit
  4. 28 May, 2006 1 commit
    • evgen@moonbone.local's avatar
      Fixed bug#15351: Wrong collation used for comparison of md5() and sha() · 766b4a8c
      evgen@moonbone.local authored
      argument can lead to a wrong result.
      
      md5() and sha() functions treat their arguments as case sensitive strings.
      But when they are compared their arguments were compared as a case
      insensitive strings which leads to two functions with different arguments
      and thus different results to being identical. This can lead to a wrong
      decision made in the range optimizer and thus lead to a wrong result set.
      
      Item_func_md5::fix_length_and_dec() and Item_func_sha::fix_length_and_dec()
      functions now set binary collation on their arguments.
      766b4a8c
  5. 08 May, 2006 1 commit
  6. 08 Aug, 2005 1 commit
    • patg@krsna.patg.net's avatar
      item_strfunc.cc: · 6128521b
      patg@krsna.patg.net authored
        BUG #11104 
            Took out the offset-=delimiter_length-1 out of the for loop. It was causing
            basically this: 
            select substring_index('the king of the the hill', 'the', -2) to not work.
            The first iteration, offset would be initialised to 24, then strstr would 
            point at 'the king of the the* hill' ('*'means right before the 
            character following), returning a offset of 16. The for loop would then 
            decrement offset by two (3 - 1), to 14, now pointing at 
            "the king of th*e the hill", _skipping_ past the 'e' in the second to last
            'the', and therefore strstr would never have a chance of matching the 
            second to last 'the', then moving on to the 'the' at the begginning of the 
            string!
            In a nutshell, offset was being decremented by too great a value, preventing
            the second to last 'the' from being ever found, hence the result of 
            'king of the the hill' from the query that is reported in the bug report
      func_str.test:
        BUG #11104
        Added tests to make sure fix addresses issues in original bug report
      func_str.result:
        BUG #11104 
        New results for new tests
      6128521b
  7. 01 Aug, 2005 1 commit
  8. 22 Jul, 2005 1 commit
  9. 13 Jul, 2005 1 commit
  10. 29 Jun, 2005 1 commit
    • igor@rurik.mysql.com's avatar
      func_str.test: · 4b8f2e9b
      igor@rurik.mysql.com authored
        Added test cases for bug #11469.
      item_strfunc.h:
        Fixed bug #11469: wrong implementation of the not_null_tables
        method for CONCAT_WS.
      4b8f2e9b
  11. 28 Jun, 2005 1 commit
  12. 23 Jun, 2005 1 commit
    • igor@rurik.mysql.com's avatar
      func_str.result, func_str.test: · c73c2af6
      igor@rurik.mysql.com authored
        Added a test case for bug #10124.
      sql_select.h, item_subselect.cc, sql_select.cc:
        Fixed bug #10124.
        The copy method of the store_key classes can return
        STORE_KEY_OK=0, STORE_KEY_FATAL=1, STORE_KEY_CONV=2 now.
      field.cc:
        Fixed bug #10124.
        When ussuing a warning the store methods return 2 instead of 1 now.
      c73c2af6
  13. 01 Jun, 2005 1 commit
  14. 24 Mar, 2005 1 commit
  15. 16 Mar, 2005 1 commit
  16. 09 Mar, 2005 2 commits
  17. 04 Mar, 2005 1 commit
    • bar@mysql.com's avatar
      type_blob.result, func_system.result, func_str.result, ctype_collate.result: · 7e8e0332
      bar@mysql.com authored
        fixing test results accordingly.
      func_system.test:
        New test that illegal mix of collations does not happen anymore.
      item_strfunc.h:
          safe_charset_converter() was added for system constants.
      item_strfunc.cc:
        safe_charset_converter() was added for system constants.
      item_func.cc, item.h, item.cc:
        Bug#8291: Illegal collation mix with USER() function.
        After discussion with PeterG and Serge, a new coercibility
        level for "system constants" was introduced, between
        COERRIBLE and IMPLICIT. Thus:
        SELECT col1 = USER() FROM t1; - is done according to col1 collation.
        SELECT 'string' = USER(); - is done according to USER() collation.
        At the same time, "nagg" and "strong" members were removed as unused.
      item_create.cc:
        Version is a system constant too.
      7e8e0332
  18. 23 Feb, 2005 1 commit
  19. 02 Feb, 2005 3 commits
  20. 17 Jan, 2005 1 commit
  21. 28 Dec, 2004 1 commit
    • timour@mysql.com's avatar
      Fix for BUG#7455. · 064c7349
      timour@mysql.com authored
      The fix checks if the trim string argument is NULL. If so, the standard
      mandates that the function result must be also NULL.
      064c7349
  22. 24 Dec, 2004 1 commit
  23. 23 Dec, 2004 1 commit
  24. 22 Dec, 2004 1 commit
  25. 11 Dec, 2004 1 commit
  26. 09 Dec, 2004 1 commit
  27. 19 Nov, 2004 2 commits
  28. 11 Nov, 2004 1 commit
  29. 07 Oct, 2004 1 commit
    • monty@mysql.com's avatar
      After merge fixes · 6239edc1
      monty@mysql.com authored
      Some bigger code changes was necessary becasue of the multi-table-update and the new HANDLER code
      6239edc1
  30. 13 Sep, 2004 1 commit
  31. 26 Aug, 2004 1 commit
  32. 12 Aug, 2004 1 commit
  33. 21 Jul, 2004 1 commit
  34. 07 Jul, 2004 1 commit
  35. 29 Jun, 2004 1 commit
  36. 08 Jun, 2004 1 commit