Comparison

plugins/mod_storage_sql.lua @ 5121:b5a5643f8572

core.storagemanager, mod_storage_*: "data-driver" -> "storage-provider", to allow using module:provides().
author Waqas Hussain <waqas20@gmail.com>
date Wed, 12 Sep 2012 23:41:28 +0500
parent 5056:a125daa42ad4
child 5122:b41c33dc7c36
comparison
equal deleted inserted replaced
5120:bcabea740c00 5121:b5a5643f8572
398 local changed, err = stmt:affected(); 398 local changed, err = stmt:affected();
399 if not changed then return rollback(changed, err); end 399 if not changed then return rollback(changed, err); end
400 return commit(true, changed); 400 return commit(true, changed);
401 end 401 end
402 402
403 module:add_item("data-driver", driver); 403 module:provides("storage", driver);