@@ -59,10 +59,10 @@ function read_query(packet)
5959 type = proxy .MYSQL_TYPE_STRING },
6060 { name = " type" ,
6161 type = proxy .MYSQL_TYPE_STRING },
62- { name = " uuid" ,
63- type = proxy .MYSQL_TYPE_STRING },
64- { name = " connected_clients" ,
65- type = proxy .MYSQL_TYPE_LONG },
62+ -- { name = "uuid",
63+ -- type = proxy.MYSQL_TYPE_STRING },
64+ -- { name = "connected_clients",
65+ -- type = proxy.MYSQL_TYPE_LONG },
6666 --[[
6767 { name = "cur_idle_connections",
6868 type = proxy.MYSQL_TYPE_LONG },
@@ -88,8 +88,8 @@ function read_query(packet)
8888 b .dst .name , -- configured backend address
8989 states [b .state + 1 ], -- the C-id is pushed down starting at 0
9090 types [b .type + 1 ], -- the C-id is pushed down starting at 0
91- b .uuid , -- the MySQL Server's UUID if it is managed
92- b .connected_clients -- currently connected clients
91+ -- b.uuid, -- the MySQL Server's UUID if it is managed
92+ -- b.connected_clients -- currently connected clients
9393 }
9494
9595 --[[
@@ -133,10 +133,10 @@ function read_query(packet)
133133 type = proxy .MYSQL_TYPE_STRING },
134134 { name = " type" ,
135135 type = proxy .MYSQL_TYPE_STRING },
136- { name = " uuid" ,
137- type = proxy .MYSQL_TYPE_STRING },
138- { name = " connected_clients" ,
139- type = proxy .MYSQL_TYPE_LONG },
136+ -- { name = "uuid",
137+ -- type = proxy.MYSQL_TYPE_STRING },
138+ -- { name = "connected_clients",
139+ -- type = proxy.MYSQL_TYPE_LONG },
140140 }
141141
142142 local states = {
@@ -157,8 +157,8 @@ function read_query(packet)
157157 b .dst .name , -- configured backend address
158158 states [b .state + 1 ], -- the C-id is pushed down starting at 0
159159 types [b .type + 1 ], -- the C-id is pushed down starting at 0
160- b .uuid , -- the MySQL Server's UUID if it is managed
161- b .connected_clients -- currently connected clients
160+ -- b.uuid, -- the MySQL Server's UUID if it is managed
161+ -- b.connected_clients -- currently connected clients
162162 }
163163 elseif string.find (query :lower (), " ^add%s+master%s+.+$" ) then
164164 local newserver = string.match (query :lower (), " ^add%s+master%s+(.+)$" )
0 commit comments