mod_storage_*: Don't explicitly set driver name, to ease copying/renaming modules.
--- a/plugins/mod_storage_internal.lua Wed Sep 12 23:41:28 2012 +0500
+++ b/plugins/mod_storage_internal.lua Wed Sep 12 23:46:10 2012 +0500
@@ -2,7 +2,7 @@
local host = module.host;
-local driver = { name = "internal" };
+local driver = {};
local driver_mt = { __index = driver };
function driver:open(store)
--- a/plugins/mod_storage_sql.lua Wed Sep 12 23:41:28 2012 +0500
+++ b/plugins/mod_storage_sql.lua Wed Sep 12 23:46:10 2012 +0500
@@ -365,7 +365,7 @@
return nil, "not-implemented"
end
-local driver = { name = "sql" };
+local driver = {};
function driver:open(store, typ)
if not typ then -- default key-value store