vapor / mysql-nio

šŸ¬ Non-blocking, event-driven Swift client for MySQL.
MIT License
87 stars 28 forks source link

8 byte MYSQL_TIME #49

Closed RafaelPlantard closed 3 years ago

RafaelPlantard commented 4 years ago

I have saved a TIME for my MySQL, but when I'm trying to select the same table I'm receiving the following throw: throw MySQLError(identifier: "timeLength", reason: "Invalid MYSQL_TIME length.") The timeLenght is 8! For the following value, sounds correct to me: 08:00:00. Can you help me please? I have already removed this field from my Swift object, but even though the decode is still trying to decode this field.

tanner0101 commented 4 years ago

Which version of this package are you using?

RafaelPlantard commented 4 years ago

Last available version of Vapor 3. Thatā€™s 3.3.1