unimportant

This commit is contained in:
Cosmin Apreutesei 2021-08-18 20:34:06 +03:00
parent 130e28933d
commit d777be1863
1 changed files with 1 additions and 3 deletions

View File

@ -2,8 +2,6 @@
if not ... then require'mysql_test'; return end
local null = require'cjson'.null
local function ellipsis(s,n)
return #s > n and (s:sub(1,n-3) .. '...') or s
end
@ -84,7 +82,7 @@ local function invert_table(fields, rows, minsize)
end
local function format_cell(v)
if v == null then
if v == nil then
return 'NULL'
else
return tostring(v)