mirror of
https://github.com/postgres/postgres.git
synced 2025-07-09 22:41:56 +03:00
Correction to last patch. As per the DB-API spec, we need to return None
here, not -1.
This commit is contained in:
@ -155,7 +155,7 @@ class pgdbTypeCache:
|
|||||||
# have to be prepended by the caller.
|
# have to be prepended by the caller.
|
||||||
res = (
|
res = (
|
||||||
res[0],
|
res[0],
|
||||||
-1, string.atoi(res[1]),
|
None, string.atoi(res[1]),
|
||||||
None, None, None
|
None, None, None
|
||||||
)
|
)
|
||||||
self.__type_cache[oid] = res
|
self.__type_cache[oid] = res
|
||||||
|
Reference in New Issue
Block a user