1. 13 Mar, 2016 1 commit
  2. 11 Mar, 2016 3 commits
  3. 10 Mar, 2016 1 commit
  4. 07 Mar, 2016 3 commits
  5. 06 Mar, 2016 2 commits
  6. 03 Mar, 2016 2 commits
  7. 02 Mar, 2016 3 commits
  8. 01 Mar, 2016 1 commit
  9. 27 Feb, 2016 1 commit
  10. 25 Feb, 2016 1 commit
    • Sergei Petrunia's avatar
      MDEV-9634: Window function produces incorrect value · d290a665
      Sergei Petrunia authored
      - Item_sum_count::remove() should check if the argument's value is NULL.
      - Window Function item must have its Item_window_func::split_sum_func
        called,
      - and it must call split_sum_func for aggregate's arguments (see the
        comment near Item_window_func::split_sum_func for explanation why)
      d290a665
  11. 20 Feb, 2016 1 commit
  12. 17 Feb, 2016 1 commit
    • Sergei Petrunia's avatar
      MDEV-9526: Compute Aggregate functions as window functions · be158582
      Sergei Petrunia authored
      - Add temporary code: clone_read_record() clones READ_RECORD structure,
        as long as it is used for reading filesort() result that fits into
        memory.
      - Add frame bounds for ROWS-type frames. ROWS n PRECEDING|FOLLOWING,
        ROWS UNBOUNDED PRECEDING|FOLLOWING, CURRENT ROW are supported.
      - Add Item_sum_count::remove() which allows "streaming" computation
        of COUNT() over a moving frame.
      be158582
  13. 15 Feb, 2016 5 commits
  14. 14 Feb, 2016 11 commits
  15. 13 Feb, 2016 3 commits
  16. 09 Feb, 2016 1 commit
    • Igor Babaev's avatar
      This is the consolidated patch for mdev-8646: · 2cfc450b
      Igor Babaev authored
      "Re-factor the code for post-join operations".
      
      The patch mainly contains the code ported from mysql-5.6 and
      created for two essential architectural changes:
      1. WL#5558: Resolve ORDER BY execution method at the optimization stage
      2. WL#6071: Inline tmp tables into the nested loops algorithm
      
      The first task was implemented for mysql-5.6 by Ole John Aske.
      It allows to make all decisions on ORDER BY operation at the optimization
      stage.
      
      The second task implemented for mysql-5.6 by Evgeny Potemkin adds JOIN_TAB
      nodes for post-join operations that require temporary tables. It allows
      to execute these operations within the nested loops algorithm that used to
      be used before this task only for join queries. Besides these task moves
      all planning on the execution of these operations from the execution phase
      to the optimization phase.
      
      Some other re-factoring changes of mysql-5.6 were pulled in, mainly because
      it was easier to pull them in than roll them back. In particular all
      changes concerning Ref_ptr_array were incorporated.
      
      The port required some changes in the MariaDB code that concerned the
      functionality of EXPLAIN and ANALYZE. This was done mainly by Sergey
      Petrunia.
      2cfc450b