1. 17 May, 2016 2 commits
  2. 16 May, 2016 1 commit
    • Alexander Barkov's avatar
      sql_yacc.yy cleanup, to simplify further changes for MDEV-8909. · 1f4f7293
      Alexander Barkov authored
      - Moving "SELECT_SYM select_init2_derived opt_table_expression"
        from query_term into a new separate rule query_specification,
        and using query_specification in the beginning of query_term.
      - query_term now does not have a %type, query_specification has a %type
        instead. This removes duplicate code that returns
        Lex->current_select->master_unit()->first_select();
      1f4f7293
  3. 14 May, 2016 1 commit
  4. 13 May, 2016 3 commits
  5. 10 May, 2016 5 commits
  6. 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
  7. 05 May, 2016 1 commit
  8. 01 May, 2016 2 commits
  9. 29 Apr, 2016 5 commits
  10. 28 Apr, 2016 13 commits
  11. 27 Apr, 2016 3 commits
  12. 26 Apr, 2016 1 commit
  13. 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