An error occurred fetching the project authors.
  1. 01 Oct, 2005 1 commit
  2. 23 Sep, 2005 1 commit
  3. 21 Sep, 2005 1 commit
  4. 08 Sep, 2005 1 commit
  5. 07 Sep, 2005 1 commit
    • evgen@moonbone.local's avatar
      Fix bug #12922 if(sum(),...) with group from view returns wrong results · 80c3a0b1
      evgen@moonbone.local authored
      Fields of view represented by Item_direct_view_ref. When complex expression
      such as if(sum()>...,...) is splited in simpler parts by refs was ignored.
      Beside this direct ref doesn't use it's result_field and thus can't store
      it's result in tmp table which is needed for sum() ... group.
      All this results in reported bug.
      
      Item::split_sum_func2() now converts Item_direct_view_ref to Item_ref to
      make fields from view being storable in tmp table.
      80c3a0b1
  6. 26 Aug, 2005 1 commit
  7. 25 Aug, 2005 2 commits
  8. 19 Aug, 2005 2 commits
  9. 17 Aug, 2005 1 commit
    • elliot@mysql.com's avatar
      BUG#11338 (logging of prepared statement w/ blob type) · 19778260
      elliot@mysql.com authored
      In cp932, '\' character can be the second byte in a 
      multi-byte character stream. This makes it difficult to use
      mysql_escape_string. Added flag to indicate which languages allow
      '\' as second byte of multibyte sequence so that when putting a prepared
      statement into the binlog we can decide at runtime whether hex encoding
      is really needed.
      19778260
  10. 13 Aug, 2005 1 commit
  11. 12 Aug, 2005 1 commit
    • timour@mysql.com's avatar
      Implementation of WL#2486 - · a247282a
      timour@mysql.com authored
      "Process NATURAL and USING joins according to SQL:2003".
      
      * Some of the main problems fixed by the patch:
        - in "select *" queries the * expanded correctly according to
          ANSI for arbitrary natural/using joins
        - natural/using joins are correctly transformed into JOIN ... ON
          for any number/nesting of the joins.
        - column references are correctly resolved against natural joins
          of any nesting and combined with arbitrary other joins.
      
      * This patch also contains a fix for name resolution of items
        inside the ON condition of JOIN ... ON - in this case items must
        be resolved only against the JOIN operands. To support such
        'local' name resolution, the patch introduces a stack of
        name resolution contexts used at parse time.
      
      NOTICE:
      - This patch is not complete in the sense that
        - there are 2 test cases that still do not pass -
          one in join.test, one in select.test. Both are marked
          with a comment "TODO: WL#2486".
        - it does not include a new test specific for the task
      a247282a
  12. 06 Aug, 2005 1 commit
  13. 31 Jul, 2005 1 commit
    • monty@mishka.local's avatar
      Fixes during review of new pushed code · 8437e9c1
      monty@mishka.local authored
      Change bool in C code to my_bool
      Added to mysqltest --enable_parsning and --disable_parsing to avoid to have to comment parts of tests
      Added comparison of LEX_STRING's and use this to compare file types for view and trigger files.
      8437e9c1
  14. 26 Jul, 2005 2 commits
    • igor@rurik.mysql.com's avatar
      item.h: · c3feb183
      igor@rurik.mysql.com authored
        Post review change in Item_ref::get_tmp_table_field (bug #11412).
      c3feb183
    • bar@mysql.com's avatar
      func_gconcat.result, func_gconcat.test: · 0c2035b7
      bar@mysql.com authored
        Adding test
      item_sum.cc:
        Adding a call for collation/charset aggregation,
            to collect attributes from the arguments. The actual bug fix.
      item_func.h, item_func.cc, item.h, item.cc:
        - Removing collation aggrgation functions from Item_func class
            in item.cc, and adding it as non-class functions in item.cc
            to be able to reuse this code for group_concat.
            - Adding replacement for these functions into Item_func class
            as wrappers for moved functions, to minizize patch size,
      0c2035b7
  15. 25 Jul, 2005 1 commit
    • igor@rurik.mysql.com's avatar
      sql_select.cc: · 24d148d0
      igor@rurik.mysql.com authored
        Fixed bug #11412.
        Reversed the patch of cs 1.1934 for the function 
        create_tmp_table. Modified the function to support
        tem_ref objects created for view fields.
      item_buff.cc:
        Fixed bug #11412.
        Modified implementation of new_Cached_item to support
        cacheing of view fields.
      item.h:
        Fixed bug #11412.
        Changed implementation of Item_ref::get_tmp_table_field and
        added Item_ref::get_tmp_table_item to support Item_ref objects
        created for view fields.
      view.test, view.result:
        Added a test case for bug #11412.
      24d148d0
  16. 22 Jul, 2005 1 commit
  17. 19 Jul, 2005 1 commit
  18. 15 Jul, 2005 2 commits
  19. 13 Jul, 2005 2 commits
    • konstantin@mysql.com's avatar
      - a fix for Bug#11458 "Prepared statement with subselects return random · bef558b7
      konstantin@mysql.com authored
      data": remove the fix for another bug (8807) that
      added OUTER_REF_TABLE_BIT to all subqueries that used a placeholder
      to prevent their evaluation at prepare. As this bit hanged in 
      Item_subselect::used_tables_cache for ever, a constant subquery with
      a placeholder was never evaluated as such, which caused wrong 
      choice of the execution plan for the statement.
      - to fix Bug#8807 backport a better fix from 5.0
      - post-review fixes.
      bef558b7
    • bar@mysql.com's avatar
      ctype_utf8.result: · 5150fdcc
      bar@mysql.com authored
        adding test case
      sql_table.cc:
        sql_table.cc:
        - do not create a new item when charsets are the same
        - return ER_INVALID_DEFAULT if default value cannot
          be converted into the column character set.
      item.cc:
        - Allow conversion not only to Unicode,
          but also to and from "binary".
        - Adding safe_charset_converter() for Item_num
          and Item_varbinary, returning a fixed const Item.
      5150fdcc
  20. 12 Jul, 2005 2 commits
    • evgen@moonbone.local's avatar
      Fix bug#11709 View was ordered by wrong column. · de016ca7
      evgen@moonbone.local authored
      When searching column to sort on, item was compared to field under view
      column, but not the column itself. Because names of view column and underlaid
      field may differ, it leads to possibly choosing wrong column for sorting on.
      
      This patch makes Item_direct_view_ref::eq(Item *item,...) compare
      item's name with it's own name proir to comparing to *ref item.
      de016ca7
    • igor@igor-inspiron.creware.com's avatar
      view.result, view.test: · 26ee0b2e
      igor@igor-inspiron.creware.com authored
        Added a test case for bug #11771.
      item.h:
        Fixed bug #11771.
        Added method reset_query_id_processor to be able to adjust
        query_id for fields generated from * in queries like this:
        SELECT * FROM <view> ...
      sql_base.cc:
        Fixed bug #11771.
        Adjusted query_id for fields generated from * in queries
        like this: SELECT * FROM <view> ...
      26ee0b2e
  21. 04 Jul, 2005 1 commit
    • monty@mysql.com's avatar
      Fixes during review of new code · ec420bfb
      monty@mysql.com authored
      - Mostly indentation fixes
      - Added missing test
      - Ensure that Item_func_case() checks for stack overruns
      - Use real_item() instead of (Item_ref*) item
      - Fixed wrong error handling
      ec420bfb
  22. 01 Jul, 2005 2 commits
    • igor@rurik.mysql.com's avatar
      view.result: · 347687f7
      igor@rurik.mysql.com authored
        Fixed the results of a test for group_concat.
        After the fix foor bug #11639 the results became
        correct.
      olap.result, olap.test:
        Added a test case for bug #11639.
      sql_select.cc:
        Fixed bug #11639: a wrong result set when using a view
        instead of the underlying table in a rollup query 
        executed through filesort.
        The old code did not take into account that we always
        use an Item_ref object when referring to a view column.
      item.h:
        Fixed bug #11639.
        Now if two Item_ref items ref1 and ref2 refer to the same field
        then ref1->eq(ref2) returns 1.
      347687f7
    • bell@sanja.is.com.ua's avatar
      d3905f3d
  23. 27 Jun, 2005 1 commit
    • monty@mishka.local's avatar
      Better bug fix for: · 83f90e06
      monty@mishka.local authored
      #9728  'Decreased functionality in "on duplicate key update
      #8147  'a column proclaimed ambigous in INSERT ... SELECT .. ON DUPLICATE'
      
      This ensures fields are uniquely qualified and also that one can't update other tables in the ON DUPLICATE KEY UPDATE part
      83f90e06
  24. 22 Jun, 2005 3 commits
  25. 21 Jun, 2005 2 commits
  26. 17 Jun, 2005 1 commit
  27. 15 Jun, 2005 1 commit
    • serg@serg.mylan's avatar
      renamed: · 01b3c709
      serg@serg.mylan authored
        Item_buff -> Cached_item
        Item_arena -> Query_arena
        TEST_ASSERT -> YYERROR_UNLESS
      01b3c709
  28. 14 Jun, 2005 2 commits
  29. 13 Jun, 2005 1 commit