Skip to Content.
Sympa Menu

freetds - [freetds] Are unittests expected to fail?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "David Fraser" <david AT abelon.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Are unittests expected to fail?
  • Date: Wed, 22 Oct 2003 12:59:32 +0100

Hi folks,

I was going to submit a patch for something, but I thought I'd
give the unittests a blast and they failed. Or more likely I failed
to configure them correctly. I have never tried using them before.

I then re-tried with a completely clean unmodified checkout
from CVS. Same result:
- 2 failures out of 13 for TDS tests
- 6 failures out of 20 for ODBC tests using UnixODBC.
- 14 failures out of 20 for ODBC tests using iODBC.

So before I resort to debugging to find out if I've done anything wrong,
I'd like to know if this is known "normal" behaviour:
- i.e. are the tests buggy/out-of-date/misleading and should I just
ignore these failures?

Otherwise, are there detailed instructions for how to run the unit tests
anywhere?
- so far I've configured PWD.in
- granted suitable database rights to the user given in PWD.in
- run "make check" from the top level and also from
src/odbc.

In case this is abnormal behaviour, I have attached 2 files. One is the
output from running the TDS tests. The other is the output from the ODBC
tests (when using unixODBC).

Anyone care to shed any light or got any ideas to help me
fix my setup? Are there known gotchas?

Thanks a lot,

David

