Minor update (switching --invalid-logical to LIKE version)

This commit is contained in:
Miroslav Stampar
2018-06-07 00:37:22 +02:00
parent 86303bde55
commit 091c8ab2dd
4 changed files with 6 additions and 6 deletions

View File

@@ -142,7 +142,7 @@ class Agent(object):
match = re.search(r"\A[^ ]+", newValue)
newValue = newValue[len(match.group() if match else ""):]
_ = randomInt(2)
value = "%s%s AND %s=%s" % (origValue, match.group() if match else "", _, _ + 1)
value = "%s%s AND %s LIKE %s" % (origValue, match.group() if match else "", _, _ + 1)
elif conf.invalidBignum:
value = randomInt(6)
elif conf.invalidString: