From 3df57da2d82a9690ae9afa60d25967aabf8c76e5 Mon Sep 17 00:00:00 2001 From: Amos Bird Date: Tue, 2 Mar 2021 17:06:29 +0800 Subject: [PATCH] mysql client compatibility --- src/Functions/globalVariable.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Functions/globalVariable.cpp b/src/Functions/globalVariable.cpp index 55561af4d10..68b71eebff0 100644 --- a/src/Functions/globalVariable.cpp +++ b/src/Functions/globalVariable.cpp @@ -77,8 +77,10 @@ private: DataTypePtr type; Field value; }; - std::unordered_map global_variable_map = { - {"max_allowed_packet", {std::make_shared(), 67108864}}, {"version", {std::make_shared(), "5.7.30"}}}; + std::unordered_map global_variable_map + = {{"max_allowed_packet", {std::make_shared(), 67108864}}, + {"version", {std::make_shared(), "5.7.30"}}, + {"transaction_isolation", {std::make_shared(), "READ-UNCOMMITTED"}}}; }; }