haskell - (Unexpected SQL_NO_TOTAL) error on text fields larger than 4096 bytes -


i filed bug report: https://github.com/hdbc/hdbc-odbc/issues/4

but maybe not hdbc-odbc issue, i'll ask here well.

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

connecting ms sql server 2005.

retrieving text field larger 4096 bytes.

with unixodbc 2.3.0 , freetds 0.82 works fine

with unixodbc 2.3.1 , freetds 0.91 gives error "unexpected sql_no_total"

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

anyone had problems latest freetds, large text fields , ms sql server ?

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

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

it included in latest hdbc-odbc on hackage.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -