1. 30 Aug, 2016 5 commits
  2. 29 Aug, 2016 4 commits
    • Monty's avatar
      Fixed failures for privilege_table_io and wsrep_cluster_address_basic · bbfb5d7c
      Monty authored
      - Sometimes privilege_table_io printed double rows of roles_mapping
        - Fixed by forcing restart of server when running test
      - Wsrep_cluster_address_basic failed in some combinations because
        wsrep_cluster_address was set to NULL
        - Fixed by ensuring it's never set to NULL, only empty string
      bbfb5d7c
    • Monty's avatar
      Set server_id to 1 by default and disallow to set it to 0 · 1c915692
      Monty authored
      This makes it easier to setup master as on only have to set --log-bin.
      Before this patch if one did set up the master with just --log-bin, slaves
      could not connect until server_id was set on the master, which could be
      both confusing and hard to do.
      1c915692
    • Monty's avatar
    • Monty's avatar
      Better SHOW PROCESSLIST for replication · 96e95b54
      Monty authored
      - When waiting for events, start time is now counted from start of wait
      - Instead of having "Connect" as "Command" for all replication threads we
        now have:
        - Slave_IO for Slave thread reading relay log
        - Slave_SQL for slave executing SQL commands or distribution queries to
          Slave workers
        - Slave_worker for slave threads executin SQL commands in parallel replication
      96e95b54
  3. 27 Aug, 2016 18 commits
  4. 26 Aug, 2016 2 commits
    • Igor Babaev's avatar
      mdev-9864: cleanup, re-factoring. · c8f85bf2
      Igor Babaev authored
      Added comments.
      c8f85bf2
    • Alexander Kuleshov's avatar
      Call profiling.restart() and profiling.reset() only if profiling is enabled · e7f54437
      Alexander Kuleshov authored
      in other case we will get:
      
      ../alex/dev/server/sql/sql_class.cc: In member function ‘void THD::free_connection()’:
      ../server/sql/sql_class.cc:1664:3: error: ‘profiling’ was not declared in this scope
         profiling.restart();                          // Reset profiling
            ^~~~~~~~~
      
      ../server/sql/sql_class.cc: In member function ‘void THD::reset_for_reuse()’:
      ../server/sql/sql_class.cc:1689:3: error: ‘profiling’ was not declared in this scope
        profiling.reset();
             ^~~~~~~~~
      
      errors.
      e7f54437
  5. 19 Aug, 2016 2 commits
  6. 18 Aug, 2016 1 commit
  7. 11 Aug, 2016 1 commit
  8. 10 Aug, 2016 1 commit
    • Igor Babaev's avatar
      Removed the parameter from st_select_lex_unit::exec_recursive. · 2f9555c4
      Igor Babaev authored
      Moved checking whether the limit set for the number of iterations
      when executing a recursive query has been reached from
      st_select_lex_unit::exec_recursive to TABLE_LIST::fill_recursive.
      Changed the name of the system variable max_recursion_level for
      max_recursive_iterations.
      Adjusted test cases.
      2f9555c4
  9. 09 Aug, 2016 1 commit
  10. 08 Aug, 2016 3 commits
    • Nirbhay Choubey's avatar
      MDEV-10320: NO-OP ALTER TABLE on temporary tables getting · 69052ed0
      Nirbhay Choubey authored
      .. logged under row binlog format
      
      In the early stages of ALTER TABLE execution, the implementation
      checks whether its a NOOP (alter_info->flags == 0), and if so,
      it returns after logging the command to binary log. The logging,
      however, was done unconditionally.
      
      Fixed by skipping the logging for temporary tables when under row
      based replication.
      69052ed0
    • Nirbhay Choubey's avatar
      MDEV-10216: Assertion `strcmp(share->unique_file_name,filename) || · df9b4554
      Nirbhay Choubey authored
      .. share->last_version' failed in myisam/mi_open.c:67: test_if_reopen
      
      During the RENAME operation since the renamed temporary table is also
      opened and added to myisam_open_list/maria_open_list, resetting the
      last_version at the end of operation (HA_EXTRA_PREPARE_FOR_RENAME)
      will cause an assertion failure when a subsequent query tries to open
      an additional temporary table instance and thus attempts to reuse it
      from the open table list.
      
      This commit fixes the issue by skipping flush/close operations executed
      toward the end of ALTER for temporary tables. It also enables a shortcut
      for simple ALTERs (like rename, disable/enable keys) on temporary
      tables.
      
      As safety checks, added some assertions at code points that should not
      be hit for temporary tables.
      df9b4554
    • Sergei Petrunia's avatar
      MDEV-10372: EXPLAIN fixes for recursive CTEs, including FORMAT=JSON · a2f245e4
      Sergei Petrunia authored
      - Tabular EXPLAIN now prints "RECURSIVE UNION".
      - There is a basic implementation of EXPLAIN FORMAT=JSON.
      - it produces "recursive_union" JSON struct
      - No other details or ANALYZE support, yet.
      a2f245e4
  11. 05 Aug, 2016 2 commits