1. 30 Dec, 2019 2 commits
    • Marko Mäkelä's avatar
      Merge 10.3 into 10.4 · ffc0a08d
      Marko Mäkelä authored
      ffc0a08d
    • Marko Mäkelä's avatar
      MDEV-21405 Assertion failed on instant ADD COLUMN · 02e30069
      Marko Mäkelä authored
      btr_cur_pessimistic_insert(): Relax a too strict debug assertion that
      would fail when the function is invoked by btr_cur_pessimistic_update()
      during innobase_add_instant_try(), that is, when updating the hidden
      metadata record during a subsequent ADD COLUMN operation involves
      splitting the leftmost clustered index leaf page.
      
      This is a partial backport of 301bd62b
      from 10.4.
      02e30069
  2. 29 Dec, 2019 2 commits
    • Nikita Malyavin's avatar
      MDEV-18865 Assertion `t->first->versioned_by_id()' failed in innodb_prepare_commit_versioned · 4923604e
      Nikita Malyavin authored
      Cause:
      * row_start != 0 treated as it exists. Probably, possible row permutations had not been taken in mind.
      
      Solution:
      * Checking both row_start and row_end is correct, so versioned() function is used
      4923604e
    • Nikita Malyavin's avatar
      MDEV-18875 Assertion `thd->transaction.stmt.ha_list == __null || trans ==... · 720e9bd5
      Nikita Malyavin authored
      MDEV-18875 Assertion `thd->transaction.stmt.ha_list == __null || trans == &thd->transaction.stmt' failed or bogus ER_DUP_ENTRY upon ALTER TABLE with versioning
      
      Cause:
      * when autocommit=0 (or transaction is issued by user),
       `ha_commit_trans` is called twice on ALTER TABLE, causing a duplicated
       insert into `transaction_registry` (ER_DUP_ENTRY).
      
      Solution:
      * ALTER TABLE makes an implicit commit by a second call. We actually
       need to make an insert only when it is a real commit. So is_real
       variable is additionally checked.
      720e9bd5
  3. 27 Dec, 2019 7 commits
  4. 26 Dec, 2019 1 commit
    • Varun Gupta's avatar
      MDEV-21318: Wrong results with window functions and implicit grouping · 891609b5
      Varun Gupta authored
      The issue here is for degenerate joins we should execute the window
      function but it is not getting executed in all the cases.
      
      To get the window function values window function needs to be executed
      always. This currently does not happen in few cases
      where the join would return 0 or 1 row like
        1) IMPOSSIBLE WHERE
        2) MIN/MAX optimization
        3) EMPTY CONST TABLE
      
      The fix is to make sure that window functions get executed
      and the temporary table is setup for the execution of window functions
      891609b5
  5. 25 Dec, 2019 2 commits
  6. 24 Dec, 2019 3 commits
  7. 23 Dec, 2019 7 commits
  8. 21 Dec, 2019 2 commits
  9. 20 Dec, 2019 4 commits
  10. 19 Dec, 2019 1 commit
  11. 18 Dec, 2019 8 commits
  12. 17 Dec, 2019 1 commit