1 parent a3959db commit d712157Copy full SHA for d712157
2 files changed
src/Variable.c
@@ -468,8 +468,6 @@ static udt_VariableType *Variable_TypeByValue(PyObject* value, uint32_t* size,
468
return NULL;
469
if (result)
470
return &vt_Cursor;
471
- if (Py_TYPE(value) == g_DateTimeType)
472
- return &vt_DateTime;
473
if (Py_TYPE(value) == g_DecimalType)
474
return &vt_NumberAsDecimal;
475
if (Py_TYPE(value) == &g_ObjectType)
src/cx_Oracle.c
@@ -153,7 +153,6 @@ static PyObject *g_IntegrityErrorException = NULL;
153
static PyObject *g_InternalErrorException = NULL;
154
static PyObject *g_ProgrammingErrorException = NULL;
155
static PyObject *g_NotSupportedErrorException = NULL;
156
-static PyTypeObject *g_DateTimeType = NULL;
157
static PyTypeObject *g_DecimalType = NULL;
158
static dpiContext *g_DpiContext = NULL;
159
0 commit comments