1. 28 Apr, 2016 13 commits
  2. 27 Apr, 2016 3 commits
  3. 26 Apr, 2016 1 commit
  4. 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
  5. 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
  6. 17 Apr, 2016 1 commit
  7. 16 Apr, 2016 2 commits
  8. 15 Apr, 2016 2 commits
  9. 14 Apr, 2016 2 commits
  10. 13 Apr, 2016 2 commits
    • Vicențiu Ciorbaru's avatar
      Make ntile use args[0] for it's argument. · 31fb045c
      Vicențiu Ciorbaru authored
      Don't hold a separate pointer as args[0] changes during fix_fields /
      split_sum_func.
      31fb045c
    • Vicențiu Ciorbaru's avatar
      Fix another bug in dense_rank. · 3dd08a11
      Vicențiu Ciorbaru authored
      When ordering by a column and partitioning by another, we must reset the
      peer_tracker for dense_rank, regardless if the value for the order
      column changes or not.
      
      Example:
      select a, b, dense_rank() over (partition by b order by a)
      a  |  b  |  dense_rank
      ----------------------
      1  | p1  |           1
      2  | p1  |           2
      2  | p2  |           1   // Here, without this fix we returned 0.
      2  | p2  |           2   // And 1 here.
      3dd08a11
  11. 11 Apr, 2016 4 commits
  12. 10 Apr, 2016 4 commits
  13. 09 Apr, 2016 1 commit
  14. 08 Apr, 2016 2 commits
    • Sergei Petrunia's avatar
      Make the testcase deterministic · e292ea87
      Sergei Petrunia authored
      e292ea87
    • Kristian Nielsen's avatar
      MDEV-9383: Server fails to read master.info after upgrade 10.0 -> 10.1 · 1cf852d8
      Kristian Nielsen authored
      In some cases, MariaDB 10.0 could write a master.info file that was read
      incorrectly by 10.1 and could cause server to fail to start after an upgrade.
      
      (If writing a new master.info file that is shorter than the old, extra
      junk may remain at the end of the file. This is handled properly in
      10.1 with an END_MARKER line, but this line is not written by
      10.0. The fix here is to make 10.1 robust at reading the master.info
      files written by 10.0).
      
      Fix several things around reading master.info and read_mi_key_from_file():
      
       - read_mi_key_from_file() did not distinguish between a line with and
         without an eqals '=' sign.
      
       - If a line was empty, read_mi_key_from_file() would incorrectly return
         the key from the previous call.
      
       - An extra using_gtid=X line left-over by MariaDB 10.0 might incorrectly
         be read and overwrite the correct value.
      
       - Fix incorrect usage of strncmp() which should be strcmp().
      
       - Add test cases.
      1cf852d8