mirror of
https://github.com/luapower/mysql.git
synced 2025-07-02 00:10:30 +02:00
unimportant
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
--mysql table pretty printing
|
||||
|
||||
if not ... then require'mysql_test'; return end
|
||||
|
||||
local function ellipsis(s,n)
|
||||
return #s > n and (s:sub(1,n-3) .. '...') or s
|
||||
end
|
||||
@ -132,8 +134,6 @@ local function print_statement(stmt, minsize, print)
|
||||
print_table(fields, rows, aligns, minsize, print)
|
||||
end
|
||||
|
||||
if not ... then require'mysql_test' end
|
||||
|
||||
return {
|
||||
fit = fit,
|
||||
format_cell = format_cell,
|
||||
|
Reference in New Issue
Block a user