Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4e9b11 commit 534f51fCopy full SHA for 534f51f
1 file changed
lib/core/agent.py
@@ -670,7 +670,10 @@ def forgeCaseStatement(self, expression):
670
@rtype: C{str}
671
"""
672
673
- return queries[getIdentifiedDBMS()].case.query % expression
+ if getIdentifiedDBMS() is not None and hasattr(queries[getIdentifiedDBMS()], "case"):
674
+ return queries[getIdentifiedDBMS()].case.query % expression
675
+ else:
676
+ return expression
677
678
def addPayloadDelimiters(self, inpStr):
679
0 commit comments