File

plugins/sql.lib.lua @ 6155:dc3497041aca

util.pposix: Fix error reporting from really old Linux fallocate() that did not use errno for some reason (thanks pro)
author Kim Alvefur <zash@zash.se>
date Fri, 25 Apr 2014 02:41:55 +0200 (2014-04-25)
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;