Resolve MemoryError exception on Windows when using an output type handler
(https://github.com/oracle/python-cx_Oracle/issues/330).
This commit is contained in:
parent
ff25784c21
commit
d526de1893
|
@ -42,7 +42,7 @@ author = 'Oracle'
|
|||
# The short X.Y version.
|
||||
version = '7.2'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '7.2.0'
|
||||
release = '7.2.1'
|
||||
|
||||
# There are two options for replacing |today|: either, you set today to some
|
||||
# non-false value, then it is used:
|
||||
|
|
2
setup.py
2
setup.py
|
@ -20,7 +20,7 @@ except:
|
|||
from distutils.extension import Extension
|
||||
|
||||
# define build constants
|
||||
BUILD_VERSION = "7.2.0"
|
||||
BUILD_VERSION = "7.2.1"
|
||||
|
||||
# setup extra link and compile args
|
||||
extraLinkArgs = []
|
||||
|
|
|
@ -414,7 +414,7 @@ static int cxoCursor_performDefine(cxoCursor *cursor, uint32_t numQueryColumns)
|
|||
// if using an output type handler, None implies default behavior
|
||||
if (outputTypeHandler) {
|
||||
result = PyObject_CallFunction(outputTypeHandler, "Os#Oiii",
|
||||
cursor, queryInfo.name, queryInfo.nameLength,
|
||||
cursor, queryInfo.name, (Py_ssize_t) queryInfo.nameLength,
|
||||
varType->pythonType, size, queryInfo.typeInfo.precision,
|
||||
queryInfo.typeInfo.scale);
|
||||
if (!result) {
|
||||
|
|
Loading…
Reference in New Issue