{"record":{"id":"aa438781ae104a38","repo":"sqlmapproject/sqlmap","slug":"remote-s-aa4387","errorCode":null,"errorMessage":"(remote) %s","messagePattern":"\\(remote\\) (.+?)","errorType":"exception","errorClass":"ProgrammingError","httpStatus":null,"severity":"error","filePath":"extra/dbwire/monetdb.py","lineNumber":111,"sourceCode":"        return None\n    if len(value) >= 2 and value[0] == '\"' and value[-1] == '\"':\n        body = value[1:-1]\n        if \"\\\\\" not in body:\n            return body\n        # MonetDB renders control bytes as C octal escapes (\\ooo) etc.; decode with unicode_escape but only\n        # on the ASCII runs so raw multibyte (> 0x7f) is preserved (mirrors pymonetdb's result decoding)\n        return \"\".join(seg.encode(\"utf-8\").decode(\"unicode_escape\") if \"\\\\\" in seg else seg\n                       for seg in re.split(r\"([\\x00-\\x7f]+)\", body))\n    return value\n\ndef _parse_result(text):\n    description, rows = None, []\n    for line in text.split(\"\\n\"):\n        if not line:\n            continue\n        marker = line[0]\n        if marker == \"!\":  # error\n            raise ProgrammingError(\"(remote) %s\" % line[1:].strip())\n        elif marker == \"%\":  # metadata: \"<values> # <kind>\"\n            payload, _, kind = line[1:].rpartition(\"#\")\n            if kind.strip() == \"name\":\n                description = [(name.strip(), None, None, None, None, None, None) for name in payload.split(\",\\t\")]\n        elif marker == \"[\":  # tuple: \"[ v1,\\tv2,\\t... ]\"\n            body = line.strip()\n            if body.startswith(\"[\") and body.endswith(\"]\"):\n                body = body[1:-1].strip()\n            rows.append(tuple(_unquote(v.strip()) for v in body.split(\",\\t\")))\n        # \"&\" result headers, \"#\" info, \"=\" no-slice tuples are ignored for our purposes\n    return description, rows\n\nclass Cursor(object):\n    def __init__(self, connection):\n        self.connection = connection\n        self.description = None\n        self.rowcount = -1\n        self._rows = []","sourceCodeStart":93,"sourceCodeEnd":129,"githubUrl":"https://github.com/sqlmapproject/sqlmap/blob/0a35b20e3953d341be6c7ac75ccb0b3362540c8d/extra/dbwire/monetdb.py#L93-L129","documentation":"Error \"(remote) %s\" thrown in sqlmapproject/sqlmap.","triggerScenarios":"Thrown at extra/dbwire/monetdb.py:111 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0a35b20e3953d341be6c7ac75ccb0b3362540c8d","analyzedAt":"2026-08-26T23:02:52.002Z","schemaVersion":2},"datasetVersion":"2026-08-27T03:17:27.898Z"}