mirror of
https://github.com/luapower/mysql.git
synced 2024-12-28 03:40:30 +01:00
unimportant
This commit is contained in:
parent
d5fba8624f
commit
cbbc813fb4
@ -21,8 +21,8 @@ local floor = math.floor
|
|||||||
local ceil = math.ceil
|
local ceil = math.ceil
|
||||||
local tonumber = tonumber
|
local tonumber = tonumber
|
||||||
|
|
||||||
local buffer = glue.buffer
|
|
||||||
local dynarray = glue.dynarray
|
local dynarray = glue.dynarray
|
||||||
|
local u8a = glue.u8a
|
||||||
local index = glue.index
|
local index = glue.index
|
||||||
local repl = glue.repl
|
local repl = glue.repl
|
||||||
local update = glue.update
|
local update = glue.update
|
||||||
@ -797,7 +797,7 @@ local function set_token(buf, password, scramble)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function send_buffer(min_capacity)
|
local function send_buffer(min_capacity)
|
||||||
local arr = dynarray('uint8_t[?]', min_capacity)
|
local arr = dynarray(u8a, min_capacity)
|
||||||
local i = 0
|
local i = 0
|
||||||
return function(n)
|
return function(n)
|
||||||
local p = arr(i+n)
|
local p = arr(i+n)
|
||||||
|
Loading…
Reference in New Issue
Block a user