CLIENT_MULTI_RESULTS is turned on by default
This commit is contained in:
parent
0f517f5958
commit
438fa493c3
6
.github/ISSUE_TEMPLATE/bug-report.md
vendored
6
.github/ISSUE_TEMPLATE/bug-report.md
vendored
@ -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.
|
||||
|
3
.github/ISSUE_TEMPLATE/feature_request.md
vendored
3
.github/ISSUE_TEMPLATE/feature_request.md
vendored
@ -1,9 +1,6 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
title: ''
|
||||
labels: new feature
|
||||
assignees: caifeizhi
|
||||
|
||||
---
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user