winterland1989/mysql-haskell

Database.MySQL.Protocol.MySQLValue: missing text decoder for FieldType 10

Closed this issue · 1 comments

I am testing my selda mysql backend. I am getting the following error:
*** Exception: DecodePacketFailed "\n1979-01-29\SOH0\SOH0\SOH1\SOH0" 8 "Database.MySQL.Protocol.MySQLValue: missing text decoder for FieldType 10"

It appears to be the date field that is failing. This is the table definition:

| test | CREATE TABLE test (
si tinyint(4) NOT NULL,
mi mediumint(9) NOT NULL,
li bigint(20) NOT NULL,
name varchar(40) DEFAULT NULL,
birthday date DEFAULT NULL,
married tinyint(1) DEFAULT NULL,
PRIMARY KEY (si)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 |

It appears to be a bug in my own code, so I am closing this.