My favorites
▼
|
Sign in
pyodbc
Python ODBC library
Project Home
Downloads
Wiki
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
121
attachment: fix_large_update_nodata_v2.patch
(587 bytes)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/cursor.cpp b/src/cursor.cpp
index d6bc2f9..498f733 100644
--- a/src/cursor.cpp
+++ b/src/cursor.cpp
@@ -711,7 +711,7 @@ execute(Cursor* cur, PyObject* pSql, PyObject* params, bool skip_first)
ret = SQLParamData(cur->hstmt, (SQLPOINTER*)&pParam);
Py_END_ALLOW_THREADS
- if (ret != SQL_NEED_DATA && !SQL_SUCCEEDED(ret))
+ if (ret != SQL_NEED_DATA && ret != SQL_NO_DATA && !SQL_SUCCEEDED(ret))
return RaiseErrorFromHandle("SQLParamData", cur->cnxn->hdbc, cur->hstmt);
TRACE("SQLParamData() --> %d\n", ret);
Powered by
Google Project Hosting