1. 14 Nov, 2006 1 commit
    • evgen@moonbone.local's avatar
      Bug#20045: Server crash on INSERT ... SELECT ... FROM non-mergeable view · 51983545
      evgen@moonbone.local authored
      The regression is caused by the fix for bug 14767. When INSERT ... SELECT
      used a view in the SELECT list that was not inlined, and there was an 
      active transaction, the server could crash in Query_cache::invalidate.
      
      On INSERT ... SELECT only the table being inserted into is invalidated.
      Thus views that can't be inlined are skipped from invalidation.
      
      The bug manifests itself in two ways so there is 2 test cases.
      One checks that the only the table being inserted into is invalidated.
      And the second one checks that there is no crash on INSERT ... SELECT.
      51983545
  2. 13 Nov, 2006 3 commits
  3. 09 Nov, 2006 3 commits
  4. 08 Nov, 2006 3 commits
  5. 07 Nov, 2006 9 commits
  6. 06 Nov, 2006 6 commits
  7. 03 Nov, 2006 1 commit
    • gkodinov/kgeorge@macbook.gmz's avatar
      Bug #22457: Column alias in ORDER BY works, but not if in an expression · 77acba32
      gkodinov/kgeorge@macbook.gmz authored
       The parser is allocating Item_field for references by name in ORDER BY
       expressions. Such expressions however may point not only to Item_field 
       in the select list (or to a table column) but also to an arbitrary Item. 
       This causes Item_field::fix_fields to throw an error about missing 
       column.
       The fix substitutes Item_field for the reference with an Item_ref when 
       not pointing to Item_field.
      77acba32
  8. 01 Nov, 2006 4 commits
  9. 31 Oct, 2006 8 commits
  10. 30 Oct, 2006 1 commit
  11. 25 Oct, 2006 1 commit