From 51c2177230521f27d37ef4d862b6d814b4d2d1c3 Mon Sep 17 00:00:00 2001 From: obdev Date: Thu, 9 Mar 2023 09:44:03 +0000 Subject: [PATCH] Clear sensitive url information for 2.0 protocol and newsort --- deps/oblib/src/lib/charset/ob_ctype.h | 1 - deps/oblib/src/lib/ob_define.h | 1 - 2 files changed, 2 deletions(-) diff --git a/deps/oblib/src/lib/charset/ob_ctype.h b/deps/oblib/src/lib/charset/ob_ctype.h index d5467eb952..dff0f8c7f4 100644 --- a/deps/oblib/src/lib/charset/ob_ctype.h +++ b/deps/oblib/src/lib/charset/ob_ctype.h @@ -280,7 +280,6 @@ typedef struct ObCollationHandler // 获取weight_string结果的长度 size_t (*strnxfrmlen)(const struct ObCharsetInfo *, size_t); // makes a sortkey suitable for memcmp() corresponding to the given variable length string - // for more details: https://yuque.antfin.com/guoyun.lgy/gz2cw4/fdsv1b size_t (*strnxfrm_varlen)(const struct ObCharsetInfo*, uchar* dst, size_t dst_len, uint nweights, const uchar *src, size_t srclen, diff --git a/deps/oblib/src/lib/ob_define.h b/deps/oblib/src/lib/ob_define.h index 72b81bd62e..82f91e0353 100644 --- a/deps/oblib/src/lib/ob_define.h +++ b/deps/oblib/src/lib/ob_define.h @@ -459,7 +459,6 @@ const int64_t OB_MYSQL_COMPRESSED_HEADER_SIZE = OB_MYSQL_HEADER_LENGTH + 3; /* //-----------------------------------oceanbase 2.0 c/s protocol----------------------// -// https://lark.alipay.com/quanwei.wqw/aap9pg/wrga61 const uint16_t OB20_PROTOCOL_MAGIC_NUM = 0x20AB; const int64_t OB20_PROTOCOL_HEADER_LENGTH = 24; const int64_t OB20_PROTOCOL_TAILER_LENGTH = 4; // for CRC32