[CP] [4_2_x]fix white_list match error

This commit is contained in:
zhjc1124
2023-11-01 13:09:11 +00:00
committed by ob-robot
parent 910036962d
commit 3f8c7213fb
14 changed files with 498 additions and 436 deletions

View File

@ -23,11 +23,7 @@ select is_serving_tenant(host_ip(), rpc_port(), 888);
| 0 |
+-----------------------------------------------+
select is_serving_tenant('abc', rpc_port(), effective_tenant_id());
+-------------------------------------------------------------+
| is_serving_tenant('abc', rpc_port(), effective_tenant_id()) |
+-------------------------------------------------------------+
| 0 |
+-------------------------------------------------------------+
ERROR HY000: Incorrect arguments to invalid ip or port
select is_serving_tenant('abc', rpc_port(), 1);
+-----------------------------------------+
| is_serving_tenant('abc', rpc_port(), 1) |
@ -35,9 +31,5 @@ select is_serving_tenant('abc', rpc_port(), 1);
| 1 |
+-----------------------------------------+
select is_serving_tenant('abc', rpc_port(), 888);
+-------------------------------------------+
| is_serving_tenant('abc', rpc_port(), 888) |
+-------------------------------------------+
| 0 |
+-------------------------------------------+
ERROR HY000: Incorrect arguments to invalid ip or port