diff --git a/.gitmodules b/.gitmodules index 6bccbdb7d681..01809e9a1194 100644 --- a/.gitmodules +++ b/.gitmodules @@ -6,7 +6,7 @@ url = https://github.com/percona/Percona-TokuBackup.git [submodule "storage/rocksdb/rocksdb"] path = storage/rocksdb/rocksdb - url = https://github.com/percona/rocksdb.git + url = https://github.com/percona-ysorokin/rocksdb.git [submodule "extra/coredumper"] path = extra/coredumper url = https://github.com/Percona-Lab/coredumper.git diff --git a/azure-pipelines.yml b/azure-pipelines.yml index bba9ad169754..ff1cf15eb425 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -77,242 +77,17 @@ jobs: strategy: matrix: - macOS 14 RelWithDebInfo: - imageName: 'macOS-14' - Compiler: clang - BuildType: RelWithDebInfo - - # skip for a pull request if branch name doesn't contain "fullci" - ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - macOS 14 Debug: - imageName: 'macOS-14' - Compiler: clang - BuildType: Debug - - - # clang-12 and newer compilers - clang-20 RelWithDebInfo [Ubuntu 24.04 Noble]: - imageName: 'ubuntu-24.04' - UBUNTU_CODE_NAME: noble - Compiler: clang - CompilerVer: 20 - BuildType: RelWithDebInfo - - ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - clang-20 RelWithDebInfo INVERTED [Ubuntu 24.04 Noble]: - imageName: 'ubuntu-24.04' - UBUNTU_CODE_NAME: noble - Compiler: clang - CompilerVer: 20 - BuildType: RelWithDebInfo - BUILD_PARAMS_TYPE: inverted - - ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - clang-20 Debug [Ubuntu 24.04 Noble]: - imageName: 'ubuntu-24.04' - UBUNTU_CODE_NAME: noble - Compiler: clang - CompilerVer: 20 - BuildType: Debug - - clang-20 Debug INVERTED [Ubuntu 24.04 Noble]: - imageName: 'ubuntu-24.04' - UBUNTU_CODE_NAME: noble - Compiler: clang - CompilerVer: 20 - BuildType: Debug - BUILD_PARAMS_TYPE: inverted - - ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - clang-19 RelWithDebInfo [Ubuntu 24.04 Noble]: - imageName: 'ubuntu-24.04' - UBUNTU_CODE_NAME: noble - Compiler: clang - CompilerVer: 19 - BuildType: RelWithDebInfo - - ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - clang-19 Debug [Ubuntu 24.04 Noble]: - imageName: 'ubuntu-24.04' - UBUNTU_CODE_NAME: noble - Compiler: clang - CompilerVer: 19 - BuildType: Debug - - ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - clang-18 RelWithDebInfo [Ubuntu 24.04 Noble]: - imageName: 'ubuntu-24.04' - UBUNTU_CODE_NAME: noble - Compiler: clang - CompilerVer: 18 - BuildType: RelWithDebInfo - - clang-18 Debug [Ubuntu 24.04 Noble]: - imageName: 'ubuntu-24.04' - UBUNTU_CODE_NAME: noble - Compiler: clang - CompilerVer: 18 - BuildType: Debug - - ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - clang-17 RelWithDebInfo [Ubuntu 22.04 Jammy]: - imageName: 'ubuntu-22.04' - Compiler: clang - CompilerVer: 17 - BuildType: RelWithDebInfo - - ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - clang-17 Debug [Ubuntu 22.04 Jammy]: - imageName: 'ubuntu-22.04' - Compiler: clang - CompilerVer: 17 - BuildType: Debug - - ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - clang-16 RelWithDebInfo [Ubuntu 22.04 Jammy]: - imageName: 'ubuntu-22.04' - Compiler: clang - CompilerVer: 16 - BuildType: RelWithDebInfo - - clang-16 Debug [Ubuntu 22.04 Jammy]: - imageName: 'ubuntu-22.04' - Compiler: clang - CompilerVer: 16 - BuildType: Debug - - ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - clang-15 RelWithDebInfo [Ubuntu 22.04 Jammy]: - imageName: 'ubuntu-22.04' - Compiler: clang - CompilerVer: 15 - BuildType: RelWithDebInfo - - ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - clang-15 Debug [Ubuntu 22.04 Jammy]: - imageName: 'ubuntu-22.04' - Compiler: clang - CompilerVer: 15 - BuildType: Debug - - ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - clang-14 RelWithDebInfo [Ubuntu 22.04 Jammy]: - imageName: 'ubuntu-22.04' - Compiler: clang - CompilerVer: 14 - BuildType: RelWithDebInfo - - clang-14 Debug [Ubuntu 22.04 Jammy]: - imageName: 'ubuntu-22.04' - Compiler: clang - CompilerVer: 14 - BuildType: Debug - - ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - clang-13 RelWithDebInfo [Ubuntu 22.04 Jammy]: - imageName: 'ubuntu-22.04' - Compiler: clang - CompilerVer: 13 - BuildType: RelWithDebInfo - - ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - clang-13 Debug [Ubuntu 22.04 Jammy]: - imageName: 'ubuntu-22.04' - Compiler: clang - CompilerVer: 13 - BuildType: Debug - - clang-12 RelWithDebInfo [Ubuntu 22.04 Jammy]: - imageName: 'ubuntu-22.04' - Compiler: clang - CompilerVer: 12 - BuildType: RelWithDebInfo - - clang-12 Debug [Ubuntu 22.04 Jammy]: - imageName: 'ubuntu-22.04' - Compiler: clang - CompilerVer: 12 - BuildType: Debug - - - # gcc-9 and newer compilers - gcc-14 RelWithDebInfo [Ubuntu 24.04 Noble]: + gcc-15 RelWithDebInfo [Ubuntu 24.04 Noble]: imageName: 'ubuntu-24.04' Compiler: gcc - CompilerVer: 14 + CompilerVer: 15 BuildType: RelWithDebInfo - gcc-14 Debug [Ubuntu 24.04 Noble]: + gcc-15 Debug [Ubuntu 24.04 Noble]: imageName: 'ubuntu-24.04' Compiler: gcc - CompilerVer: 14 - BuildType: Debug - - ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - gcc-13 RelWithDebInfo [Ubuntu 22.04 Jammy]: - imageName: 'ubuntu-22.04' - Compiler: gcc - CompilerVer: 13 - BuildType: RelWithDebInfo - - gcc-13 Debug [Ubuntu 22.04 Jammy]: - imageName: 'ubuntu-22.04' - Compiler: gcc - CompilerVer: 13 - BuildType: Debug - - ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - gcc-12 RelWithDebInfo [Ubuntu 22.04 Jammy]: - imageName: 'ubuntu-22.04' - Compiler: gcc - CompilerVer: 12 - BuildType: RelWithDebInfo - - ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - gcc-12 Debug [Ubuntu 22.04 Jammy]: - imageName: 'ubuntu-22.04' - Compiler: gcc - CompilerVer: 12 - BuildType: Debug - - ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - gcc-11 RelWithDebInfo Ubuntu 22.04 Jammy: - imageName: 'ubuntu-22.04' - Compiler: gcc - CompilerVer: 11 - BuildType: RelWithDebInfo - - gcc-11 Debug [Ubuntu 22.04 Jammy]: - imageName: 'ubuntu-22.04' - Compiler: gcc - CompilerVer: 11 - BuildType: Debug - - ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - gcc-10 RelWithDebInfo [Ubuntu 22.04 Jammy]: - imageName: 'ubuntu-22.04' - Compiler: gcc - CompilerVer: 10 - BuildType: RelWithDebInfo - - ${{ if or(ne(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.SourceBranchName'], 'fullci')) }}: - gcc-10 Debug [Ubuntu 22.04 Jammy]: - imageName: 'ubuntu-22.04' - Compiler: gcc - CompilerVer: 10 - BuildType: Debug - - gcc-9 RelWithDebInfo [Ubuntu 22.04 Jammy]: - imageName: 'ubuntu-22.04' - Compiler: gcc - CompilerVer: 9 - BuildType: RelWithDebInfo - - gcc-9 Debug [Ubuntu 22.04 Jammy]: - imageName: 'ubuntu-22.04' - Compiler: gcc - CompilerVer: 9 + CompilerVer: 15 BuildType: Debug diff --git a/storage/innobase/lock/lock0lock.cc b/storage/innobase/lock/lock0lock.cc index 9396feb26b37..e5cf2371e34c 100644 --- a/storage/innobase/lock/lock0lock.cc +++ b/storage/innobase/lock/lock0lock.cc @@ -1189,13 +1189,13 @@ lock_t *RecLock::lock_alloc(trx_t *trx, dict_index_t *index, ulint mode, if (is_predicate_lock(mode)) { rec_lock.n_bits = 8; - memset(&lock[1], 0x0, 1); + memset(static_cast(&lock[1]), 0x0, 1); } else { ut_ad(8 * size < UINT32_MAX); rec_lock.n_bits = static_cast(8 * size); - memset(&lock[1], 0x0, size); + memset(static_cast(&lock[1]), 0x0, size); } rec_lock.page_id = rec_id.get_page_id(); diff --git a/storage/rocksdb/rocksdb b/storage/rocksdb/rocksdb index 2864cd95ca72..d2236f53d7d1 160000 --- a/storage/rocksdb/rocksdb +++ b/storage/rocksdb/rocksdb @@ -1 +1 @@ -Subproject commit 2864cd95ca72bc4a2e93fe461dbd980f8e2357be +Subproject commit d2236f53d7d18ef5dd29b067133ac9e6033275c1