Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6f14e27

Browse files
committed
Correction to last patch. As per the DB-API spec, we need to return None
here, not -1.
1 parente38246a commit6f14e27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/interfaces/python/pgdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def getdescr(self, oid):
155155
# have to be prepended by the caller.
156156
res= (
157157
res[0],
158-
-1,string.atoi(res[1]),
158+
None,string.atoi(res[1]),
159159
None,None,None
160160
)
161161
self.__type_cache[oid]=res

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp