diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md index 1e60c1854..7a457276e 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -1,12 +1,8 @@ --- -name: Bug report +name: Bug report about: Help us to improve this project -title: '' -labels: bug -assignees: caifeizhi --- - **Please check the FAQ documentation before raising an issue** Please check the old issues before raising an issue in case someone has asked the same question that you are asking. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 4680beeb4..066b2d920 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,9 +1,6 @@ --- name: Feature request about: Suggest an idea for this project -title: '' -labels: new feature -assignees: caifeizhi --- diff --git a/deps/oblib/src/rpc/obmysql/packet/ompk_handshake_response.cpp b/deps/oblib/src/rpc/obmysql/packet/ompk_handshake_response.cpp index 69418fbe0..0bc1cb5fa 100644 --- a/deps/oblib/src/rpc/obmysql/packet/ompk_handshake_response.cpp +++ b/deps/oblib/src/rpc/obmysql/packet/ompk_handshake_response.cpp @@ -52,6 +52,10 @@ int OMPKHandshakeResponse::decode() LOG_ERROR("ob only support mysql client protocol 4.1", K(ret)); } else { ObMySQLUtil::get_uint4(pos, capability_.capability_); + // When the driver establishes a connection, it decides whether to open the CLIENT_MULTI_RESULTS + // capability according to the capability returned by the sever. Both mysql 5.6 and 8.0 versions + // are opened by default, and this behavior is compatible here by default. + capability_.cap_flags_.OB_CLIENT_MULTI_STATEMENTS = 1; ObMySQLUtil::get_uint4(pos, max_packet_size_); // 16MB ObMySQLUtil::get_uint1(pos, character_set_); pos += HANDSHAKE_RESPONSE_RESERVED_SIZE; // 23 bytes reserved