1. 31 Aug, 2016 8 commits
  2. 30 Aug, 2016 1 commit
  3. 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
  4. 27 Aug, 2016 18 commits
  5. 26 Aug, 2016 1 commit
    • 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
  6. 24 Aug, 2016 1 commit
  7. 19 Aug, 2016 2 commits
  8. 18 Aug, 2016 1 commit
  9. 08 Aug, 2016 2 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
  10. 05 Aug, 2016 2 commits