mysql client compatibility

This commit is contained in:
Amos Bird 2021-03-02 17:06:29 +08:00
parent 15b3f379a5
commit 3df57da2d8
No known key found for this signature in database
GPG Key ID: 80D430DCBECFEDB4

View File

@ -77,8 +77,10 @@ private:
DataTypePtr type;
Field value;
};
std::unordered_map<String, TypeAndValue> global_variable_map = {
{"max_allowed_packet", {std::make_shared<DataTypeInt32>(), 67108864}}, {"version", {std::make_shared<DataTypeString>(), "5.7.30"}}};
std::unordered_map<String, TypeAndValue> global_variable_map
= {{"max_allowed_packet", {std::make_shared<DataTypeInt32>(), 67108864}},
{"version", {std::make_shared<DataTypeString>(), "5.7.30"}},
{"transaction_isolation", {std::make_shared<DataTypeString>(), "READ-UNCOMMITTED"}}};
};
}