Minor bug fix

This commit is contained in:
Miroslav Štampar 2026-06-11 13:30:42 +02:00
parent ef00b9fab2
commit be216041e2
3 changed files with 4 additions and 4 deletions

View file

@ -2467,7 +2467,7 @@ def getSQLSnippet(dbms, sfile, **variables):
retVal = retVal.replace(_, randomStr())
for _ in re.findall(r"%RANDINT\d+%", retVal, re.I):
retVal = retVal.replace(_, randomInt())
retVal = retVal.replace(_, getText(randomInt()))
variables = re.findall(r"(?<!\bLIKE ')%(\w+)%", retVal, re.I)