From bb58cbc69a239059179e4ee044396adb59cc5573 Mon Sep 17 00:00:00 2001 From: Aapo Talvensaari Date: Wed, 7 Aug 2024 23:35:37 +0300 Subject: [PATCH] does it still work --- lib/resty/ada/utils.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/resty/ada/utils.lua b/lib/resty/ada/utils.lua index 40a2cae..c159393 100644 --- a/lib/resty/ada/utils.lua +++ b/lib/resty/ada/utils.lua @@ -12,6 +12,11 @@ local new_tab = require("table.new") local ffi_str = require("ffi").string +local tonumber = tonumber + + + + local function ada_string_to_lua(result) if result.data == nil then -- nullptr equals to nil but is not falsy return nil