From 63523b3317a7d7c5c990457f4977b520de0662bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E9=93=8E=E5=BD=A6?= Date: Fri, 23 Feb 2024 10:54:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=93=8D=E4=BD=9C=E6=95=B0?= =?UTF-8?q?=E4=BD=8D=E6=95=B0=EF=BC=8C=E4=BD=BF=E5=B7=A6=E7=A7=BB=E6=AC=A1?= =?UTF-8?q?=E6=95=B0=E5=B0=8F=E4=BA=8E=E6=93=8D=E4=BD=9C=E6=95=B0=E4=BD=8D?= =?UTF-8?q?=E6=95=B0=EF=BC=8C=E4=BF=AE=E6=AD=A3=E6=9C=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E8=A1=8C=E4=B8=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/include/storage/buf/buf_internals.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/storage/buf/buf_internals.h b/src/include/storage/buf/buf_internals.h index 3f82f77390..59a57df7d5 100644 --- a/src/include/storage/buf/buf_internals.h +++ b/src/include/storage/buf/buf_internals.h @@ -58,8 +58,8 @@ * Note: TAG_VALID essentially means that there is a buffer hashtable * entry associated with the buffer's tag. */ -#define BM_IN_MIGRATE (1U << 16 << 32) /* buffer is migrating */ -#define BM_IS_TMP_BUF (1U << 21 << 32) /* temp buf, can not write to disk */ +#define BM_IN_MIGRATE (1LU << 16 << 32) /* buffer is migrating */ +#define BM_IS_TMP_BUF (1LU << 21 << 32) /* temp buf, can not write to disk */ #define BM_IS_META (1LU << 17 << 32) #define BM_LOCKED (1LU << 22 << 32) /* buffer header is locked */ #define BM_DIRTY (1LU << 23 << 32) /* data needs writing */ -- Gitee