1. 30 Jan, 2017 1 commit
    • Sergei Golubchik's avatar
      remove a race-condition prone assertion · 9189284b
      Sergei Golubchik authored
      on shutdown it might happen that
      1. the server starts killing THDs
      2. it sets thd->killed in srv_purge_coordinator
      3. srv_purge_coordinator notices that and tells srv_workers to exit
      4. srv_worker will notice that and will start exiting,
          ... assert here ...
      5. server sets thd->killed in worker threads
      
      that is, it might happen that the assert is tested before
      srv_worker's THD got the kill signal.
      
      this fixes various random crashes (on this assertion) on shutdown
      in tests
      9189284b
  2. 29 Jan, 2017 3 commits
  3. 28 Jan, 2017 3 commits
    • Igor Babaev's avatar
      Fixed bug mdev-10773. · abfcdb8f
      Igor Babaev authored
      The temporary tables created for recursive table references
      should be closed in close_thread_tables(), because they might
      be used in the statements like ANALYZE WITH r AS (...) SELECT * from r
      where r is defined through recursion.
      abfcdb8f
    • Sergei Golubchik's avatar
      mysqlbinlog memory leaks · 64b5e942
      Sergei Golubchik authored
      that failed main.mysqlbinlog
      64b5e942
    • Sergei Golubchik's avatar
      cleanup: thd_destructor_proxy · 30ba3100
      Sergei Golubchik authored
      1. wait for thd_destructor_proxy thread to start after creating it.
         this ensures that the thread is ready to receive a shutdown signal
         whenever we want to send it.
      2. join it at shutdown, this guarantees that no innodb THD will exist
         after innobase_end().
      
      this fixes crashes and memory leaks in main.mysqld_option_err
      (were innodb was started and then immediately shut down).
      30ba3100
  4. 27 Jan, 2017 9 commits
  5. 26 Jan, 2017 5 commits
  6. 25 Jan, 2017 9 commits
  7. 24 Jan, 2017 10 commits