Mercurial > prosody-hg
comparison plugins/mod_storage_sql.lua @ 3852:ab8d1c90527c
mod_storage_sql: Fixed a typo.
| author | Waqas Hussain <waqas20@gmail.com> |
|---|---|
| date | Sun, 12 Dec 2010 05:38:08 +0500 |
| parents | e979b5fe859d |
| children | b3a5f9b1d1df |
comparison
equal
deleted
inserted
replaced
| 3851:e979b5fe859d | 3852:ab8d1c90527c |
|---|---|
| 23 local tostring = tostring; | 23 local tostring = tostring; |
| 24 local tonumber = tonumber; | 24 local tonumber = tonumber; |
| 25 local pairs = pairs; | 25 local pairs = pairs; |
| 26 local next = next; | 26 local next = next; |
| 27 local setmetatable = setmetatable; | 27 local setmetatable = setmetatable; |
| 28 local json = { stringify = function(s) return require"util.serialzation".serialize(s) end, parse = require"util.serialization".deserialze }; | 28 local json = { stringify = function(s) return require"util.serialization".serialize(s) end, parse = require"util.serialization".deserialze }; |
| 29 | 29 |
| 30 local connection = ...; | 30 local connection = ...; |
| 31 local host,user,store = module.host; | 31 local host,user,store = module.host; |
| 32 | 32 |
| 33 do -- process options to get a db connection | 33 do -- process options to get a db connection |
