提交 6f14e277 编写于 作者: D D'Arcy J.M. Cain

Correction to last patch. As per the DB-API spec, we need to return None

here, not -1.
上级 e38246a6
......@@ -155,7 +155,7 @@ class pgdbTypeCache:
# have to be prepended by the caller.
res = (
res[0],
-1, string.atoi(res[1]),
None, string.atoi(res[1]),
None, None, None
)
self.__type_cache[oid] = res
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册