{"record":{"id":"5ce82dd61bdca061","repo":"sqlmapproject/sqlmap","slug":"the-server-answered-with-the-wide-rowfmt2-format","errorCode":null,"errorMessage":"the server answered with the wide ROWFMT2 format","messagePattern":"the server answered with the wide ROWFMT2 format","errorType":"exception","errorClass":"NotSupportedError","httpStatus":null,"severity":"error","filePath":"extra/dbwire/sybase.py","lineNumber":396,"sourceCode":"                status, _transtate, count = struct.unpack(\"<HHi\", data[off:off + 8]); off += 8\n                if status & _DONE_COUNT:\n                    affected = count if affected is None else affected + count\n            elif token == _TOKEN_EED:\n                length = _u16(data, off)\n                number, severity, message = _eed(data, off + 2, self._codec)\n                if severity > 10:               # 10 and below are informational (e.g. 'Changed database')\n                    error = (number, \"(remote) %s\" % message)\n                off += 2 + length\n            elif token == _TOKEN_ENVCHANGE:\n                length = _u16(data, off)\n                if _u8(data, off + 2) == _ENV_PACKET_SIZE:\n                    size = data[off + 4:off + 4 + _u8(data, off + 3)]\n                    self._chunk = max(_LOGIN_CHUNK, int(size) - _HEADER_SIZE)\n                off += 2 + length\n            elif token == _TOKEN_RETURNSTATUS:\n                off += 4\n            elif token == _TOKEN_ROWFMT2:\n                raise NotSupportedError(\"the server answered with the wide ROWFMT2 format\")\n            else:\n                off += 2 + _u16(data, off)      # every other TDS 5 token is 2-byte length prefixed\n        if error is not None:\n            if login:\n                raise OperationalError(error[1])\n            _raise_server_error(*error)\n        return description, rows, affected\n\ndef connect(host=None, port=5000, user=None, password=None, database=None, connect_timeout=None, **kwargs):\n    charset, codec = kwargs.get(\"charset\", \"utf8\"), \"utf-8\"\n    try:\n        sock = socket.create_connection((host or \"localhost\", int(port or 5000)), timeout=connect_timeout)\n        keepalive(sock)\n    except (socket.error, socket.timeout) as ex:\n        raise OperationalError(\"could not connect to '%s:%s' (%s)\" % (host, port, ex))\n\n    connection = Connection(sock, codec)\n    try:","sourceCodeStart":378,"sourceCodeEnd":414,"githubUrl":"https://github.com/sqlmapproject/sqlmap/blob/0a35b20e3953d341be6c7ac75ccb0b3362540c8d/extra/dbwire/sybase.py#L378-L414","documentation":"Error \"the server answered with the wide ROWFMT2 format\" thrown in sqlmapproject/sqlmap.","triggerScenarios":"Thrown at extra/dbwire/sybase.py:396 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"}