Commit 6f14e277 authored by D'Arcy J.M. Cain's avatar D'Arcy J.M. Cain

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

here, not -1.
parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment