ports/databases/py-pymssql/files/patch-__mssql.pxd
Ruslan Makhmatkhanov e12c842c5e 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)
2015-09-28 18:36:10 +00:00

11 lines
561 B
Cython

--- _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=?)