[misc] remove auto keyword and lambda

This commit is contained in:
chinaxing
2024-05-07 09:57:18 +00:00
committed by ob-robot
parent 7cc478b41c
commit 359848f9d0
16 changed files with 150 additions and 142 deletions

View File

@ -5,7 +5,6 @@
# check tenant has multiple ls
connection sys;
let $breakLoop=0;
let $i=0;
let $fail = 0;
@ -15,7 +14,7 @@ while ($breakLoop == 0) {
if ($lsCnt > 1) {
--inc $breakLoop
}
if ($i >= 300) {
if ($i >= 3000) {
--inc $fail
--inc $breakLoop
}
@ -73,7 +72,7 @@ while ($breakLoop == 0)
if ($lsCnt > 1) {
--inc $breakLoop
}
if ($i >= 300) {
if ($i >= 3000) {
--inc $fail
--inc $breakLoop
}

View File

@ -864,8 +864,13 @@ eval alter tenant mysql set primary_zone = "$saved_primary_zone";
if ($client_session_id_version == 2) {
--disable_query_log
eval alter proxyconfig set proxy_id = $proxy_id;
# **Note**
# must recover client_session_id_version before recover proxy_id
# otherwise, will report:
# ERROR:
# When reset client_session_id_version to v1, proxy_id must be set to less than 255
alter proxyconfig set client_session_id_version = 2;
eval alter proxyconfig set proxy_id = $proxy_id;
--enable_query_log
}