From 7d031eac9687d3091ffff9e8cfd8957abe6ceb09 Mon Sep 17 00:00:00 2001 From: IR4T4 Date: Sat, 27 Aug 2016 14:38:04 +0200 Subject: [PATCH] Update luasql_test.lua result print fixed --- TESTS/luasql/luasql_test.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TESTS/luasql/luasql_test.lua b/TESTS/luasql/luasql_test.lua index 4c9ece8..69c3638 100644 --- a/TESTS/luasql/luasql_test.lua +++ b/TESTS/luasql/luasql_test.lua @@ -31,7 +31,7 @@ cur = assert (con:execute"SELECT name, email from people") -- print all rows, the rows will be indexed by field names row = cur:fetch ({}, "a") while row do - print(string.format("Name: %s, E-mail: %s", row.name, row.email)) + et.G_Print("Name:" .. row.name .. ", E-mail: " .. row.email .."\n") -- reusing the table of results row = cur:fetch (row, "a") end