1. 24 Oct, 2006 1 commit
    • gkodinov/kgeorge@macbook.gmz's avatar
      Bug #21809: Error 1356 while selecting from view with grouping though underlying · 932d86bb
      gkodinov/kgeorge@macbook.gmz authored
                  select OK.
      The SQL parser was using Item::name to transfer user defined function attributes
      to the user defined function (udf). It was not distinguishing between user defined 
      function call arguments and stored procedure call arguments. Setting Item::name 
      was causing Item_ref::print() method to print the argument as quoted identifiers 
      and caused views that reference aggregate functions as udf call arguments (and 
      rely on Item::print() for the text of the view to store) to throw an undefined 
      identifier error.
      Overloaded Item_ref::print to print aggregate functions as such when printing
      the references to aggregate functions taken out of context by split_sum_func2()
      Fixed the parser to properly detect using AS clause in stored procedure arguments
      as an error.
      Fixed printing the arguments of udf call to print properly the udf attribute.
      932d86bb
  2. 16 Oct, 2006 6 commits
  3. 13 Oct, 2006 1 commit
    • evgen@moonbone.local's avatar
      Bug#14959: ALTER TABLE isn't able to rename a view · 2b474898
      evgen@moonbone.local authored
      The mysql_alter_table() was able to rename only a table.
      
      The view/table renaming code is moved from the function rename_tables 
      to the new function called do_rename().
      The mysql_alter_table() function calls it when it needs to rename a view.
      2b474898
  4. 11 Oct, 2006 1 commit
    • evgen@moonbone.local's avatar
      Bug#22138: Unhandled NULL caused server crash · ea8a646d
      evgen@moonbone.local authored
      The Cached_item_decimal::cmp() method wasn't checking for null pointer
      returned from the val_decimal() of the item being cached.
      This leads to server crash.
      
      The Cached_item_decimal::cmp() method now check for null values.
      ea8a646d
  5. 09 Oct, 2006 2 commits
    • gkodinov/kgeorge@macbook.local's avatar
      Merge bk-internal:/home/bk/mysql-5.0-opt · 5367793e
      gkodinov/kgeorge@macbook.local authored
      into  macbook.local:/Users/kgeorge/mysql/work/B22781-5.0-opt
      5367793e
    • gkodinov/kgeorge@macbook.local's avatar
      Bug #22781: SQL_BIG_RESULT fails to influence sort plan · 13633864
      gkodinov/kgeorge@macbook.local authored
       Currently SQL_BIG_RESULT is checked only at compile time.
       However, additional optimizations may take place after
       this check that change the sort method from 'filesort'
       to sorting via index. As a result the actual plan
       executed is not the one specified by the SQL_BIG_RESULT
       hint. Similarly, there is no such test when executing
       EXPLAIN, resulting in incorrect output.
       The patch corrects the problem by testing for
       SQL_BIG_RESULT both during the explain and execution
       phases.
      13633864
  6. 01 Oct, 2006 3 commits
  7. 29 Sep, 2006 7 commits
  8. 28 Sep, 2006 7 commits
  9. 27 Sep, 2006 7 commits
  10. 26 Sep, 2006 1 commit
  11. 25 Sep, 2006 4 commits