comparison mod_storage_lmdb/mod_storage_lmdb.lua @ 1800:669d1208221a

mod_storage_lmdb: Remove redundant table
author Kim Alvefur <zash@zash.se>
date Fri, 28 Aug 2015 00:38:19 +0200
parents d2dd1db9ece6
children 1f815f57fa57
comparison
equal deleted inserted replaced
1799:d2dd1db9ece6 1800:669d1208221a
52 end 52 end
53 t:commit(); 53 t:commit();
54 return deserialize(data); 54 return deserialize(data);
55 end 55 end
56 56
57 local drivers = {
58 keyval = keyval_mt;
59 }
60
61
62 function provider:init(config) 57 function provider:init(config)
63 if config.base_path then 58 if config.base_path then
64 lfs.mkdir(config.base_path); 59 lfs.mkdir(config.base_path);
65 end 60 end
66 local env = lmdb.env_create(); 61 local env = lmdb.env_create();