Changeset

6754:c72b00dade25

mod_storage_sql2: Rename variable to avoid name clash
author Matthew Wild <mwild1@gmail.com>
date Tue, 07 Jul 2015 17:39:56 +0100
parents 6753:33426c56f5d5
children 6755:b80202ad47e8
files plugins/mod_storage_sql2.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_storage_sql2.lua	Mon Jul 06 19:11:39 2015 +0100
+++ b/plugins/mod_storage_sql2.lua	Tue Jul 07 17:39:56 2015 +0100
@@ -13,8 +13,8 @@
 local noop = function() end
 local unpack = unpack
 local function iterator(result)
-	return function(result)
-		local row = result();
+	return function(result_)
+		local row = result_();
 		if row ~= nil then
 			return unpack(row);
 		end