1. 01 Jul, 2018 1 commit
  2. 30 Jun, 2018 7 commits
  3. 28 Jun, 2018 12 commits
  4. 27 Jun, 2018 5 commits
    • Sergei Golubchik's avatar
      compat/oracle.parser failed in --ps · 445339fe
      Sergei Golubchik authored
      445339fe
    • Marko Mäkelä's avatar
      377cd520
    • Sergey Vojtovich's avatar
      MDEV-8540 - Crash on server shutdown since 10.0.16 · bf4244d1
      Sergey Vojtovich authored
      Only close stdin if it was open initinally. Otherwise we may close file
      descriptor which is reused for different puprose (specifically for binlog
      index file in case of this bug).
      bf4244d1
    • Jan Lindström's avatar
      MDEV-15607: mysqld crashed few after node is being joined with sst · be569826
      Jan Lindström authored
      This is a typical systemd response where it tries to shutdown the
      joiner (due to "timeout") before the joiner manages to complete SST.
      
      wsrep_sst_wait
      wsrep_SE_init_wait
      	While waiting the operation to finish use mysql_cond_timedwait
      	instead of mysql_cond_wait and if operation is not finished
      	extend systemd timeout (if needed).
      be569826
    • Alexander Barkov's avatar
      MDEV-16584 SP with a cursor inside a loop wastes THD memory aggressively · 56145be2
      Alexander Barkov authored
      Problem:
      
      push_cursor() created sp_cursor instances on THD::main_mem_root,
      which is freed only after the SP instructions loop.
      
      Changes:
      - Moving sp_cursor declaration from sp_rcontext.h to sql_class.h
      - Deriving sp_instr_cpush from sp_cursor. So now sp_cursor is created
        only once (at the SP parse time) and then reused on all loop iterations
      - Adding a new method reset() into sp_cursor (and its parent classes)
        to reset an sp_cursor instance before reuse.
      - Moving former sp_cursor members m_fetch_count, m_row_count, m_found
        into a separate class sp_cursor_statistics. This helps to reuse
        the code in sp_cursor constructors, and in sp_cursor::reset()
      - Adding a helper method sp_rcontext::pop_cursor().
      - Adding "THD*" parameter to so_rcontext::pop_cursors() and pop_all_cursors()
      - Removing "new" and "delete" from sp_rcontext::push_cursor() and
        sp_rconext::pop_cursor().
      - Fixing sp_cursor not to derive from Sql_alloc, as it's now allocated
        only as a part of sp_instr_cpush (and not allocated separately).
      - Moving lex_keeper->disable_query_cache() from sp_cursor::sp_cursor()
        to sp_instr_cpush::execute().
      - Adding tests
      56145be2
  5. 26 Jun, 2018 11 commits
  6. 25 Jun, 2018 4 commits