Error (SQL_NO_TOTAL inesperado) en campos de texto de más de 4096 bytes

Presenté un informe de error: https://github.com/hdbc/hdbc-odbc/issues/4

But maybe this is not the hdbc-odbc issue, so i'll ask here as well.

OS: linux 64 bit (archlinux), ghc-7.4.1, hdbc-odbc-2.3.1.0

Connecting to MS Sql server 2005.

Retrieving a text field larger than 4096 bytes.

With unixodbc 2.3.0 and freetds 0.82 works fine

With unixodbc 2.3.1 and freetds 0.91 gives an error "Unexpected SQL_NO_TOTAL"

tsql utility retrieves and shows large text field fine on freetds 0.91.

Anyone had problems with latest freetds, large text fields and MS SQL server ?

EDIT: I added correct handling of large text fields into hdbc-odbc. The patch is here: https://github.com/vagifverdi/hdbc-odbc/commit/8134f715c18a0d60cc7b0329c7c2dbfee3e3e932

preguntado el 10 de marzo de 12 a las 03:03

1 Respuestas

I added correct handling of large text fields into hdbc-odbc. The patch is here: https://github.com/vagifverdi/hdbc-odbc/commit/8134f715c18a0d60cc7b0329c7c2dbfee3e3e932

It is included in the latest hdbc-odbc on hackage.

Respondido 27 Feb 13, 22:02

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.