[Zope] Why ZMySQLDA dies with KeyError: unhandled...
John Eikenberry
jae@kavi.com
Mon, 8 Mar 1999 18:45:25 -0800 (PST)
On Mon, 8 Mar 1999, John Eikenberry wrote:
> --- MySQLmodule.c.orig Mon Jan 25 07:33:46 1999
> +++ MySQLmodule.c Mon Mar 8 18:48:00 1999
<bad patch snipped>
Ok, I'm stupid. I realized right after I sent this, that I forgot a
semicolon... anyways... here's the correct patch.
--- MySQLmodule.c.orig Mon Jan 25 07:33:46 1999
+++ MySQLmodule.c Mon Mar 8 18:50:47 1999
@@ -435,9 +435,11 @@
type = "timestamp";
break;
case FIELD_TYPE_NULL:
+ type = "unhandled";
+ break;
case FIELD_TYPE_LONGLONG:
case FIELD_TYPE_INT24:
- type = "unhandled";
+ type = "long";
break;
case FIELD_TYPE_VAR_STRING:
type = "varchar";
---
John Eikenberry
[jae@kavi.com - http://taos.kavi.com/~jae/]
______________________________________________________________
"A society that will trade a little liberty for a little order
will deserve neither and lose both."
--B. Franklin