(self)
| 58 | return value |
| 59 | |
| 60 | def checkDbms(self): |
| 61 | if not conf.extensiveFp and Backend.isDbmsWithin(CRATEDB_ALIASES): |
| 62 | setDbms(DBMS.CRATEDB) |
| 63 | |
| 64 | self.getBanner() |
| 65 | |
| 66 | return True |
| 67 | |
| 68 | infoMsg = "testing %s" % DBMS.CRATEDB |
| 69 | logger.info(infoMsg) |
| 70 | |
| 71 | result = inject.checkBooleanExpression("IGNORE3VL(NULL IS NULL)") |
| 72 | |
| 73 | if result: |
| 74 | infoMsg = "confirming %s" % DBMS.CRATEDB |
| 75 | logger.info(infoMsg) |
| 76 | |
| 77 | result = inject.checkBooleanExpression("1~1") |
| 78 | |
| 79 | if not result: |
| 80 | warnMsg = "the back-end DBMS is not %s" % DBMS.CRATEDB |
| 81 | logger.warning(warnMsg) |
| 82 | |
| 83 | return False |
| 84 | |
| 85 | setDbms(DBMS.CRATEDB) |
| 86 | |
| 87 | self.getBanner() |
| 88 | |
| 89 | return True |
| 90 | else: |
| 91 | warnMsg = "the back-end DBMS is not %s" % DBMS.CRATEDB |
| 92 | logger.warning(warnMsg) |
| 93 | |
| 94 | return False |
nothing calls this directly
no test coverage detected