Skip to Content.
Sympa Menu

freetds - Re: [freetds] FreeTDS 0.91.96 - Unit tests

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] FreeTDS 0.91.96 - Unit tests
  • Date: Mon, 18 Nov 2013 18:22:30 +0000

2013/11/18 Sergio NNX <sfhacker AT hotmail.com>:
> Ciao all.
>
> I've just built FreeTDS 0.91.96 from source on Windows and now I'm running
> the unit tests. Some of them are failing and I need some advice about what
> the problem may be. Using MS SQL 2008.
>
> Thanks in advance.
>
> Sergio.
>
> Tests output
> ----------------
>
>
> ====================
> 1 of 18 tests failed (tds/unittests) : FAIL: readconf.exe
> ====================
>

Quite strange this fails!

> ====================
> All 29 tests failed (ctlib/unittests)
> ====================
>
> ====================
> 1 of 34 tests failed (dblib/unittests)
> ====================
>
> DB-LIBRARY error (dberr 20050 (severity 4): "Attempt to convert data
> stopped by syntax error in source field"; oserr 0: "No error") error: no
> unanticipated errors allowed in unit tests
> FAIL: t0016.exe
>

:( probably related to some characters conversion. utf-8 not working
?? Did you use iconv?

>
> =====================
> 16 of 68 tests failed (odbc/unittests)
> =====================
>

16 ?? Quite bad

>
> Wrong result
> Got: 130000D8CDF730448203000000000000000000
> Expected: 283208CFBB7DFCFF
> FAIL: genparams.exe
>

Mmm... this is using wrong protocol (expected bigint got numeric)

> data.c:54 rc=1 SQLFetch
> SQL error 37000 -- [FreeTDS][SQL Server]Some character(s) could not be
> converted into client's character set. Unconverted bytes were changed to
> question marks ('?')
> FAIL: data.exe
>

Still conversions.

> CheckType 137
> CheckType 139
> Data expected. Inpute type 9 - SQL_DATE line 139
> FAIL: typeinfo.exe
>
> cursor1.c:69 rc=-1 SQLExecDirect
> SQL error 37000 -- [FreeTDS][SQL Server]The incoming tabular data stream
> (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 1
> (""): Data type 0x00 is unknown.
> FAIL: cursor1.exe
>

This is serious !!

Looking forward for dumps.

Frediano




Archive powered by MHonArc 2.6.24.

Top of Page