view plugins/sql.lib.lua @ 5561:52eef11cd8af

util.json: Optimize long string parsing.
author Waqas Hussain <waqas20@gmail.com>
date Sun, 05 May 2013 15:02:33 -0400
parents 9916f0a2d178
children
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;