(self, query)
| 50 | return None |
| 51 | |
| 52 | def execute(self, query): |
| 53 | retVal = False |
| 54 | |
| 55 | try: |
| 56 | self.cursor.execute(query) |
| 57 | retVal = True |
| 58 | except (psycopg2.OperationalError, psycopg2.ProgrammingError) as ex: |
| 59 | logger.warning(("(remote) '%s'" % getSafeExString(ex)).strip()) |
| 60 | except psycopg2.InternalError as ex: |
| 61 | raise SqlmapConnectionException(getSafeExString(ex)) |
| 62 | |
| 63 | self.connector.commit() |
| 64 | |
| 65 | return retVal |
| 66 | |
| 67 | def select(self, query): |
| 68 | retVal = None |
no test coverage detected