@@ -59,10 +59,10 @@ function read_query(packet)
59
59
type = proxy .MYSQL_TYPE_STRING },
60
60
{ name = " type" ,
61
61
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 },
66
66
--[[
67
67
{ name = "cur_idle_connections",
68
68
type = proxy.MYSQL_TYPE_LONG },
@@ -88,8 +88,8 @@ function read_query(packet)
88
88
b .dst .name , -- configured backend address
89
89
states [b .state + 1 ], -- the C-id is pushed down starting at 0
90
90
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
93
93
}
94
94
95
95
--[[
@@ -133,10 +133,10 @@ function read_query(packet)
133
133
type = proxy .MYSQL_TYPE_STRING },
134
134
{ name = " type" ,
135
135
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 },
140
140
}
141
141
142
142
local states = {
@@ -157,8 +157,8 @@ function read_query(packet)
157
157
b .dst .name , -- configured backend address
158
158
states [b .state + 1 ], -- the C-id is pushed down starting at 0
159
159
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
162
162
}
163
163
elseif string.find (query :lower (), " ^add%s+master%s+.+$" ) then
164
164
local newserver = string.match (query :lower (), " ^add%s+master%s+(.+)$" )
0 commit comments