An error occurred fetching the project authors.
  1. 08 Mar, 2016 2 commits
  2. 23 Feb, 2016 3 commits
    • Daniele Sciascia's avatar
      refs codership/mysql-wsrep#228 · 1e14db11
      Daniele Sciascia authored
      - Add calls to wsrep_sync_wait for
        SHOW CREATE DB/PROCEDURE/FUNCTION/TRIGGER/EVENT
        and SHOW PROCEDURE/FUNCTION CODE
      1e14db11
    • Daniele Sciascia's avatar
      refs codership/mysql-wsrep#201 · c6659345
      Daniele Sciascia authored
      Fix remaining issues with wsrep_sync_wait and query cache.
      
      - Fixes misplaced call to invalidate query cache in
        Rows_log_event::do_apply_event().
        Query cache was invalidated too early, and allowed old
        entries to be inserted to the cache.
      
      - Reset thd->wsrep_sync_wait_gtid on query cache hit.
        THD->cleanup_after_query is not called in such cases,
        and thd->wsrep_sync_wait_gtid remained initialized.
      c6659345
    • Nirbhay Choubey's avatar
      Bug#1421360: Add Percona Server specific FLUSH statements. · 17ac9597
      Nirbhay Choubey authored
      - Restore FLUSH commands supported by MariaDB (removed in
      the previous commit)
      - Adjust test case
      17ac9597
  3. 22 Feb, 2016 4 commits
  4. 10 Feb, 2016 1 commit
  5. 08 Feb, 2016 1 commit
  6. 07 Feb, 2016 1 commit
    • Monty's avatar
      MDEV-6150 Speed up connection speed by moving creation of THD to new thread · 3d4a7390
      Monty authored
      Creating a CONNECT object on client connect and pass this to the working thread which creates the THD.
      Split LOCK_thread_count to different mutexes
      Added LOCK_thread_start to syncronize threads
      Moved most usage of LOCK_thread_count to dedicated functions
      Use next_thread_id() instead of thread_id++
      
      Other things:
      - Thread id now starts from 1 instead of 2
      - Added cast for thread_id as thread id is now of type my_thread_id
      - Made THD->host const (To ensure it's not changed)
      - Removed some DBUG_PRINT() about entering/exiting mutex as these was already logged by mutex code
      - Fixed that aborted_connects and connection_errors_internal are counted in all cases
      - Don't take locks for current_linfo when we set it (not needed as it was 0 before)
      3d4a7390
  7. 02 Feb, 2016 1 commit
  8. 25 Jan, 2016 1 commit
  9. 03 Jan, 2016 1 commit
    • Monty's avatar
      Cleanup of slave code: · 661a6d89
      Monty authored
      - Added testing if connection is killed to shortcut reading of connection data
        This will allow us later in 10.2 to do a cleaner shutdown of slaves (less errors in the log)
      - Add new status variables: Slaves_connected, Slaves_running and Slave_connections.
      - Use MYSQL_SLAVE_NOT_RUN instead of 0 with slave_running.
      - Don't print obvious extra warnings to the error log when slave is shut down normally.
      661a6d89
  10. 29 Dec, 2015 1 commit
  11. 26 Nov, 2015 2 commits
  12. 24 Nov, 2015 1 commit
  13. 13 Nov, 2015 2 commits
    • Kristian Nielsen's avatar
      d5d87c98
    • Kristian Nielsen's avatar
      MDEV-7818: Deadlock occurring with parallel replication and FTWRL · ba025501
      Kristian Nielsen authored
      Problem is that FLUSH TABLES WITH READ LOCK first blocks threads from
      starting new commits, then waits for running commits to complete. But
      in-order parallel replication needs commits to happen in a particular
      order, so this can easily deadlock.
      
      To fix this problem, this patch introduces a way to temporarily pause
      the parallel replication worker threads. Before starting FTWRL, we let
      all worker threads complete in-progress transactions, and then
      wait. Then we proceed to take the global read lock. Once the lock is
      obtained, we unpause the worker threads. Now commits are blocked from
      starting by the global read lock, so the deadlock will no longer occur.
      ba025501
  14. 10 Nov, 2015 1 commit
  15. 24 Oct, 2015 1 commit
  16. 22 Oct, 2015 1 commit
  17. 06 Oct, 2015 3 commits
    • Oleksandr Byelkin's avatar
      MDEV-8380: Subquery parse error · bed4e847
      Oleksandr Byelkin authored
      backport mysql parser fixes
      0034963fbf199696792491bcb79d5f0731c98804
      5948561812bc691bd0c13cf518a3fe77d9daf920
      bed4e847
    • Sergei Petrunia's avatar
      Fix for MDEV-8321, MDEV-6223 · 12897947
      Sergei Petrunia authored
      EXPLAIN INSERT ... SELECT tried to use SELECT's execution path. This
      caused a collection of problems:
      - SELECT_DESCRIBE flag was not put into select_lex->options, which
        means it was not in JOIN::select_options either (except for the first
        member of the UNION).
      - This caused UNION members to be executed. They would attempt to write
        join output rows to the output.
      - (Actual cause of the crash) second join sibling would call
        result->send_eof() when finished execution. Then,
        Explain_query::print_explain would attempt to write to query output
        again, and cause an assertion due to non-empty query output.
      12897947
    • Sergei Petrunia's avatar
      MDEV-8299: MyISAM or Aria table gets corrupted after EXPLAIN INSERT and INSERT · a7dd24cd
      Sergei Petrunia authored
      [EXPLAIN] INSERT .. SELECT creates a select_insert object.
      select_insert calls handler->start_bulk_insert() during
      initialization.
      
      For MyISAM/Aria this requires that a matching call to
      handler->end_bulk_insert() call is made.
      
      Regular INSERT .. SELECT accomplishes this by calling either
      select_result->send_eof() or select_result->abort_result_set().
      
      EXPLAIN INSERT ... SELECT didn't call either, which resulted in
      improper de-initializaiton of handler object. Make it call
      abort_result_set(), which invokes handler->end_bulk_insert().
      a7dd24cd
  18. 02 Oct, 2015 1 commit
  19. 22 Sep, 2015 1 commit
  20. 10 Sep, 2015 5 commits
  21. 08 Sep, 2015 1 commit
    • Nirbhay Choubey's avatar
      MDEV-8763: Galera tests failures with --ps-protocol · 28ad6a7f
      Nirbhay Choubey authored
      (MDEV-8617: Post-fix for 10.1)
      * Reset THD's PS members before returning when node is
      not ready
      * Add CF_SKIP_WSREP_CHECK flag to COM_STMT_XXX commands
      * Skip TO replication of COM_STMT_PREPAREs for MyISAM
      * Updated tests
      28ad6a7f
  22. 01 Sep, 2015 1 commit
  23. 27 Aug, 2015 1 commit
  24. 21 Aug, 2015 2 commits
    • Monty's avatar
      Stage 2 of MDEV-6152: · 1bae0d9e
      Monty authored
      - Added mem_root to all calls to new Item
      - Added private method operator new(size_t size) to Item to ensure that
        we always use a mem_root when creating an item.
      
      This saves use once call to current_thd per Item creation
      1bae0d9e
    • Sergey Vojtovich's avatar
      MDEV-8010 - Avoid sql_alloc() in Items (Patch #1) · 31e365ef
      Sergey Vojtovich authored
      Added mandatory thd parameter to Item (and all derivative classes) constructor.
      Added thd parameter to all routines that may create items.
      Also removed "current_thd" from Item::Item. This reduced number of
      pthread_getspecific() calls from 290 to 177 per OLTP RO transaction.
      31e365ef
  25. 14 Aug, 2015 1 commit