File

plugins/sql.lib.lua @ 7077:0386ccf20ac7

core: Increase default read size to "all of it", in practice 8K (size of LuaSockets buffer)
author Kim Alvefur <zash@zash.se>
date Sun, 10 Jan 2016 23:25:00 +0100
parent 5494:9916f0a2d178
line wrap: on
line source

local cache = module:shared("/*/sql.lib/util.sql");

if not cache._M then
	prosody.unlock_globals();
	cache._M = require "util.sql";
	prosody.lock_globals();
end

return cache._M;