1. 05 Sep, 2018 1 commit
  2. 03 Sep, 2018 1 commit
  3. 01 Sep, 2018 2 commits
  4. 31 Aug, 2018 9 commits
  5. 30 Aug, 2018 8 commits
  6. 29 Aug, 2018 3 commits
  7. 28 Aug, 2018 8 commits
  8. 27 Aug, 2018 2 commits
    • Monty's avatar
      MDEV-15797 Assertion `thd->killed != 0' failed in ha_maria::enable_indexes · cded083a
      Monty authored
      Problem was that a parallel open of a table, overwrote info->state that
      was in used by repair.
      
      Fixed by changing _ma_tmp_disable_logging_for_table() to use
      a new state buffer state.no_logging to store the temporary state.
      
      Other things:
      - Use original number of rows when retrying repair to get rid of a
        potential warning "Number of rows changed from X to Y"
      - Changed maria_commit() to make it easier to merge with 10.4
      - If table is not locked (like with show commands), use the global
        number of rows as the local number may not be up to date.
        (Minor not critical fix)
      - Added some missing DBUG_RETURN
      cded083a
    • Galina Shalygina's avatar
      MDEV-16803: Pushdown Item_func_in item that uses vectors in several SELECTs · 55163ba1
      Galina Shalygina authored
      The bug appears because of the Item_func_in::build_clone() method.
      The 'array' field for the Item_func_in item that can be pushed into
      the materialized view/derived table was built in the wrong way.
      It becomes lame after the pushdown of the condition into the first
      SELECT that defines that view/derived table. The server crashes in
      the pushdown into the next SELECT while trying to use already lame
      'array' field.
      
      To fix it Item_func_in::build_clone() was changed.
      55163ba1
  9. 26 Aug, 2018 1 commit
    • Ming Lin's avatar
      MDEV-16703: Update AUTO_INCREMENT in the UPDATE statement · 2b76f6f6
      Ming Lin authored
      Currently RocksDB engine doesn't update AUTO_INCREMENT in the UPDATE statement.
      For example,
      
      CREATE TABLE t1 (pk INT AUTO_INCREMENT, a INT, PRIMARY KEY(pk)) ENGINE=RocksDB;
      INSERT INTO t1 (a) VALUES (1);
      UPDATE t1 SET pk = 3; ==> AUTO_INCREMENT should be updated to 4.
      
      Without this fix, it hits the Assertion `dd_val >= last_val' failed in
      myrocks::ha_rocksdb::load_auto_incr_value_from_index.
      
      (cherry picked from commit f7154242)
      2b76f6f6
  10. 25 Aug, 2018 2 commits
  11. 24 Aug, 2018 3 commits
    • Marko Mäkelä's avatar
      MDEV-15511 Use stunnel during rsync SST if available · 8b949d96
      Marko Mäkelä authored
      Merge the 10.2 version, which was created by Vasil Dimov.
      8b949d96
    • benrubson's avatar
      Use stunnel during rsync SST if available · 4c652fc6
      benrubson authored
      (cherry picked from commit 1adc382c)
      4c652fc6
    • Marko Mäkelä's avatar
      MDEV-16868 Same query gives different results · 1b4c5b73
      Marko Mäkelä authored
      An INSERT into a temporary table would fail to set the
      index page as modified. If there were no other write operations
      (such as UPDATE or DELETE) to the page, and the page was evicted,
      we would read back the old contents of the page, causing
      corruption or loss of data.
      
      page_cur_insert_rec_write_log(): Call mtr_t::set_modified()
      for temporary tables. Normally this is part of the mlog_open()
      call, but the mlog_open() call was only present in debug builds.
      This regression was caused by
      commit 48192f96
      which was preparation for MDEV-11369 and supposed to affect
      debug builds only.
      
      Thanks to Thirunarayanan Balathandayuthapani for debugging.
      1b4c5b73