--
David Fraser, Consultant, Abelon Systems Ltd, UK
http://www.abelon.com
make t0001 t0002 t0003 t0004 t0005 t0006 t0007 t0008 dynamic1 convert
dataread flags utf8_1
make[1]: Entering directory `/home/david/work/tmp/freetds/src/tds/unittests'
make[1]: `t0001' is up to date.
make[1]: `t0002' is up to date.
make[1]: `t0003' is up to date.
make[1]: `t0004' is up to date.
make[1]: `t0005' is up to date.
make[1]: `t0006' is up to date.
make[1]: `t0007' is up to date.
make[1]: `t0008' is up to date.
make[1]: `dynamic1' is up to date.
make[1]: `convert' is up to date.
make[1]: `dataread' is up to date.
make[1]: `flags' is up to date.
make[1]: `utf8_1' is up to date.
make[1]: Leaving directory `/home/david/work/tmp/freetds/src/tds/unittests'
make check-TESTS
make[1]: Entering directory `/home/david/work/tmp/freetds/src/tds/unittests'
t0001.c: Testing login, logout
PASS: t0001
t0002.c: Test basic submit query, results
PASS: t0002
t0003.c: Testing DB change -- 'use tempdb'
PASS: t0003
t0004.c: Test large (>512 bytes) queries
PASS: t0004
t0005.c: Test large (>512 bytes) replies
PASS: t0005
t0006.c: Test SYBREAL, SYBFLT8 values
PASS: t0006
some checks...
1234
123
-1234
error
overflow checks...
2147483647
error
-2147483648
error
32767
error
-32768
error
255
error
0
error
overflow on big number checks...
error
error
error
error
12
unique type...
12345678-1234-1234-9876543298765432
12345678-1234-1E34-9876AB3298765432
error
error
error
12345678-1234-A234-9876543298765432
error
error
binary test...
len=2 12 34
len=2 AB FD
len=2 AB FD
len=2 00 00
len=1 00
len=2 01 00
len=1 01
PASS: t0007
test some valid values..
prec=18 scale=0 00 00 00 00 00 00 00 04 D2 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
prec=18 scale=0 00 00 00 00 00 49 96 02 D2 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
1234567890
prec=18 scale=0 00 01 B6 9B 4B A6 30 F3 4E 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
123456789012345678
prec=18 scale=0 00 0D E0 B6 B3 A7 63 FF FF 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
999999999999999999
test overflow..
error
error
prec=38 scale=0 00 00 00 00 01 8E E9 0F F6 C3 73 E0 EE 4E 3F 0A D2 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
123456789012345678901234567890
error
prec=38 scale=0 00 4B 3B 4C A8 5A 86 C4 7A 09 8A 22 3F FF FF FF FF 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
99999999999999999999999999999999999999
error
prec=18 scale=1 00 00 00 00 00 00 00 30 34 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
prec=18 scale=2 00 00 00 00 00 00 01 E2 40 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
1234.56
prec=18 scale=5 00 00 00 00 00 00 00 00 7B 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
0.00123
prec=18 scale=4 00 00 00 00 00 00 00 00 7B 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
0.0123
prec=18 scale=3 00 00 00 00 00 00 00 00 7B 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
0.123
prec=18 scale=2 00 00 00 00 00 00 00 00 7B 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
1.23
prec=18 scale=1 00 00 00 00 00 00 00 00 7B 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
12.3
prec=18 scale=4 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
0.0000
prec=18 scale=0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
0
PASS: t0008
tds_submit_prepare() error
dynamic1.c: Test dynamic queries
FAIL: dynamic1
converted 39 (varchar, 12 bytes) : 47 (char, 12 bytes).
0 iterations/second converting varchar => char.
converted 39 (varchar, 12 bytes) : 35 (text, 12 bytes).
0 iterations/second converting varchar => text.
converted 39 (varchar, 6 bytes) : 45 (binary, 2 bytes).
0 iterations/second converting varchar => binary.
converted 39 (varchar, 6 bytes) : 34 (image, 2 bytes).
0 iterations/second converting varchar => image.
converted 39 (varchar, 3 bytes) : 48 (tinyint, 1 bytes).
0 iterations/second converting varchar => tinyint.
converted 39 (varchar, 3 bytes) : 52 (smallint, 2 bytes).
0 iterations/second converting varchar => smallint.
converted 39 (varchar, 3 bytes) : 56 (int, 4 bytes).
0 iterations/second converting varchar => int.
converted 39 (varchar, 3 bytes) : 127 (long long, 8 bytes).
0 iterations/second converting varchar => long long.
converted 39 (varchar, 7 bytes) : 62 (float, 8 bytes).
0 iterations/second converting varchar => float.
converted 39 (varchar, 7 bytes) : 59 (real, 4 bytes).
0 iterations/second converting varchar => real.
converted 39 (varchar, 7 bytes) : 108 (numeric, 35 bytes).
0 iterations/second converting varchar => numeric.
converted 39 (varchar, 7 bytes) : 106 (decimal, 35 bytes).
0 iterations/second converting varchar => decimal.
converted 39 (varchar, 1 bytes) : 50 (bit, 1 bytes).
0 iterations/second converting varchar => bit.
converted 39 (varchar, 7 bytes) : 60 (money, 8 bytes).
0 iterations/second converting varchar => money.
converted 39 (varchar, 7 bytes) : 122 (smallmoney, 4 bytes).
0 iterations/second converting varchar => smallmoney.
converted 39 (varchar, 12 bytes) : 61 (datetime, 8 bytes).
0 iterations/second converting varchar => datetime.
converted 39 (varchar, 12 bytes) : 58 (smalldatetime, 4 bytes).
0 iterations/second converting varchar => smalldatetime.
converted 47 (char, 12 bytes) : 39 (varchar, 12 bytes).
0 iterations/second converting char => varchar.
converted 47 (char, 12 bytes) : 35 (text, 12 bytes).
0 iterations/second converting char => text.
converted 47 (char, 6 bytes) : 45 (binary, 2 bytes).
0 iterations/second converting char => binary.
converted 47 (char, 6 bytes) : 34 (image, 2 bytes).
0 iterations/second converting char => image.
converted 47 (char, 3 bytes) : 48 (tinyint, 1 bytes).
0 iterations/second converting char => tinyint.
converted 47 (char, 3 bytes) : 52 (smallint, 2 bytes).
0 iterations/second converting char => smallint.
converted 47 (char, 3 bytes) : 56 (int, 4 bytes).
0 iterations/second converting char => int.
converted 47 (char, 3 bytes) : 127 (long long, 8 bytes).
0 iterations/second converting char => long long.
converted 47 (char, 7 bytes) : 62 (float, 8 bytes).
0 iterations/second converting char => float.
converted 47 (char, 7 bytes) : 59 (real, 4 bytes).
0 iterations/second converting char => real.
converted 47 (char, 7 bytes) : 108 (numeric, 35 bytes).
0 iterations/second converting char => numeric.
converted 47 (char, 7 bytes) : 106 (decimal, 35 bytes).
0 iterations/second converting char => decimal.
converted 47 (char, 1 bytes) : 50 (bit, 1 bytes).
0 iterations/second converting char => bit.
converted 47 (char, 7 bytes) : 60 (money, 8 bytes).
0 iterations/second converting char => money.
converted 47 (char, 7 bytes) : 122 (smallmoney, 4 bytes).
0 iterations/second converting char => smallmoney.
converted 47 (char, 12 bytes) : 61 (datetime, 8 bytes).
0 iterations/second converting char => datetime.
converted 47 (char, 12 bytes) : 58 (smalldatetime, 4 bytes).
0 iterations/second converting char => smalldatetime.
converted 35 (text, 12 bytes) : 39 (varchar, 12Conversion not yet implemented:
failed (-2) to convert 45 (binary, 7 bytes) : 108 (numeric).
Conversion not yet implemented:
failed (-2) to convert 45 (binary, 7 bytes) : 106 (decimal).
Conversion not yet implemented:
failed (-2) to convert 45 (binary, 1 bytes) : 50 (bit).
bytes).
0 iterations/second converting text => varchar.
converted 35 (text, 12 bytes) : 47 (char, 12 bytes).
0 iterations/second converting text => char.
converted 35 (text, 6 bytes) : 45 (binary, 2 bytes).
0 iterations/second converting text => binary.
converted 35 (text, 6 bytes) : 34 (image, 2 bytes).
0 iterations/second converting text => image.
converted 35 (text, 3 bytes) : 48 (tinyint, 1 bytes).
0 iterations/second converting text => tinyint.
converted 35 (text, 3 bytes) : 52 (smallint, 2 bytes).
0 iterations/second converting text => smallint.
converted 35 (text, 3 bytes) : 56 (int, 4 bytes).
0 iterations/second converting text => int.
converted 35 (text, 3 bytes) : 127 (long long, 8 bytes).
0 iterations/second converting text => long long.
converted 35 (text, 7 bytes) : 62 (float, 8 bytes).
0 iterations/second converting text => float.
converted 35 (text, 7 bytes) : 59 (real, 4 bytes).
0 iterations/second converting text => real.
converted 35 (text, 7 bytes) : 108 (numeric, 35 bytes).
0 iterations/second converting text => numeric.
converted 35 (text, 7 bytes) : 106 (decimal, 35 bytes).
0 iterations/second converting text => decimal.
converted 35 (text, 1 bytes) : 50 (bit, 1 bytes).
0 iterations/second converting text => bit.
converted 35 (text, 7 bytes) : 60 (money, 8 bytes).
0 iterations/second converting text => money.
converted 35 (text, 7 bytes) : 122 (smallmoney, 4 bytes).
0 iterations/second converting text => smallmoney.
converted 35 (text, 12 bytes) : 61 (datetime, 8 bytes).
0 iterations/second converting text => datetime.
converted 35 (text, 12 bytes) : 58 (smalldatetime, 4 bytes).
0 iterations/second converting text => smalldatetime.
converted 45 (binary, 12 bytes) : 39 (varchar, 24 bytes).
0 iterations/second converting binary => varchar.
converted 45 (binary, 12 bytes) : 47 (char, 24 bytes).
0 iterations/second converting binary => char.
converted 45 (binary, 12 bytes) : 35 (text, 24 bytes).
0 iterations/second converting binary => text.
converted 45 (binary, 6 bytes) : 34 (image, 6 bytes).
0 iterations/second converting binary => image.
converted 45 (binary, 3 bytes) : 48 (tinyint, 1 bytes).
0 iterations/second converting binary => tinyint.
converted 45 (binary, 3 bytes) : 52 (smallint, 2 bytes).
0 iterations/second converting binary => smallint.
converted 45 (binary, 3 bytes) : 56 (int, 4 bytes).
0 iterations/second converting binary => int.
converted 45 (binary, 3 bytes) : 127 (long long, 8 bytes).
0 iterations/second converting binary => long long.
converted 45 (binary, 7 bytes) : 62 (float, 8 bytes).
0 iterations/second converting binary => float.
converted 45 (binary, 7 bytes) : 59 (real, 4 bytes).
0 iterations/second converting binary => real.
converted 45 (binary, 7 bytes) : 108 (numeric, -2 bytes).
0 iterations/second converting binary => numeric.
converted 45 (binary, 7 bytes) : 106 (decimal, -2 bytes).
0 iterations/second converting binary => decimal.
converted 45 (binary, 1 bytes) : 50 (bit, -2 bytes).
0 iterations/second converting binary => bit.
converted 45 (binary, 7 bytes) : 60 (money, 8 bytes).
0 iterations/second converting binary => money.
converted 45 (binary, 7 bytes) : 122 (smallmoney, 4 bytes).
0 iterations/second converting binary => smallmoney.
converted 34 (image, 12 bytes) : 39 (varchar, 24 bytes).
0 iterations/second converting image => varchar.
converted 34 (image, 12 bytes) : 47 (char, 24 bytes).
0 iterations/second converting image => char.
converted 34 (image, 12 bytes) : 35 (text, 24 bytes).
0 iterations/second converting image => text.
converted 3Conversion not yet implemented:
failed (-2) to convert 34 (image, 7 bytes) : 108 (numeric).
Conversion not yet implemented:
failed (-2) to convert 34 (image, 7 bytes) : 106 (decimal).
Conversion not yet implemented:
failed (-2) to convert 34 (image, 1 bytes) : 50 (bit).
4 (image, 6 bytes) : 45 (binary, 6 bytes).
0 iterations/second converting image => binary.
converted 34 (image, 3 bytes) : 48 (tinyint, 1 bytes).
0 iterations/second converting image => tinyint.
converted 34 (image, 3 bytes) : 52 (smallint, 2 bytes).
0 iterations/second converting image => smallint.
converted 34 (image, 3 bytes) : 56 (int, 4 bytes).
0 iterations/second converting image => int.
converted 34 (image, 3 bytes) : 127 (long long, 8 bytes).
0 iterations/second converting image => long long.
converted 34 (image, 7 bytes) : 62 (float, 8 bytes).
0 iterations/second converting image => float.
converted 34 (image, 7 bytes) : 59 (real, 4 bytes).
0 iterations/second converting image => real.
converted 34 (image, 7 bytes) : 108 (numeric, -2 bytes).
0 iterations/second converting image => numeric.
converted 34 (image, 7 bytes) : 106 (decimal, -2 bytes).
0 iterations/second converting image => decimal.
converted 34 (image, 1 bytes) : 50 (bit, -2 bytes).
0 iterations/second converting image => bit.
converted 34 (image, 7 bytes) : 60 (money, 8 bytes).
0 iterations/second converting image => money.
converted 34 (image, 7 bytes) : 122 (smallmoney, 4 bytes).
0 iterations/second converting image => smallmoney.
converted 48 (tinyint, 1 bytes) : 39 (varchar, 3 bytes).
0 iterations/second converting tinyint => varchar.
converted 48 (tinyint, 1 bytes) : 47 (char, 3 bytes).
0 iterations/second converting tinyint => char.
converted 48 (tinyint, 1 bytes) : 35 (text, 3 bytes).
0 iterations/second converting tinyint => text.
converted 48 (tinyint, 1 bytes) : 45 (binary, 1 bytes).
0 iterations/second converting tinyint => binary.
converted 48 (tinyint, 1 bytes) : 34 (image, 1 bytes).
0 iterations/second converting tinyint => image.
converted 48 (tinyint, 1 bytes) : 52 (smallint, 2 bytes).
0 iterations/second converting tinyint => smallint.
converted 48 (tinyint, 1 bytes) : 56 (int, 4 bytes).
0 iterations/second converting tinyint => int.
converted 48 (tinyint, 1 bytes) : 127 (long long, 8 bytes).
0 iterations/second converting tinyint => long long.
converted 48 (tinyint, 1 bytes) : 62 (float, 8 bytes).
0 iterations/second converting tinyint => float.
converted 48 (tinyint, 1 bytes) : 59 (real, 4 bytes).
0 iterations/second converting tinyint => real.
converted 48 (tinyint, 1 bytes) : 108 (numeric, 35 bytes).
0 iterations/second converting tinyint => numeric.
converted 48 (tinyint, 1 bytes) : 106 (decimal, 35 bytes).
0 iterations/second converting tinyint => decimal.
converted 48 (tinyint, 1 bytes) : 50 (bit, 1 bytes).
0 iterations/second converting tinyint => bit.
converted 48 (tinyint, 1 bytes) : 60 (money, 8 bytes).
0 iterations/second converting tinyint => money.
converted 48 (tinyint, 1 bytes) : 122 (smallmoney, 4 bytes).
0 iterations/second converting tinyint => smallmoney.
converted 52 (smallint, 2 bytes) : 39 (varchar, 3 bytes).
0 iterations/second converting smallint => varchar.
converted 52 (smallint, 2 bytes) : 47 (char, 3 bytes).
0 iterations/second converting smallint => char.
converted 52 (smallint, 2 bytes) : 35 (text, 3 bytes).
0 iterations/second converting smallint => text.
converted 52 (smallint, 2 bytes) : 45 (binary, 2 bytes).
0 iterations/second converting smallint => binary.
converted 52 (smallint, 2 bytes) : 34 (image, 2 bytes).
0 iterations/second converting smallint => image.
converted 52 (smallint, 2 bytes) : 48 (tinyint, 1 bytes).
0 iterations/second converting smallint => tinyint.
converted 52 (smallint, 2 bytes) : 56 (int, 4 bytes).
0 iterations/second converting smallint => int.
converted 52 (smallint, 2 bytes) : 127 (long long, 8 bytes).
0 iterations/second converting smallint => long long.
converted 52 (smallint, 2 bytes) : 62 (float, 8 bytes).
0 iterations/second converting smallint => float.
converted 52 (smallint, 2 bytes) : 59 (real, 4 bytes).
0 iterations/second converting smallint => real.
converted 52 (smallint, 2 bytes) : 108 (numeric, 35 bytes).
0 iterations/second converting smallint => numeric.
converted 52 (smallint, 2 bytes) : 106 (decimal, 35 bytes).
0 iterations/second converting smallint => decimal.
converted 52 (smallint, 2 bytes) : 50 (bit, 1 bytes).
0 iterations/second converting smallint => bit.
converted 52 (smallint, 2 bytes) : 60 (money, 8 bytes).
0 iterations/second converting smallint => money.
converted 52 (smallint, 2 bytes) : 122 (smallmoney, 4 bytes).
0 iterations/second converting smallint => smallmoney.
converted 56 (int, 4 bytes) : 39 (varchar, 3 bytes).
0 iterations/second converting int => varchar.
converted 56 (int, 4 bytes) : 47 (char, 3 bytes).
0 iterations/second converting int => char.
converted 56 (int, 4 bytes) : 35 (text, 3 bytes).
0 iterations/second converting int => text.
converted 56 (int, 4 bytes) : 45 (binary, 4 bytes).
0 iterations/second converting int => binary.
converted 56 (int, 4 bytes) : 34 (image, 4 bytes).
0 iterations/second converting int => image.
converted 56 (int, 4 bytes) : 48 (tinyint, 1 bytes).
0 iterations/second converting int => tinyint.
converted 56 (int, 4 bytes) : 52 (smallint, 2 bytes).
0 iterations/second converting int => smallint.
converted 56 (int, 4 bytes) : 127 (long long, 8 bytes).
0 iterations/second converting int => long long.
converted 56 (int, 4 bytes) : 62 (float, 8 bytes).
0 iterations/second converting int => float.
converted 56 (int, 4 bytes) : 59 (real, 4 bytes).
0 iterations/second converting int => real.
converted 56 (int, 4 bytes) : 108 (numeric, 35 bytes).
0 iterations/second converting int => numeric.
converted 56 (int, 4 bytes) : 106 (decimal, 35 bytes).
0 iterations/second converting int => decimal.
converted 56 (int, 4 bytes) : 50 (bit, 1 bytes).
0 iterations/second converting int => bit.
converted 56 (int, 4 bytes) : 60 (money, 8 bytes).
0 iterations/second converting int => money.
converted 56 (int, 4 bytes) : 122 (smallmoney, 4 bytes).
0 iterations/second converting int => smallmoney.
converted 127 (long long, 8 bytes) : 39 (varchar, 3 bytes).
0 iterations/second converting long long => varchar.
converted 127 (long long, 8 bytes) : 47 (char, 3 bytes).
0 iterations/second converting long long => char.
converted 127 (long long, 8 bytes) : 35 (text, 3 bytes).
0 iterations/second converting long long => text.
converted 127 (long long, 8 bytes) : 45 (binary, 8 bytes).
0 iterations/second converting long long => binary.
converted 127 (long long, 8 bytes) : 34 (image, 8 bytes).
0 iterations/second converting long long => image.
converted 127 (long long, 8 bytes) : 48 (tinyint, 1 bytes).
0 iterations/second converting long long => tinyint.
converted 127 (long long, 8 bytes) : 52 (smallint, 2 bytes).
0 iterations/second converting long long => smallint.
converted 127 (long long, 8 bytes) : 56 (int, 4 bytes).
0 iterations/second converting long long => int.
converted 127 (long long, 8 bytes) : 62 (float, 8 bytes).
0 iterations/second converting long long => float.
converted 127 (long long, 8 bytes) : 59 (real, 4 bytes).
0 iterations/second converting long long => real.
converted 127 (long long, 8 bytes) : 108 (numeric, 35 bytes).
0 iterations/second converting long long => numeric.
converted 127 (long long, 8 bytes) : 106 (decimal, 35 bytes).
0 iterations/second converting long long => decimal.
converted 127 (long long, 8 bytes) : 50 (bit, 1 bytes).
0 iterations/second converting long long => bit.
converted 127 (long long, 8 bytes) : 60 (money, 8 bytes).
0 iterations/second converting long long => money.
converted 127 (long long, 8 bytes) : 122 (smallmoney, 4 bytes).
0 iterations/second converting long long => smallmoney.
converted 62 (float, 8 bytes) : 39 (varchar, 3 bytes).
0 iterations/second converting float => varchar.
converted 62 (float, 8 bytes) : 47 (char, 3 bytes).
0 iterations/second converting float => char.
converted 62 (float, 8 bytes) : 35 (text, 3 bytes).
0 iterations/second converting float => text.
converted 62 (float, 8 bytes) : 45 (binary, 8 bytes).
0 iterations/second converting float => binary.
converted 62 (float, 8 bytes) : 34 (image, 8 bytes).
0 iterations/second converting float => image.
converted 62 (float, 8 bytes) : 48 (tinyint, 1 bytes).
0 iterations/second converting float => tinyint.
converted 62 (float, 8 bytes) : 52 (smallint, 2 bytes).
0 iterations/second converting float => smallint.
converted 62 (float, 8 bytes) : 56 (int, 4 bytes).
0 iterations/second converting float => int.
converted 62 (float, 8 bytes) : 127 (long long, 8 bytes).
0 iterations/second converting float => long long.
converted 62 (float, 8 bytes) : 59 (real, 4 bytes).
0 iterations/second converting float => real.
converted 62 (float, 8 bytes) : 108 (numeric, 35 bytes).
0 iterations/second converting float => numeric.
converted 62 (float, 8 bytes) : 106 (decimal, 35 bytes).
0 iterations/second converting float => decimal.
converted 62 (float, 8 bytes) : 50 (bit, 1 bytes).
0 iterations/second converting float => bit.
converted 62 (float, 8 bytes) : 60 (money, 8 bytes).
0 iterations/second converting float => money.
converted 62 (float, 8 bytes) : 122 (smallmoney, 4 bytes).
0 iterations/second converting float => smallmoney.
converted 59 (real, 4 bytes) : 39 (varchar, 3 bytes).
0 iterations/second converting real => varchar.
converted 59 (real, 4 bytes) : 47 (char, 3 bytes).
0 iterations/second converting real => char.
converted 59 (real, 4 bytes) : 35 (text, 3 bytes).
0 iterations/second converting real => text.
converted 59 (real, 4 bytes) : 45 (binary, 4 bytes).
0 iterations/second converting real => binary.
converted 59 (real, 4 bytes) : 34 (image, 4 bytes).
0 iterations/second converting real => image.
converted 59 (real, 4 bytes) : 48 (tinyint, 1 bytes).
0 iterations/second converting real => tinyint.
converted 59 (real, 4 bytes) : 52 (smallint, 2 bytes).
0 iterations/second converting real => smallint.
converted 59 (real, 4 bytes) : 56 (int, 4 bytes).
0 iterations/second converting real => int.
converted 59 (real, 4 bytes) : 127 (long long, 8 bytes).
0 iterations/second converting real => long long.
converted 59 (real, 4 bytes) : 62 (float, 8 bytes).
0 iterations/second converting real => float.
converted 59 (real, 4 bytes) : 108 (numeric, 35 bytes).
0 iterations/second converting real => numeric.
converted 59 (real, 4 bytes) : 106 (decimal, 35 bytes).
0 iterations/second converting real => decimal.
converted 59 (real, 4 bytes) : 50 (bit, 1 bytes).
0 iterations/second converting real => bit.
converted 59 (real, 4 bytes) : 60 (money, 8 bytes).
0 iterations/second converting real => money.
converted 59 (real, 4 bytes) : 122 (smallmoney, 4 bytes).
0 iterations/second converting real => smallmoney.
converted 108 (numeric, 35 bytes) : 39 (varchar, 6 bytes).
0 iterations/second converting numeric => varchar.
converted 108 (numeric, 35 bytes) : 47 (char, 6 bytes).
0 iterations/second converting numeric => charConversion not yet
implemented:
failed (-2) to convert 108 (numeric, 35 bytes) : 60 (money).
Conversion not yet implemented:
failed (-2) to convert 108 (numeric, 35 bytes) : 122 (smallmoney).
Conversion not yet implemented:
failed (-2) to convert 106 (decimal, 35 bytes) : 60 (money).
Conversion not yet implemented:
failed (-2) to convert 106 (decimal, 35 bytes) : 122 (smallmoney).
.
converted 108 (numeric, 35 bytes) : 35 (text, 6 bytes).
0 iterations/second converting numeric => text.
converted 108 (numeric, 35 bytes) : 45 (binary, 35 bytes).
0 iterations/second converting numeric => binary.
converted 108 (numeric, 35 bytes) : 34 (image, 35 bytes).
0 iterations/second converting numeric => image.
converted 108 (numeric, 35 bytes) : 48 (tinyint, 1 bytes).
0 iterations/second converting numeric => tinyint.
converted 108 (numeric, 35 bytes) : 52 (smallint, 2 bytes).
0 iterations/second converting numeric => smallint.
converted 108 (numeric, 35 bytes) : 56 (int, 4 bytes).
0 iterations/second converting numeric => int.
converted 108 (numeric, 35 bytes) : 127 (long long, 8 bytes).
0 iterations/second converting numeric => long long.
converted 108 (numeric, 35 bytes) : 62 (float, 8 bytes).
0 iterations/second converting numeric => float.
converted 108 (numeric, 35 bytes) : 59 (real, 4 bytes).
0 iterations/second converting numeric => real.
converted 108 (numeric, 35 bytes) : 106 (decimal, 35 bytes).
0 iterations/second converting numeric => decimal.
converted 108 (numeric, 35 bytes) : 50 (bit, 1 bytes).
0 iterations/second converting numeric => bit.
converted 108 (numeric, 35 bytes) : 60 (money, -2 bytes).
0 iterations/second converting numeric => money.
converted 108 (numeric, 35 bytes) : 122 (smallmoney, -2 bytes).
0 iterations/second converting numeric => smallmoney.
converted 106 (decimal, 35 bytes) : 39 (varchar, 6 bytes).
0 iterations/second converting decimal => varchar.
converted 106 (decimal, 35 bytes) : 47 (char, 6 bytes).
0 iterations/second converting decimal => char.
converted 106 (decimal, 35 bytes) : 35 (text, 6 bytes).
0 iterations/second converting decimal => text.
converted 106 (decimal, 35 bytes) : 45 (binary, 35 bytes).
0 iterations/second converting decimal => binary.
converted 106 (decimal, 35 bytes) : 34 (image, 35 bytes).
0 iterations/second converting decimal => image.
converted 106 (decimal, 35 bytes) : 48 (tinyint, 1 bytes).
0 iterations/second converting decimal => tinyint.
converted 106 (decimal, 35 bytes) : 52 (smallint, 2 bytes).
0 iterations/second converting decimal => smallint.
converted 106 (decimal, 35 bytes) : 56 (int, 4 bytes).
0 iterations/second converting decimal => int.
converted 106 (decimal, 35 bytes) : 127 (long long, 8 bytes).
0 iterations/second converting decimal => long long.
converted 106 (decimal, 35 bytes) : 62 (float, 8 bytes).
0 iterations/second converting decimal => float.
converted 106 (decimal, 35 bytes) : 59 (real, 4 bytes).
0 iterations/second converting decimal => real.
converted 106 (decimal, 35 bytes) : 108 (numeric, 35 bytes).
0 iterations/second converting decimal => numeric.
converted 106 (decimal, 35 bytes) : 50 (bit, 1 bytes).
0 iterations/second converting decimal => bit.
converted 106 (decimal, 35 bytes) : 60 (money, -2 bytes).
0 iterations/second converting decimal => money.
converted 106 (decimal, 35 bytes) : 122 (smallmoney, -2 bytes).
0 iterations/second converting decimal => smallmoney.
converted 50 (bit, 4 bytes) : 39 (varchar, 1 bytes).
0 iterations/second converting bit => varchar.
converted 50 (bit, 4 bytes) : 47 (char, 1 bytes).
0 iterations/second converting bit => char.
converted 50 (bit, 4 bytes) : 35 (text, 1 bytes).
0 iterations/second converting bit => text.
converted 50 (bit, 4 bytes) : 45 (binary, 1 bytes).
0 iterations/second converting bit => binary.
converted 50 (bit, 4 bytes) : 34 (image, 1 bytes).
0 iterations/second converting bit => image.
converted 50 (bit, 4 bytes) : 48 (tinyint, 1 bytes).
0 iterations/second converting bit => tinyint.
converted 50 (bit, 4 bytes) : 52 (smallint, 2 bytes).
0 iterations/second converting bit => smallint.
converted 50 (bit, 4 bytes) : 56 (int, 4 bytes).
0 iterations/second converting bit => int.
converted 50 (bit, 4 bytes) : 127 (long long, 8 bytes).
0 iterations/second converting bit => long long.
converted 50 (bit, 4 bytes) : 62 (float, 8 bytes).
0 iterations/second converting bit => float.
converted 50 (bit, 4 bytes) : 59 (real, 4 bytes).
0 iterations/second converting bit => real.
converted 50 (bit, 4 bytes) : 108 (numeric, 35 bytes).
0 iterations/second converting bit => numeric.
converted 50 (bit, 4 bytes) : 106 (decimal, 35 bytes).
0 iterations/second converting bit => decimal.
converted 50 (bit, 4 bytes) : 60 (money, 8 bytes).
0 iterations/second converting bit => money.
converted 50 (bit, 4 bytes) : 122 (smallmoney, 4 bytes).
0 iterations/second converting bit => smallmoney.
converted 60 (money, 8 bytes) : 39 (varchar, 6 bytes).
0 iterations/second converting money => varchar.
converted 60 (money, 8 bytes) : 47 (char, 6 bytes).
0 iterations/second converting money => char.
converted 60 (money, 8 bytes) : 35 (text, 6 bytes).
0 iterations/second converting money => text.
converted 60 (money, 8 bytes) : 45 (binary, 8 bytes).
0 iterations/second converting money => binary.
converted 60 (money, 8 bytes) : 34 (image, 8 bytes).
0 iterations/second converting money => image.
converted 60 (money, 8 bytes) : 48 (tinyint, 1 bytes).
0 iterations/second converting money => tinyint.
converted 60 (money, 8 bytes) : 52 (smallint, 2 bytes).
0 iterations/second converting money => smallint.
converted 60 (money, 8 bytes) : 56 (int, 4 bytes).
0 iterations/second converting money => int.
converted 60 (money, 8 bytes) : 127 (long long, 8 bytes).
0 iterations/second converting money => long long.
converted 60 (money, 8 bytes) : 62 (float, 8 bytes).
0 iterations/second converting money => float.
converted 60 (money, 8 bytes) : 59 (real, 4 bytes).
0 iterations/second converting money => real.
converted 60 (money, 8 bytes) : 108 (numeric, 35 bytes).
0 iterations/second converting money => numeric.
converted 60 (money, 8 bytes) : 106 (decimal, 35 bytes).
0 iterations/second converting money => decimal.
converted 60 (money, 8 bytes) : 50 (bit, 1 bytes).
0 iterations/second converting money => bit.
converted 60 (money, 8 bytes) : 122 (smallmoney, 4 bytes).
0 iterations/second converting money => smallmoney.
converted 122 (smallmoney, 4 bytes) : 39 (varchar, 4 bytes).
0 iterations/second converting smallmoney => varchar.
converted 122 (smallmoney, 4 bytes) : 47 (char, 4 bytes).
0 iterations/second converting smallmoney => char.
converted 122 (smallmoney, 4 bytes) : 35 (text, 4 bytes).
0 iterations/second converting smallmoney => text.
converted 122 (smallmoney, 4 bytes) : 45 (binary, 4 bytes).
0 iterations/second converting smallmoney => binary.
converted 122 (smallmoney, 4 bytes) : 34 (image, 4 bytes).
0 iterations/second converting smallmoney => image.
converted 122 (smallmoney, 4 bytes) : 48 (tinyint, 1 bytes).
0 iterations/second converting smallmoney => tinyint.
converted 122 (smallmoney, 4 bytes) : 52 (smallint, 2 bytes).
0 iterations/second converting smallmoney => smallint.
converted 122 (smallmoney, 4 bytes) : 56 (int, 4 bytes).
0 iterations/second converting smallmoney => int.
converted 122 (smallmoney, 4 bytes) : 127 (long long, 8 bytes).
0 iterations/second converting smallmoney => long long.
converted 122 (smallmoney, 4 bytes) : 62 (float, 8 bytes).
0 iterations/second converting smallmoney => float.
converted 122 (smallmoney, 4 bytes) : 59 (real, 4 bytes).
0 iterations/second converting smallmoney => real.
converted 122 (smallmoney, 4 bytes) : 108 (numeric, 35 bytes).
0 iterations/second converting smallmoney => numeric.
converted 122 (smallmoney, 4 bytes) : 106 (decimal, 35 bytes).
0 iterations/second converting smallmoney => decimal.
converted 122 (smallmoney, 4 bytes) : 50 (bit, 1 bytes).
0 iterations/second converting smallmoney => bit.
converted 122 (smallmoney, 4 bytes) : 60 (money, 8 bytes).
0 iterations/second converting smallmoney => money.
converted 61 (datetime, 8 bytes) : 39 (varchar, 19 bytes).
0 iterations/second converting datetime => varchar.
converted 61 (datetime, 8 bytes) : 47 (char, 19 bytes).
0 iterations/second converting datetime => char.
converted 61 (datetime, 8 bytes) : 35 (text, 19 bytes).
0 iterations/second converting datetime => text.
converted 61 (datetime, 8 bytes) : 45 (binary, 8 bytes).
0 iterations/second converting datetime => binary.
converted 61 (datetime, 8 bytes) : 34 (image, 8 bytes).
0 iterations/second converting datetime => image.
converted 61 (datetime, 8 bytes) : 58 (smalldatetime, 4 bytes).
0 iterations/second converting datetime => smalldatetime.
converted 58 (smalldatetime, 4 bytes) : 39 (varchar, 19 bytes).
0 iterations/second converting smalldatetime => varchar.
converted 58 (smalldatetime, 4 bytes) : 47 (char, 19 bytes).
0 iterations/second converting smalldatetime => char.
converted 58 (smalldatetime, 4 bytes) : 35 (text, 19 bytes).
0 iterations/second converting smalldatetime => text.
converted 58 (smalldatetime, 4 bytes) : 45 (binary, 4 bytes).
0 iterations/second converting smalldatetime => binary.
converted 58 (smalldatetime, 4 bytes) : 34 (image, 4 bytes).
0 iterations/second converting smalldatetime => image.
converted 58 (smalldatetime, 4 bytes) : 61 (datetime, 8 bytes).
0 iterations/second converting smalldatetime => datetime.
PASS: convert
dataread.c: Testing conversion from server
PASS: dataread
flags:nullable writable
wrong column 2 flags
flags.c: Testing flags from server
select c, b from #tmp1 for browse: Testing query
FAIL: flags
English
Español
Français
Português
Русский
العربية
简体中文
日本語
עברית
PASS: utf8_1
====================
2 of 13 tests failed
====================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/home/david/work/tmp/freetds/src/tds/unittests'
make: *** [check-am] Error 2
make t0001 t0002 t0003 t0004 connect print date norowset funccall lang_error
tables binary_test moreandcount earlybind putdata params raiseerror getdata
transaction type
make[1]: Entering directory `/home/david/work/tmp/freetds/src/odbc/unittests'
make[1]: `t0001' is up to date.
make[1]: `t0002' is up to date.
make[1]: `t0003' is up to date.
make[1]: `t0004' is up to date.
make[1]: `connect' is up to date.
make[1]: `print' is up to date.
make[1]: `date' is up to date.
make[1]: `norowset' is up to date.
make[1]: `funccall' is up to date.
make[1]: `lang_error' is up to date.
make[1]: `tables' is up to date.
make[1]: `binary_test' is up to date.
make[1]: `moreandcount' is up to date.
make[1]: `earlybind' is up to date.
make[1]: `putdata' is up to date.
make[1]: `params' is up to date.
make[1]: `raiseerror' is up to date.
make[1]: `getdata' is up to date.
make[1]: `transaction' is up to date.
make[1]: `type' is up to date.
make[1]: Leaving directory `/home/david/work/tmp/freetds/src/odbc/unittests'
make check-TESTS
make[1]: Entering directory `/home/david/work/tmp/freetds/src/odbc/unittests'
odbctest
--------

connection parameters:
server: 'iliad'
user: 'abelon'
password: '????'
database: 'tempdb'
use tempdb
drop table #odbctestdata
Unable to execute statement
create table #odbctestdata (col1 varchar(30) not null,col2 int not null,col3
float not null,col4 numeric(18,6) not null,col5 datetime not null,col6 text
not null)
insert #odbctestdata values ('ABCDEFGHIJKLMNOP',123456,1234.56,123456.78,'Sep
11 2001 10:00AM','just to check returned length...')
select * from #odbctestdata
output data >ABCDEFGHIJKLMNOP< len_or_ind = 16
output data >123456< len_or_ind = 6
output data >1234.56< len_or_ind = 7
output data >123456.780000< len_or_ind = 13
output data >2001-09-11 10:00:00< len_or_ind = 19
output data >just to check returned length...< len_or_ind = 32
drop table #odbctestdata
Done.
PASS: t0001
odbctest
--------

connection parameters:
server: 'iliad'
user: 'abelon'
password: '????'
database: 'tempdb'
use tempdb
drop table #odbctestdata
Unable to execute statement
create table #odbctestdata (i int)
insert #odbctestdata values (123)
select * from #odbctestdata where 0=1
select * from #odbctestdata
drop table #odbctestdata
Done.
PASS: t0002
odbctest
--------

connection parameters:
server: 'iliad'
user: 'abelon'
password: '????'
database: 'tempdb'
use tempdb
create table #odbctestdata (i int)
select * from #odbctestdata select * from #odbctestdata
Getting next recordset
insert into #odbctestdata values(123)
select * from #odbctestdata select * from #odbctestdata
Getting next recordset
drop table #odbctestdata
create table #odbctestdata (i int)
Getting next recordset
insert into #odbctestdata values(123)
Getting next recordset
drop table #odbctestdata
Done.
PASS: t0003
odbctest
--------

connection parameters:
server: 'iliad'
user: 'abelon'
password: '????'
database: 'tempdb'
use tempdb
Done.
PASS: t0004
SQLConnect connect..
odbctest
--------

connection parameters:
server: 'iliad'
user: 'abelon'
password: '????'
database: 'tempdb'
use tempdb
connect string DSN connect..
connect string SERVERNAME connect..
odbcinst.ini must be configured with FreeTDS driver..
Unable to open data source (ret=-1)
SQL error IM002 -- [unixODBC][Driver Manager]Data source name not found, and
no default driver specified
FAIL: connect
odbctest
--------

connection parameters:
server: 'iliad'
user: 'abelon'
password: '????'
database: 'tempdb'
use tempdb
print 'Test message'
Message: [unixODBC][FreeTDS][SQL Server]Test message
SELECT donotexistsfield FROM donotexiststable
Message: [FreeTDS][SQL Server]Invalid object name 'donotexiststable'.
Message: [unixODBC][Driver Manager]Function sequence error
Message: [unixODBC][Driver Manager]Function sequence error
Done.
PASS: print
odbctest
--------

connection parameters:
server: 'iliad'
user: 'abelon'
password: '????'
database: 'tempdb'
use tempdb
select convert(datetime, '2002-12-27 18:43:21')
Date returned: 2002-12-27 18:43:21
select convert(datetime, '2002-12-27 18:43:21')
Date returned: 2002-12-27 18:43:21
Done.
PASS: date
odbctest
--------

connection parameters:
server: 'iliad'
user: 'abelon'
password: '????'
database: 'tempdb'
use tempdb
drop proc sp_norowset_test
create proc sp_norowset_test as begin declare @i int end
exec sp_norowset_test
select name from sysobjects where name = 'sysobjects'
drop proc sp_norowset_test
Done.
PASS: norowset
odbctest
--------

connection parameters:
server: 'iliad'
user: 'abelon'
password: '????'
database: 'tempdb'
use tempdb
drop proc simpleresult
Unable to execute statement
create proc simpleresult @i int as begin return @i end
DECLARE @i INT
drop proc simpleresult
drop proc simpleresult2
create proc simpleresult2 @i int, @x int output, @y varchar(20) output as
begin select @x = 6789 select @y = 'test foo' return @i end
Unable to execute statement
FAIL: funccall
odbctest
--------

connection parameters:
server: 'iliad'
user: 'abelon'
password: '????'
database: 'tempdb'
use tempdb
SELECT DATEADD(dd,-100000,getdate())
Done.
PASS: lang_error
odbctest
--------

connection parameters:
server: 'iliad'
user: 'abelon'
password: '????'
database: 'tempdb'
use tempdb
Test type '' with row
Test type ''SYSTEM TABLE'' with row
Test type ''TABLE'' without row
Done.
PASS: tables
odbctest
--------

connection parameters:
server: 'iliad'
user: 'abelon'
password: '????'
database: 'tempdb'
use tempdb
create table #binary_test (im IMAGE)
SET TEXTSIZE 1000000
DECLARE @i INT
Input and output buffers of length 131072 match.
Test passed.
PASS: binary_test
Expected 1 columns returned 0
odbctest
--------

connection parameters:
server: 'iliad'
user: 'abelon'
password: '????'
database: 'tempdb'
use tempdb
create table #tmp1 (i int)
create table #tmp2 (i int)
insert into #tmp1 values(1)
insert into #tmp1 values(2)
insert into #tmp1 values(3)
Use direct statement
Result 1
Result 2
Result 3
Result 4
Result 5
Use prepared statement
Result 1
FAIL: moreandcount
odbctest
--------

connection parameters:
server: 'iliad'
user: 'abelon'
password: '????'
database: 'tempdb'
use tempdb
SELECT id, name FROM sysobjects WHERE name = 'sysobjects' SELECT 123, 'foo'
SELECT 321, 'minni'
Done.
PASS: earlybind
odbctest
--------

connection parameters:
server: 'iliad'
user: 'abelon'
password: '????'
database: 'tempdb'
use tempdb
CREATE TABLE #putdata (c VARCHAR(255) NULL, b VARBINARY(255) NULL)
DECLARE @i INT
Done.
PASS: putdata
InParam != OutParam
odbctest
--------

connection parameters:
server: 'iliad'
user: 'abelon'
password: '????'
database: 'tempdb'
use tempdb
drop proc spTestProc
Unable to execute statement
CREATE PROCEDURE spTestProc
@InParam int,
@OutParam int OUTPUT,
@OutString varchar(20) OUTPUT
AS
SELECT @OutParam = @InParam
SELECT @OutString = 'This is cool!'
IF @InParam < 10
RETURN (0)
ELSE
RETURN (1)

drop proc spTestProc
Output:
Return Code = 0
InParam = 5
OutParam = 1
OutString = Test
FAIL: params
odbctest
--------

connection parameters:
server: 'iliad'
user: 'abelon'
password: '????'
database: 'tempdb'
use tempdb
CREATE PROCEDURE #tmp1
@InParam int,
@OutParam int OUTPUT,
@OutString varchar(20) OUTPUT
AS
SET @OutParam = @InParam
SET @OutString = 'This is bogus!'
RAISERROR('An error occurred.', 11, 1)
RETURN (0)
SpDateTest Output:
Result = 1
Return Code = 0
Result=0 DIAG REC 1: State= Error=50000: [unixODBC][FreeTDS][SQL Server]An
error occurred.
Done.
PASS: raiseerror
odbctest
--------

connection parameters:
server: 'iliad'
user: 'abelon'
password: '????'
database: 'tempdb'
use tempdb
SELECT CONVERT(TEXT,'Prova')
Done.
PASS: getdata
odbctest
--------

connection parameters:
server: 'iliad'
user: 'abelon'
password: '????'
database: 'tempdb'
use tempdb
DROP TABLE TestTransaction
CREATE TABLE TestTransaction ( value int )
DROP PROCEDURE testinsert
CREATE PROCEDURE testinsert
@value int
AS
insert into TestTransaction values ( @value )
select * from TestTransaction

EXEC testinsert 1
Can't commit transaction
FAIL: transaction
Check failed: Type not C successed to be set in APD
Check failed: Type not C successed to be set in APD
Check failed: Type not C successed to be set in APD
Check failed: Type not C successed to be set in APD
Check failed: Type not C successed to be set in APD
Check failed: Type not C successed to be set in APD
Check failed: Type not C successed to be set in APD
Error setting type 99 (SQL_C_DEFAULT)
Check failed: Type not SQL successed to be set in IPD
odbctest
--------

connection parameters:
server: 'iliad'
user: 'abelon'
password: '????'
database: 'tempdb'
use tempdb
Setted type SQL_C_CHAR -> [1 (SQL_C_CHAR), 1 (SQL_C_CHAR), 0]
Setted type SQL_C_LONG -> [4 (SQL_C_LONG), 4 (SQL_C_LONG), 0]
Setted type SQL_C_SHORT -> [5 (SQL_C_SHORT), 5 (SQL_C_SHORT), 0]
Setted type SQL_C_FLOAT -> [7 (SQL_C_FLOAT), 7 (SQL_C_FLOAT), 0]
Setted type SQL_C_DOUBLE -> [8 (SQL_C_DOUBLE), 8 (SQL_C_DOUBLE), 0]
Setted type SQL_C_NUMERIC -> [2 (SQL_C_NUMERIC), 2 (SQL_C_NUMERIC), 0]
Setted type SQL_C_DEFAULT -> [1 (SQL_C_CHAR), 1 (SQL_C_CHAR), 0]
Setted type SQL_C_DATE -> [91 (SQL_C_TYPE_DATE), 9 (SQL_C_DATE), 1]
Setted type SQL_C_TIME -> [92 (SQL_C_TYPE_TIME), 9 (SQL_C_DATE), 2]
Setted type SQL_C_TIMESTAMP -> [93 (SQL_C_TYPE_TIMESTAMP), 9 (SQL_C_DATE), 3]
Setted type SQL_C_TYPE_DATE -> [91 (SQL_C_TYPE_DATE), 9 (SQL_C_DATE), 1]
Setted type SQL_C_TYPE_TIME -> [92 (SQL_C_TYPE_TIME), 9 (SQL_C_DATE), 2]
Setted type SQL_C_TYPE_TIMESTAMP -> [93 (SQL_C_TYPE_TIMESTAMP), 9
(SQL_C_DATE), 3]
Setted type SQL_C_INTERVAL_YEAR -> [101 (SQL_C_INTERVAL_YEAR), 10
(SQL_C_TIME), 1]
Setted type SQL_C_INTERVAL_MONTH -> [102 (SQL_C_INTERVAL_MONTH), 10
(SQL_C_TIME), 2]
Setted type SQL_C_INTERVAL_DAY -> [103 (SQL_C_INTERVAL_DAY), 10 (SQL_C_TIME),
3]
Setted type SQL_C_INTERVAL_HOUR -> [104 (SQL_C_INTERVAL_HOUR), 10
(SQL_C_TIME), 4]
Setted type SQL_C_INTERVAL_MINUTE -> [105 (SQL_C_INTERVAL_MINUTE), 10
(SQL_C_TIME), 5]
Setted type SQL_C_INTERVAL_SECOND -> [106 (SQL_C_INTERVAL_SECOND), 10
(SQL_C_TIME), 6]
Setted type SQL_C_INTERVAL_YEAR_TO_MONTH -> [107
(SQL_C_INTERVAL_YEAR_TO_MONTH), 10 (SQL_C_TIME), 7]
Setted type SQL_C_INTERVAL_DAY_TO_HOUR -> [108 (SQL_C_INTERVAL_DAY_TO_HOUR),
10 (SQL_C_TIME), 8]
Setted type SQL_C_INTERVAL_DAY_TO_MINUTE -> [109
(SQL_C_INTERVAL_DAY_TO_MINUTE), 10 (SQL_C_TIME), 9]
Setted type SQL_C_INTERVAL_DAY_TO_SECOND -> [110
(SQL_C_INTERVAL_DAY_TO_SECOND), 10 (SQL_C_TIME), 10]
Setted type SQL_C_INTERVAL_HOUR_TO_MINUTE -> [111
(SQL_C_INTERVAL_HOUR_TO_MINUTE), 10 (SQL_C_TIME), 11]
Setted type SQL_C_INTERVAL_HOUR_TO_SECOND -> [112
(SQL_C_INTERVAL_HOUR_TO_SECOND), 10 (SQL_C_TIME), 12]
Setted type SQL_C_INTERVAL_MINUTE_TO_SECOND -> [113
(SQL_C_INTERVAL_MINUTE_TO_SECOND), 10 (SQL_C_TIME), 13]
Setted type SQL_C_BINARY -> [-2 (SQL_C_BINARY), -2 (SQL_C_BINARY), 0]
Setted type SQL_C_BIT -> [-7 (SQL_C_BIT), -7 (SQL_C_BIT), 0]
Setted type SQL_C_SBIGINT -> [-7 (SQL_C_BIT), -7 (SQL_C_BIT), 0]
Setted type SQL_C_UBIGINT -> [-7 (SQL_C_BIT), -7 (SQL_C_BIT), 0]
Setted type SQL_C_TINYINT -> [-6 (SQL_C_TINYINT), -6 (SQL_C_TINYINT), 0]
Setted type SQL_C_SLONG -> [-16 (SQL_C_SLONG), -16 (SQL_C_SLONG), 0]
Setted type SQL_C_SSHORT -> [-15 (SQL_C_SSHORT), -15 (SQL_C_SSHORT), 0]
Setted type SQL_C_STINYINT -> [-15 (SQL_C_SSHORT), -15 (SQL_C_SSHORT), 0]
Setted type SQL_C_ULONG -> [-15 (SQL_C_SSHORT), -15 (SQL_C_SSHORT), 0]
Setted type SQL_C_USHORT -> [-15 (SQL_C_SSHORT), -15 (SQL_C_SSHORT), 0]
Setted type SQL_C_UTINYINT -> [-15 (SQL_C_SSHORT), -15 (SQL_C_SSHORT), 0]
Setted type SQL_C_GUID -> [-11 (SQL_C_GUID), -11 (SQL_C_GUID), 0]
Setted type SQL_BIGINT -> [-5 (SQL_BIGINT), -5 (SQL_BIGINT), 0]
Setted type SQL_VARBINARY -> [-3 (SQL_VARBINARY), -3 (SQL_VARBINARY), 0]
Setted type SQL_LONGVARBINARY -> [-4 (SQL_LONGVARBINARY), -4
(SQL_LONGVARBINARY), 0]
Setted type SQL_VARCHAR -> [12 (SQL_VARCHAR), 12 (SQL_VARCHAR), 0]
Setted type SQL_LONGVARCHAR -> [-1 (SQL_LONGVARCHAR), -1 (SQL_LONGVARCHAR), 0]
Setted type SQL_DECIMAL -> [3 (SQL_DECIMAL), 3 (SQL_DECIMAL), 0]
Setted type SQL_FLOAT -> [6 (SQL_FLOAT), 6 (SQL_FLOAT), 0]


Setted type SQL_C_CHAR -> [1 (SQL_C_CHAR), 1 (SQL_C_CHAR), 0]
Setted type SQL_C_LONG -> [4 (SQL_C_LONG), 4 (SQL_C_LONG), 0]
Setted type SQL_C_SHORT -> [5 (SQL_C_SHORT), 5 (SQL_C_SHORT), 0]
Setted type SQL_C_FLOAT -> [7 (SQL_C_FLOAT), 7 (SQL_C_FLOAT), 0]
Setted type SQL_C_DOUBLE -> [8 (SQL_C_DOUBLE), 8 (SQL_C_DOUBLE), 0]
Setted type SQL_C_NUMERIC -> [2 (SQL_C_NUMERIC), 2 (SQL_C_NUMERIC), 0]
Setted type SQL_C_DATE -> [91 (SQL_C_TYPE_DATE), 9 (SQL_C_DATE), 1]
Setted type SQL_C_TIME -> [92 (SQL_C_TYPE_TIME), 9 (SQL_C_DCheck failed: Type
not SQL successed to be set in IPD
Check failed: Type not SQL successed to be set in IPD
Check failed: Type not SQL successed to be set in IPD
Check failed: Type not SQL successed to be set in IPD
Check failed: Type not SQL successed to be set in IPD
Check failed: Type not SQL successed to be set in IPD
Check failed: Type not SQL successed to be set in IPD
Check failed: Type not SQL successed to be set in IPD
Check failed: Type not SQL successed to be set in IPD
Check failed: Type not SQL successed to be set in IPD
Check failed: Type not SQL successed to be set in IPD
Check failed: Type not SQL successed to be set in IPD
Check failed: Type not SQL successed to be set in IPD
Check failed: Type not SQL successed to be set in IPD
Check failed: Type not SQL successed to be set in IPD
Check failed: Type not SQL successed to be set in IPD
Check failed: Type not SQL successed to be set in IPD
Error setting type -25 (SQL_C_SBIGINT)
Error setting type -27 (SQL_C_UBIGINT)
Check failed: Type not SQL successed to be set in IPD
Check failed: Type not SQL successed to be set in IPD
Error setting type -26 (SQL_C_STINYINT)
Error setting type -18 (SQL_C_ULONG)
Error setting type -17 (SQL_C_USHORT)
Error setting type -28 (SQL_C_UTINYINT)
ATE), 2]
Setted type SQL_C_TIMESTAMP -> [93 (SQL_C_TYPE_TIMESTAMP), 9 (SQL_C_DATE), 3]
Setted type SQL_C_TYPE_DATE -> [91 (SQL_C_TYPE_DATE), 9 (SQL_C_DATE), 1]
Setted type SQL_C_TYPE_TIME -> [92 (SQL_C_TYPE_TIME), 9 (SQL_C_DATE), 2]
Setted type SQL_C_TYPE_TIMESTAMP -> [93 (SQL_C_TYPE_TIMESTAMP), 9
(SQL_C_DATE), 3]
Setted type SQL_C_INTERVAL_YEAR -> [101 (SQL_C_INTERVAL_YEAR), 10
(SQL_C_TIME), 1]
Setted type SQL_C_INTERVAL_MONTH -> [102 (SQL_C_INTERVAL_MONTH), 10
(SQL_C_TIME), 2]
Setted type SQL_C_INTERVAL_DAY -> [103 (SQL_C_INTERVAL_DAY), 10 (SQL_C_TIME),
3]
Setted type SQL_C_INTERVAL_HOUR -> [104 (SQL_C_INTERVAL_HOUR), 10
(SQL_C_TIME), 4]
Setted type SQL_C_INTERVAL_MINUTE -> [105 (SQL_C_INTERVAL_MINUTE), 10
(SQL_C_TIME), 5]
Setted type SQL_C_INTERVAL_SECOND -> [106 (SQL_C_INTERVAL_SECOND), 10
(SQL_C_TIME), 6]
Setted type SQL_C_INTERVAL_YEAR_TO_MONTH -> [107
(SQL_C_INTERVAL_YEAR_TO_MONTH), 10 (SQL_C_TIME), 7]
Setted type SQL_C_INTERVAL_DAY_TO_HOUR -> [108 (SQL_C_INTERVAL_DAY_TO_HOUR),
10 (SQL_C_TIME), 8]
Setted type SQL_C_INTERVAL_DAY_TO_MINUTE -> [109
(SQL_C_INTERVAL_DAY_TO_MINUTE), 10 (SQL_C_TIME), 9]
Setted type SQL_C_INTERVAL_DAY_TO_SECOND -> [110
(SQL_C_INTERVAL_DAY_TO_SECOND), 10 (SQL_C_TIME), 10]
Setted type SQL_C_INTERVAL_HOUR_TO_MINUTE -> [111
(SQL_C_INTERVAL_HOUR_TO_MINUTE), 10 (SQL_C_TIME), 11]
Setted type SQL_C_INTERVAL_HOUR_TO_SECOND -> [112
(SQL_C_INTERVAL_HOUR_TO_SECOND), 10 (SQL_C_TIME), 12]
Setted type SQL_C_INTERVAL_MINUTE_TO_SECOND -> [113
(SQL_C_INTERVAL_MINUTE_TO_SECOND), 10 (SQL_C_TIME), 13]
Setted type SQL_C_BINARY -> [-2 (SQL_C_BINARY), -2 (SQL_C_BINARY), 0]
Setted type SQL_C_BIT -> [-7 (SQL_C_BIT), -7 (SQL_C_BIT), 0]
Setted type SQL_C_TINYINT -> [-6 (SQL_C_TINYINT), -6 (SQL_C_TINYINT), 0]
Setted type SQL_C_SLONG -> [-16 (SQL_C_SLONG), -16 (SQL_C_SLONG), 0]
Setted type SQL_C_SSHORT -> [-15 (SQL_C_SSHORT), -15 (SQL_C_SSHORT), 0]
Setted type SQL_C_GUID -> [-11 (SQL_C_GUID), -11 (SQL_C_GUID), 0]
Setted type SQL_BIGINT -> [-5 (SQL_BIGINT), -5 (SQL_BIGINT), 0]
Setted type SQL_VARBINARY -> [-3 (SQL_VARBINARY), -3 (SQL_VARBINARY), 0]
Setted type SQL_LONGVARBINARY -> [-4 (SQL_LONGVARBINARY), -4
(SQL_LONGVARBINARY), 0]
Setted type SQL_VARCHAR -> [12 (SQL_VARCHAR), 12 (SQL_VARCHAR), 0]
Setted type SQL_LONGVARCHAR -> [-1 (SQL_LONGVARCHAR), -1 (SQL_LONGVARCHAR), 0]
Setted type SQL_DECIMAL -> [3 (SQL_DECIMAL), 3 (SQL_DECIMAL), 0]
Setted type SQL_FLOAT -> [6 (SQL_FLOAT), 6 (SQL_FLOAT), 0]
FAIL: type
====================
6 of 20 tests failed
====================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/home/david/work/tmp/freetds/src/odbc/unittests'
make: *** [check-am] Error 2



Archive powered by MHonArc 2.6.24.

Top of Page