Skip to Content.
Sympa Menu

freetds - [freetds] FreeTDS 0.91.96 - Unit tests

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Sergio NNX <sfhacker AT hotmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: [freetds] FreeTDS 0.91.96 - Unit tests
  • Date: Tue, 19 Nov 2013 02:48:25 +0000

====================
1 of 18 tests failed (tds/unittests) : FAIL: readconf.exe
====================

> Quite strange this fails!

Someone forgot to check in a file (a.k.a readconf.in). No worries, you're not
alone!

===================
All 29 tests passed (ctlib/unittests)
===================

====================
1 of 34 tests failed (dblib/unittests)
====================

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

Yes, I did!


SQL text will be read from ./t0016.sql
About to logon
After logon
Creating table '#dblib0016'
1: create table #dblib0016 (f1 int not null, s1 int null, f2
numeric(10,2) null, f3 varchar(255) not null, f4 datetime null, [group]
varchar(20))
bcp_init with in_file as './t0016.in'
return from bcp_init = 1
1: select * from #dblib0016 where 0=1
return from dbcmd = 1
return from dbsqlexec = 1
Number of columns = 6
return from bcp_columns = 1
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

t0016.in

1 2 123.45 This is a varchar 255 field 2001-09-11 09:13:13.663
group1
4 5 56789.12 This is another varchar 255 field 2000-02-29
13:01:01.000 group2



=====================
16 of 68 tests failed (odbc/unittests) (if TDSVER=7.0)
=====================

> 16 ?? Quite bad

So many version nos, you never know which one is right. Not even the unit
tests know!

=====================
2 of 68 tests failed (odbc/unittests) (if TDSVER=8.0)
=====================

...
...
...

Using ODBC version 2
select cast(getdate() as date)
CheckType 137
CheckType 139
Data expected. Inpute type 9 - SQL_DATE line 139
FAIL: typeinfo.exe

...
...

Error finding last socket opened
FAIL: freeclose.exe

...
...

The 'freeclose' test seems quite 'odd'. There's a function there called:
find_last_socket(void), which ..... Please, have a look at it!

Thanks in advance.

Sergio.




Archive powered by MHonArc 2.6.24.

Top of Page