1. 28 Nov, 2006 1 commit
    • gkodinov/kgeorge@macbook.gmz's avatar
      BUG#11927: Warnings shown for CAST( chr as signed) but not (chr + 0) · 42cd9567
      gkodinov/kgeorge@macbook.gmz authored
       When implicitly converting string fields to numbers the 
       string-to-number conversion error was not sent to the client.
       Added code to send the conversion error as warning.
       
       We also need to prevent generation of warnings from the places
       where val_xxx() methods are called for the sole purpose of updating
       the Item::null_value flag.
       To achieve that a special function is added (and called) : 
       update_null_value(). This function will set the no_errors flag and
       will call val_xxx(). The warning generation in Field_string::val_xxx()
       will use the flag when generating the conversion warnings. 
      42cd9567
  2. 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
  3. 13 Nov, 2006 3 commits
  4. 09 Nov, 2006 3 commits
  5. 08 Nov, 2006 3 commits
  6. 07 Nov, 2006 9 commits
  7. 06 Nov, 2006 6 commits
  8. 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
  9. 01 Nov, 2006 4 commits
  10. 31 Oct, 2006 8 commits
  11. 30 Oct, 2006 1 commit