1. 13 May, 2016 2 commits
    • Oleksandr Byelkin's avatar
      Fix of PSI & COM_MULTI · ba500853
      Oleksandr Byelkin authored
      ba500853
    • Alexander Barkov's avatar
      sql_yacc.yy: · 53775a97
      Alexander Barkov authored
      - Moving select_options_and_item_list from select_init2
        to select_init and view_select_aux
      - Renaming select_init2 to select_init3
      This will simplify upcoming sql_yacc.yy fixes (e.g. MDEV-10035, MDEV-8909).
      53775a97
  2. 10 May, 2016 5 commits
  3. 06 May, 2016 1 commit
    • Alexander Barkov's avatar
      MDEV-10030 sql_yacc.yy: Split table_expression and remove PROCEDURE from... · c0a59b46
      Alexander Barkov authored
      MDEV-10030 sql_yacc.yy: Split table_expression and remove PROCEDURE from create_select, select_paren_derived, select_derived2, query_specification
      
      This change refactors the "table_expression" rule in sql_yacc.yy.
      
      Queries with subselects and derived tables, as well as "CREATE TABLE ... SELECT"
      now return syntax error instead of "Incorrect usage of PROCEDURE and ...".
      c0a59b46
  4. 05 May, 2016 1 commit
  5. 01 May, 2016 2 commits
  6. 29 Apr, 2016 5 commits
  7. 28 Apr, 2016 13 commits
  8. 27 Apr, 2016 3 commits
  9. 26 Apr, 2016 1 commit
  10. 20 Apr, 2016 2 commits
    • Igor Babaev's avatar
      7db337e3
    • Igor Babaev's avatar
      Fixed bug mdev-9937. · 3b6a64c2
      Igor Babaev authored
      When the specification of a WITH table referred to a view
      that used a based table with the same name as the WITH table
      the server went into an infinite loop because it erroneously
      resolved the reference to the base table as the reference to
      the WITH table.
      
      With tables used in a view cannot be searched for beyond the
      scope the view.
      3b6a64c2
  11. 19 Apr, 2016 1 commit
    • Igor Babaev's avatar
      Fixed bug mdev-9931. · 308cee54
      Igor Babaev authored
      When the specification of a WITH table referred to a view
      that used a based table with the same name as the WITH table
      the server went into an infinite loop because it erroneously
      resolved the reference to the base table as the reference to
      the WITH table.
      
      With tables used in a view cannot be searched for beyond the
      scope the view.
      308cee54
  12. 17 Apr, 2016 1 commit
  13. 16 Apr, 2016 2 commits
  14. 15 Apr, 2016 1 commit
    • Sergei Petrunia's avatar
      MDEV-9925: Wrong result with aggregate function as a window function · a81e711a
      Sergei Petrunia authored
      Make Frame_range_current_row_bottom to take into account partition bounds.
      
      Other partition bounds that could potentially hit the end of partition are
      Frame_range_n_bottom, Frame_n_rows_following, Frame_unbounded_following,
      and they all had end-of-partition protection.
      
      To simplify the code, factored out end-of-partition checks into
      class Partition_read_cursor.
      a81e711a