mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
15 lines
174 B
Lua
15 lines
174 B
Lua
|
|
funcName = "test"
|
||
|
|
|
||
|
|
ans = 1
|
||
|
|
|
||
|
|
function test_init()
|
||
|
|
return ans
|
||
|
|
end
|
||
|
|
|
||
|
|
function test_add(rows, ans)
|
||
|
|
for i=1, #rows do
|
||
|
|
rows[i] = rows[i] + ans
|
||
|
|
end
|
||
|
|
return rows
|
||
|
|
end
|