Skip to content

Commit

Permalink
Resolve MemoryError exception on Windows when using an output type ha…
Browse files Browse the repository at this point in the history
…ndler

(#330).
  • Loading branch information
anthony-tuininga committed Jul 24, 2019
1 parent 0592501 commit 586518d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
# 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:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
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 = []
Expand Down
2 changes: 1 addition & 1 deletion src/cxoCursor.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 586518d

Please sign in to comment.