From 4692ae6a7150b3e4b7244a010d4cf0bdb814fad6 Mon Sep 17 00:00:00 2001 From: Anthony Tuininga Date: Sun, 19 Oct 2008 04:54:53 +0000 Subject: [PATCH] Never mind using row_factory, the signature of the method is different. --- Cursor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Cursor.c b/Cursor.c index 4e61081..339262e 100644 --- a/Cursor.c +++ b/Cursor.c @@ -110,14 +110,13 @@ static PyMemberDef g_CursorMembers[] = { { "statement", T_OBJECT, offsetof(udt_Cursor, statement), READONLY }, { "connection", T_OBJECT_EX, offsetof(udt_Cursor, connection), READONLY }, { "numbersAsStrings", T_INT, offsetof(udt_Cursor, numbersAsStrings), 0 }, - { "row_factory", T_OBJECT, offsetof(udt_Cursor, rowFactory), 0 }, + { "rowfactory", T_OBJECT, offsetof(udt_Cursor, rowFactory), 0 }, { "bindvars", T_OBJECT, offsetof(udt_Cursor, bindVariables), READONLY }, { "fetchvars", T_OBJECT, offsetof(udt_Cursor, fetchVariables), READONLY }, { "inputtypehandler", T_OBJECT, offsetof(udt_Cursor, inputTypeHandler), 0 }, { "outputtypehandler", T_OBJECT, offsetof(udt_Cursor, outputTypeHandler), 0 }, - { "rowfactory", T_OBJECT, offsetof(udt_Cursor, rowFactory), 0 }, { NULL } };