mysql-proxy-discuss team mailing list archive
-
mysql-proxy-discuss team
-
Mailing list archive
-
Message #00004
Dealing with resultsets
What is the recommended way of dealing with result sets in
read_query_result?
Previously, I used things like
local res = assert(inj.resultset)
local num_cols = string.byte(res.raw, 1)
if num_cols > 0 and num_cols < 255 then -- there is a resultset
-- some work
end
Running this code, I now get warnings and different results than before.
Is there any change in the way we deal with resultsets?
Thanks
Giuseppe
Follow ups