Skip to content

Commit 6a3d804

Browse files
committed
Minor update (display NULL instead of FALSE when non-query statement is sqlQueried)
1 parent 81409ce commit 6a3d804

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

plugins/generic/custom.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
from lib.core.data import conf
1616
from lib.core.data import logger
1717
from lib.core.dicts import SQL_STATEMENTS
18+
from lib.core.settings import NULL
1819
from lib.core.settings import PARAMETER_SPLITTING_REGEX
1920
from lib.core.shell import autoCompletion
2021
from lib.request import inject
@@ -63,7 +64,7 @@ def sqlQuery(self, query):
6364
debugMsg = "done"
6465
logger.debug(debugMsg)
6566

66-
output = False
67+
output = NULL
6768

6869
return output
6970

0 commit comments

Comments
 (0)