mauricio / postgresql-async

Async, Netty based, database drivers for PostgreSQL and MySQL written in Scala
Apache License 2.0
1.43k stars 222 forks source link

mysql Decoder for geometry #180

Open remi128 opened 8 years ago

remi128 commented 8 years ago

having a table with a POINT column and sending a select * statement fails with:

Caused by: scala.MatchError: 255 (of class java.lang.Integer)
    at com.github.mauricio.async.db.mysql.codec.DecoderRegistry.binaryDecoderFor(DecoderRegistry.scala:37)
    at com.github.mauricio.async.db.mysql.decoder.ColumnDefinitionDecoder.decode(ColumnDefinitionDecoder.scala:63)

Is there a decoder planned for geometry instances?