diff --git a/lib/core/common.py b/lib/core/common.py index b281e2676..be448dcac 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -1576,7 +1576,7 @@ def getSQLSnippet(dbms, sfile, **variables): for _ in re.findall(r"%RANDINT\d+%", retVal, re.I): retVal = retVal.replace(_, randomInt()) - variables = re.findall(r"%(\w+)%", retVal, re.I) + variables = re.findall(r"(? 1 else "", ", ".join(variables), sfile)