1. 10 May, 2018 8 commits
  2. 09 May, 2018 8 commits
    • Vladislav Vaintroub's avatar
      Fix warning VS2017 15.7 update. · 8ba0eea6
      Vladislav Vaintroub authored
      This previously unreported warning comes from casting size_t to ulong
      in sql_hset.h in Hash_Set::at().
      
      Change my_hash_element to accept size_t index parameter.
      8ba0eea6
    • Jacob Mathew's avatar
      MDEV-15697: Remote user used by Spider needs SUPER privilege · df420cbb
      Jacob Mathew authored
      The remote users need the SUPER privilege because by default Spider sends a
      'SET SQL_LOG_OFF' statement to the data nodes.  This is controlled by the
      spider_internal_sql_log_off configuration setting on the Spider node, which
      can only be set to 0 or 1, with a default value of 1.
      
      I have fixed the problem by changing this configuration setting so that if it
      is NOT SET, which is the most likely case, the Spider node DOES NOT SEND the
      'SET SQL_LOG_OFF' statement to the data nodes.  However if the
      spider_internal_sql_log_off setting IS EXPLICITLY SET to either 0 or 1, then
      the Spider node DOES SEND the 'SET SQL_LOG_OFF' statement, requiring a remote
      user with the SUPER privilege.  The Spider documentation will be updated to
      reflect this change.
      
      Author:
        Jacob Mathew.
      
      Reviewer:
        Kentoku Shiba.
      
      Cherry-Picked:
        Commit 72f0efac on branch bb-10.3-MDEV-15697
      df420cbb
    • Sergei Golubchik's avatar
      install disks plugin on debian · ff579bc8
      Sergei Golubchik authored
      ff579bc8
    • Thirunarayanan Balathandayuthapani's avatar
      MDEV-16125 Shutdown crash when innodb_force_recovery >= 2 · fe95cb2e
      Thirunarayanan Balathandayuthapani authored
      Problem:
      =======
      InnoDB master thread encounters the shutdown state as SRV_SHUTDOWN_FLUSH_PHASE
      when innodb_force_recovery >=2 and slow scheduling of master thread during
      shutdown.
      
      Fix:
      ====
      There is no need for master thread itself if innodb_force_recovery >=2.
      Don't create the master thread if innodb_force_recovery >= 2
      fe95cb2e
    • Marko Mäkelä's avatar
      Merge 10.0 into 10.1 · d06ca5bb
      Marko Mäkelä authored
      d06ca5bb
    • Marko Mäkelä's avatar
      MDEV-16119 InnoDB lock->index refers to a freed object after failed ADD INDEX · 4f42f0d1
      Marko Mäkelä authored
      The problem is hard to repeat, and I failed to create a deterministic
      test case. Online index creation creates stubs for to-be-created indexes.
      If index creation fails, we could remove these stubs while locks exist
      in the indexes. (This would require that the index creation was completed,
      and a concurrent DML operation acquired a lock on a record in the
      uncommitted index. If a duplicate key error occurs in an uncommitted
      index, the error will be reported for the CREATE UNIQUE INDEX, not for
      the DML operation that tried to insert the duplicate.)
      
      dict_table_try_drop_aborted(), row_merge_drop_indexes(): If transactional
      locks exist on the table, keep the table->indexes intact.
      4f42f0d1
    • Marko Mäkelä's avatar
      MDEV-15916 Change buffer crash during TRUNCATE or DROP TABLE · 0ea625b3
      Marko Mäkelä authored
      ibuf_restore_pos(): Do not issue any messages if the tablespace
      is being dropped or truncated. In MariaDB 10.2, TRUNCATE TABLE
      would not change the tablespace ID, and therefore the tablespace
      would be found, even though TRUNCATE is in progress.
      
      Furthermore, do not commit suicide if restoring the change buffer
      cursor fails. The worst that could happen is that a secondary index
      becomes corrupted due to incomplete change buffer merge.
      0ea625b3
    • Jan Lindström's avatar
      MDEV-15351: wsrep_sst_xtrabackup is broken in 10.1.31 · b2fc197b
      Jan Lindström authored
      Remove the setup_ports function call. This is related to
      https://github.com/MariaDB/server/pull/717
      
      Thanks to Daniel Black and Bart S.
      b2fc197b
  3. 08 May, 2018 8 commits
  4. 07 May, 2018 10 commits
  5. 06 May, 2018 2 commits
    • Olivier Bertrand's avatar
      - Fix MDEV-15735 CONNECT [filamtxt.cpp:429]: Suspicious condition · 0138220f
      Olivier Bertrand authored
        modified:   storage/connect/filamtxt.cpp
      
      - Fix compiler warnings
        modified:   storage/connect/domdoc.cpp
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/json.h
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/tabext.cpp
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/tabjson.h
      
      - Miscelleanous from 10.3
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/mycat.cc
        modified:   storage/connect/user_connect.cc
      0138220f
    • Sergei Golubchik's avatar
      update test results · b4e8ad50
      Sergei Golubchik authored
      b4e8ad50
  6. 05 May, 2018 2 commits
  7. 04 May, 2018 2 commits
    • Marko Mäkelä's avatar
      MDEV-16092 Crash in encryption.create_or_replace · 39d248fa
      Marko Mäkelä authored
      If the tablespace is dropped or truncated after the
      space->is_stopping() check in fil_crypt_get_page_throttle_func(),
      we would proceed to request the page, and eventually report a fatal
      error.
      
      buf_page_get_gen(): Do not retry reading if mode==BUF_GET_POSSIBLY_FREED.
      
      lock_rec_block_validate(): Be prepared for a NULL return value when
      invoking buf_page_get_gen() with mode=BUF_GET_POSSIBLY_FREED.
      39d248fa
    • Sergei Golubchik's avatar
      Merge branch '5.5' into 10.0 · 3c07ed14
      Sergei Golubchik authored
      3c07ed14