diff options
| author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2015-09-28 18:36:10 +0000 |
|---|---|---|
| committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2015-09-28 18:36:10 +0000 |
| commit | e12c842c5eb35500415e0165c273a4fd69f50ab1 (patch) | |
| tree | e606736c079f7dd6a4997823117c65968a24c63f /databases/py-pymssql/files | |
| parent | - Add devel/git-gui, a devel/git slave port with GUI option enabled (diff) | |
PyMSSQL is a MS-SQL database adapter for the Python programming
language. It was written from scratch using FreeTDS library.
This is the version 2 release branch.
WWW: http://www.pymssql.org/
WWW: https://github.com/pymssql/pymssql
PR: 198694
Submitted by: ports@thelanman.net (based on)
Notes
Notes:
svn path=/head/; revision=398133
Diffstat (limited to 'databases/py-pymssql/files')
| -rw-r--r-- | databases/py-pymssql/files/patch-__mssql.pxd | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/py-pymssql/files/patch-__mssql.pxd b/databases/py-pymssql/files/patch-__mssql.pxd new file mode 100644 index 000000000000..8aca6024b559 --- /dev/null +++ b/databases/py-pymssql/files/patch-__mssql.pxd @@ -0,0 +1,11 @@ +--- _mssql.pxd.orig 2014-08-29 22:32:10 UTC ++++ _mssql.pxd +@@ -35,7 +35,7 @@ cdef class MSSQLConnection: + cpdef cancel(self) + cdef void clear_metadata(self) + cdef object convert_db_value(self, BYTE *, int, int) +- cdef int convert_python_value(self, object value, BYTE **, int*, int*) except -1 ++ cdef int convert_python_value(self, object value, BYTE **dbValue, int *dbtype, int *length) except 1 + cpdef execute_query(self, query, params=?) + cpdef execute_non_query(self, query, params=?) + cpdef execute_row(self, query, params=?) |
