1. 15 Nov, 2018 1 commit
    • Vladislav Vaintroub's avatar
      Fix test result. · efc235d8
      Vladislav Vaintroub authored
      in 10.3, AWS encryption key was loaded during recovery, by the innodb purge
      thread, therefore no note "loaded key" was written by the foreground
      thread.
      efc235d8
  2. 14 Nov, 2018 3 commits
    • Alexander Barkov's avatar
      MDEV-17278 CURSOR FOR LOOP - ERROR: unexpected end of stream, read 0 bytes (SERVER CRASH) · 13cd4cf4
      Alexander Barkov authored
      sp_instr_cursor_copy_struct::exec_core() created TYPELIBs on a wrong mem_root,
      the one which is initialized in sp_head::execute(), this code:
      
        /* init per-instruction memroot */
        init_sql_alloc(&execute_mem_root, "per_instruction_memroot",
                       MEM_ROOT_BLOCK_SIZE, 0, MYF(0));
      
      This memory root cleans up after every sp_instr_xxx executed, so later
      sp_instr_cfetch::execute() tried to use already freed and trashed memory.
      
      Changing sp_instr_cursor_copy_struct::exec_core() to call tmp.export_structure()
      inside this block (not outside of it):
        thd->set_n_backup_active_arena(thd->spcont->callers_arena, &current_arena);
        ...
        thd->restore_active_arena(thd->spcont->callers_arena, &current_arena);
      
      So now TYPELIBs created by sp_instr_cursor_copy_struct::exec_core() are
      still available and valid when sp_instr_cfetch::execute() is called.
      They are freed at the end of dispatch_command() corresponding to
      the "CALL p1" statement.
      13cd4cf4
    • Alexander Barkov's avatar
      45769429
    • Marko Mäkelä's avatar
      os_aio_validate_skip(): Fix a data race · f7184777
      Marko Mäkelä authored
      f7184777
  3. 13 Nov, 2018 7 commits
  4. 12 Nov, 2018 2 commits
  5. 11 Nov, 2018 2 commits
  6. 10 Nov, 2018 1 commit
  7. 09 Nov, 2018 4 commits
  8. 08 Nov, 2018 4 commits
  9. 07 Nov, 2018 11 commits
  10. 06 Nov, 2018 5 commits