Failing test of 0.91rc2 on Solaris

Dagobert Michelsen <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Hi,

I get a couple of failing tests on Solaris 9 Sparc with Sun Studio 12 of 0.91rc2.
Please let me know if you need more traces.


Best regards

  -- Dago


current9s% gmake check
Making check in include
gmake[1]: Entering directory `/home/dam/mgar/pkg/freetds/trunk/work/solaris9-sparc/build-isa-sparcv8/freetds-0.91RC2/include'
gmake[1]: Leaving directory `/home/dam/mgar/pkg/freetds/trunk/work/solaris9-sparc/build-isa-sparcv8/freetds-0.91RC2/include'
Making check in src
gmake[1]: Entering directory `/home/dam/mgar/pkg/freetds/trunk/work/solaris9-sparc/build-isa-sparcv8/freetds-0.91RC2/src'
Making check in replacements
gmake[2]: Entering directory `/home/dam/mgar/pkg/freetds/trunk/work/solaris9-sparc/build-isa-sparcv8/freetds-0.91RC2/src/replacements'
gmake[2]: Nothing to be done for `check'.
gmake[2]: Leaving directory `/home/dam/mgar/pkg/freetds/trunk/work/solaris9-sparc/build-isa-sparcv8/freetds-0.91RC2/src/replacements'
Making check in tds
gmake[2]: Entering directory `/home/dam/mgar/pkg/freetds/trunk/work/solaris9-sparc/build-isa-sparcv8/freetds-0.91RC2/src/tds'
gmake  check-recursive
gmake[3]: Entering directory `/home/dam/mgar/pkg/freetds/trunk/work/solaris9-sparc/build-isa-sparcv8/freetds-0.91RC2/src/tds'
Making check in unittests
gmake[4]: Entering directory `/home/dam/mgar/pkg/freetds/trunk/work/solaris9-sparc/build-isa-sparcv8/freetds-0.91RC2/src/tds/unittests'
gmake  t0001 t0002 t0003 t0004 t0005 t0006 t0007 t0008 dynamic1 convert dataread utf8_1 utf8_2 utf8_3 numeric iconv_fread toodynamic
gmake[5]: Entering directory `/home/dam/mgar/pkg/freetds/trunk/work/solaris9-sparc/build-isa-sparcv8/freetds-0.91RC2/src/tds/unittests'
gmake[5]: `t0001' is up to date.
gmake[5]: `t0002' is up to date.
gmake[5]: `t0003' is up to date.
gmake[5]: `t0004' is up to date.
gmake[5]: `t0005' is up to date.
gmake[5]: `t0006' is up to date.
gmake[5]: `t0007' is up to date.
gmake[5]: `t0008' is up to date.
gmake[5]: `dynamic1' is up to date.
gmake[5]: `convert' is up to date.
gmake[5]: `dataread' is up to date.
gmake[5]: `utf8_1' is up to date.
gmake[5]: `utf8_2' is up to date.
gmake[5]: `utf8_3' is up to date.
gmake[5]: `numeric' is up to date.
gmake[5]: `iconv_fread' is up to date.
gmake[5]: `toodynamic' is up to date.
gmake[5]: Leaving directory `/home/dam/mgar/pkg/freetds/trunk/work/solaris9-sparc/build-isa-sparcv8/freetds-0.91RC2/src/tds/unittests'
gmake  check-TESTS
gmake[5]: Entering directory `/home/dam/mgar/pkg/freetds/trunk/work/solaris9-sparc/build-isa-sparcv8/freetds-0.91RC2/src/tds/unittests'
t0001.c: Testing login, logout
tds_connect_and_login() failed
try_tds_login() failed
FAIL: t0001
t0002.c: Test basic submit query, results
tds_connect_and_login() failed
try_tds_login() failed
FAIL: t0002
t0003.c: Testing DB change -- 'use tempdb'
tds_connect_and_login() failed
try_tds_login() failed
FAIL: t0003
t0004.c: Test large (>512 bytes) queries
tds_connect_and_login() failed
try_tds_login() failed
FAIL: t0004
t0005.c: Test large (>512 bytes) replies
tds_connect_and_login() failed
try_tds_login() failed
FAIL: t0005
t0006.c: Test SYBREAL, SYBFLT8 values
tds_connect_and_login() failed
try_tds_login() failed
FAIL: t0006
some checks...
1234
123
-1234
error
0
0
123
123
123
error
error
error
error
error
error
error
error
0xfffffffffffffb2e
error
error
0x0000000000000000
0x0000000000000000
0x000000000000007b
0x000000000000007b
0x000000000000007b
error
error
error
error
error
error
error
error
overflow checks...
0x7fffffffffffffff
error
0x8000000000000000
error
2147483647
error
-2147483648
error
32767
error
-32768
error
255
error
0
error
overflow on big number checks...
error
error
error
error
error
error
error
error
12
0x00000000000004d2
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
38716 0
38716 0
38414 0
37022 0
38717 0
38717 0
38717 0
38717 0
38717 0
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
dynamic1.c: Test dynamic queries
tds_connect_and_login() failed
try_tds_login() failed
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).
converted 39 (varchar, 6 bytes) : 45 (binary, 2 bytes).
        0 iterations/second converting       varchar => binary.
converted 39 (varchar, 1 bytes) : 37 (varbinary, 1 bytes).
converted 39 (varchar, 6 bytes) : 34 (image, 2 bytes).
converted 39 (varchar, 3 bytes) : 48 (tinyint, 1 bytes).
converted 39 (varchar, 3 bytes) : 52 (smallint, 2 bytes).
        0 iterations/second converting       varchar => smallint.
converted 39 (varchar, 3 bytes) : 56 (int, 4 bytes).
converted 39 (varchar, 3 bytes) : 127 (bigint, 8 bytes).
        0 iterations/second converting       varchar => bigint.
converted 39 (varchar, 7 bytes) : 62 (float, 8 bytes).
converted 39 (varchar, 7 bytes) : 59 (real, 4 bytes).
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).
converted 39 (varchar, 7 bytes) : 60 (money, 8 bytes).
        0 iterations/second converting       varchar => money.
converted 39 (varchar, 7 bytes) : 122 (smallmoney, 4 bytes).
converted 39 (varchar, 12 bytes) : 61 (datetime, 8 bytes).
converted 39 (varchar, 12 bytes) : 58 (smalldatetime, 4 bytes).
converted 39 (varchar, 1 bytes) : 104 (bit-null, 1 bytes).
        0 iterations/second converting       varchar => bit-null.
converted 39 (varchar, 36 bytes) : 36 (uniqueidentifier, 16 bytes).
        0 iterations/second converting       varchar => uniqueidentifier.
converted 47 (char, 12 bytes) : 39 (varchar, 12 bytes).
converted 47 (char, 12 bytes) : 35 (text, 12 bytes).
converted 47 (char, 6 bytes) : 45 (binary, 2 bytes).
converted 47 (char, 1 bytes) : 37 (varbinary, 1 bytes).
        0 iterations/second converting          char => varbinary.
converted 47 (char, 6 bytes) : 34 (image, 2 bytes).
        0 iterations/second converting          char => image.
converted 47 (char, 3 bytes) : 48 (tinyint, 1 bytes).
converted 47 (char, 3 bytes) : 52 (smallint, 2 bytes).
        0 iterations/second converting          char => smallint.
converted 47 (char, 3 bytes) : 56 (int, 4 bytes).
converted 47 (char, 3 bytes) : 127 (bigint, 8 bytes).
converted 47 (char, 7 bytes) : 62 (float, 8 bytes).
converted 47 (char, 7 bytes) : 59 (real, 4 bytes).
converted 47 (char, 7 bytes) : 108 (numeric, 35 bytes).
        0 iterations/second converting          char => numeric.
converted 47 (char, 7 bytes) : 106 (decimal, 35 bytes).
converted 47 (char, 1 bytes) : 50 (bit, 1 bytes).
converted 47 (char, 7 bytes) : 60 (money, 8 bytes).
converted 47 (char, 7 bytes) : 122 (smallmoney, 4 bytes).
converted 47 (char, 12 bytes) : 61 (datetime, 8 bytes).
converted 47 (char, 12 bytes) : 58 (smalldatetime, 4 bytes).
converted 47 (char, 1 bytes) : 104 (bit-null, 1 bytes).
converted 47 (char, 36 bytes) : 36 (uniqueidentifier, 16 bytes).
        0 iterations/second converting          char => uniqueidentifier.
converted 35 (text, 12 bytes) : 39 (varchar, 12 bytes).
converted 35 (text, 12 bytes) : 47 (char, 12 bytes).
converted 35 (text, 6 bytes) : 45 (binary, 2 bytes).
converted 35 (text, 1 bytes) : 37 (varbinary, 1 bytes).
        0 iterations/second converting          text => varbinary.
converted 35 (text, 6 bytes) : 34 (image, 2 bytes).
converted 35 (text, 3 bytes) : 48 (tinyint, 1 bytes).
converted 35 (text, 3 bytes) : 52 (smallint, 2 bytes).
converted 35 (text, 3 bytes) : 56 (int, 4 bytes).
        0 iterations/second converting          text => int.
converted 35 (text, 3 bytes) : 127 (bigint, 8 bytes).
        0 iterations/second converting          text => bigint.
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).
converted 35 (text, 1 bytes) : 50 (bit, 1 bytes).
converted 35 (text, 7 bytes) : 60 (money, 8 bytes).
converted 35 (text, 7 bytes) : 122 (smallmoney, 4 bytes).
        0 iterations/second converting          text => smallmoney.
converted 35 (text, 12 bytes) : 61 (datetime, 8 bytes).
converted 35 (text, 12 bytes) : 58 (smalldatetime, 4 bytes).
converted 35 (text, 1 bytes) : 104 (bit-null, 1 bytes).
        0 iterations/second converting          text => bit-null.
converted 35 (text, 36 bytes) : 36 (uniqueidentifier, 16 bytes).
        0 iterations/second converting          text => uniqueidentifier.
converted 45 (binary, 12 bytes) : 39 (varchar, 24 bytes).
converted 45 (binary, 12 bytes) : 47 (char, 24 bytes).
converted 45 (binary, 12 bytes) : 35 (text, 24 bytes).
converted 45 (binary, 1 bytes) : 37 (varbinary, 1 bytes).
converted 45 (binary, 6 bytes) : 34 (image, 6 bytes).
converted 45 (binary, 3 bytes) : 48 (tinyint, 1 bytes).
converted 45 (binary, 3 bytes) : 52 (smallint, 2 bytes).
converted 45 (binary, 3 bytes) : 56 (int, 4 bytes).
converted 45 (binary, 3 bytes) : 127 (bigint, 8 bytes).
        0 iterations/second converting        binary => bigint.
converted 45 (binary, 7 bytes) : 62 (float, 8 bytes).
converted 45 (binary, 7 bytes) : 59 (real, 4 bytes).
Conversion not yet implemented:
        failed (-2) to convert 45 (binary, 7 bytes) : 108 (numeric).
converted 45 (binary, 7 bytes) : 108 (numeric, -2 bytes).
Conversion not yet implemented:
        failed (-2) to convert 45 (binary, 7 bytes) : 106 (decimal).
converted 45 (binary, 7 bytes) : 106 (decimal, -2 bytes).
        0 iterations/second converting        binary => decimal.
Conversion not yet implemented:
        failed (-2) to convert 45 (binary, 1 bytes) : 50 (bit).
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).
converted 37 (varbinary, 12 bytes) : 39 (varchar, 24 bytes).
        0 iterations/second converting     varbinary => varchar.
converted 37 (varbinary, 12 bytes) : 47 (char, 24 bytes).
converted 37 (varbinary, 12 bytes) : 35 (text, 24 bytes).
converted 37 (varbinary, 6 bytes) : 45 (binary, 6 bytes).
        0 iterations/second converting     varbinary => binary.
converted 37 (varbinary, 6 bytes) : 34 (image, 6 bytes).
converted 37 (varbinary, 3 bytes) : 48 (tinyint, 1 bytes).
converted 37 (varbinary, 3 bytes) : 52 (smallint, 2 bytes).
converted 37 (varbinary, 3 bytes) : 56 (int, 4 bytes).
converted 37 (varbinary, 3 bytes) : 127 (bigint, 8 bytes).
        0 iterations/second converting     varbinary => bigint.
converted 37 (varbinary, 7 bytes) : 62 (float, 8 bytes).
        0 iterations/second converting     varbinary => float.
converted 37 (varbinary, 7 bytes) : 59 (real, 4 bytes).
Conversion not yet implemented:
        failed (-2) to convert 37 (varbinary, 7 bytes) : 108 (numeric).
converted 37 (varbinary, 7 bytes) : 108 (numeric, -2 bytes).
Conversion not yet implemented:
        failed (-2) to convert 37 (varbinary, 7 bytes) : 106 (decimal).
converted 37 (varbinary, 7 bytes) : 106 (decimal, -2 bytes).
        0 iterations/second converting     varbinary => decimal.
Conversion not yet implemented:
        failed (-2) to convert 37 (varbinary, 1 bytes) : 50 (bit).
converted 37 (varbinary, 1 bytes) : 50 (bit, -2 bytes).
        0 iterations/second converting     varbinary => bit.
converted 37 (varbinary, 7 bytes) : 60 (money, 8 bytes).
converted 37 (varbinary, 7 bytes) : 122 (smallmoney, 4 bytes).
converted 34 (image, 12 bytes) : 39 (varchar, 24 bytes).
converted 34 (image, 12 bytes) : 47 (char, 24 bytes).
        0 iterations/second converting         image => char.
converted 34 (image, 12 bytes) : 35 (text, 24 bytes).
converted 34 (image, 6 bytes) : 45 (binary, 6 bytes).
converted 34 (image, 1 bytes) : 37 (varbinary, 1 bytes).
converted 34 (image, 3 bytes) : 48 (tinyint, 1 bytes).
converted 34 (image, 3 bytes) : 52 (smallint, 2 bytes).
converted 34 (image, 3 bytes) : 56 (int, 4 bytes).
converted 34 (image, 3 bytes) : 127 (bigint, 8 bytes).
converted 34 (image, 7 bytes) : 62 (float, 8 bytes).
        0 iterations/second converting         image => float.
converted 34 (image, 7 bytes) : 59 (real, 4 bytes).
Conversion not yet implemented:
        failed (-2) to convert 34 (image, 7 bytes) : 108 (numeric).
converted 34 (image, 7 bytes) : 108 (numeric, -2 bytes).
Conversion not yet implemented:
        failed (-2) to convert 34 (image, 7 bytes) : 106 (decimal).
converted 34 (image, 7 bytes) : 106 (decimal, -2 bytes).
        0 iterations/second converting         image => decimal.
Conversion not yet implemented:
        failed (-2) to convert 34 (image, 1 bytes) : 50 (bit).
converted 34 (image, 1 bytes) : 50 (bit, -2 bytes).
converted 34 (image, 7 bytes) : 60 (money, 8 bytes).
converted 34 (image, 7 bytes) : 122 (smallmoney, 4 bytes).
converted 48 (tinyint, 1 bytes) : 39 (varchar, 2 bytes).
converted 48 (tinyint, 1 bytes) : 47 (char, 2 bytes).
converted 48 (tinyint, 1 bytes) : 35 (text, 2 bytes).
converted 48 (tinyint, 1 bytes) : 45 (binary, 1 bytes).
        0 iterations/second converting       tinyint => binary.
converted 48 (tinyint, 1 bytes) : 37 (varbinary, 1 bytes).
        0 iterations/second converting       tinyint => varbinary.
converted 48 (tinyint, 1 bytes) : 34 (image, 1 bytes).
converted 48 (tinyint, 1 bytes) : 52 (smallint, 2 bytes).
        0 iterations/second converting       tinyint => smallint.
converted 48 (tinyint, 1 bytes) : 56 (int, 4 bytes).
converted 48 (tinyint, 1 bytes) : 127 (bigint, 8 bytes).
converted 48 (tinyint, 1 bytes) : 62 (float, 8 bytes).
converted 48 (tinyint, 1 bytes) : 59 (real, 4 bytes).
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).
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, 2 bytes).
        0 iterations/second converting      smallint => varchar.
converted 52 (smallint, 2 bytes) : 47 (char, 2 bytes).
        0 iterations/second converting      smallint => char.
converted 52 (smallint, 2 bytes) : 35 (text, 2 bytes).
converted 52 (smallint, 2 bytes) : 45 (binary, 2 bytes).
        0 iterations/second converting      smallint => binary.
converted 52 (smallint, 2 bytes) : 37 (varbinary, 2 bytes).
converted 52 (smallint, 2 bytes) : 34 (image, 2 bytes).
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 (bigint, 8 bytes).
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).
converted 52 (smallint, 2 bytes) : 50 (bit, 1 bytes).
converted 52 (smallint, 2 bytes) : 60 (money, 8 bytes).
converted 52 (smallint, 2 bytes) : 122 (smallmoney, 4 bytes).
        0 iterations/second converting      smallint => smallmoney.
converted 56 (int, 4 bytes) : 39 (varchar, 2 bytes).
        0 iterations/second converting           int => varchar.
converted 56 (int, 4 bytes) : 47 (char, 2 bytes).
        0 iterations/second converting           int => char.
converted 56 (int, 4 bytes) : 35 (text, 2 bytes).
converted 56 (int, 4 bytes) : 45 (binary, 4 bytes).
        0 iterations/second converting           int => binary.
converted 56 (int, 4 bytes) : 37 (varbinary, 4 bytes).
converted 56 (int, 4 bytes) : 34 (image, 4 bytes).
        0 iterations/second converting           int => image.
converted 56 (int, 4 bytes) : 48 (tinyint, 1 bytes).
converted 56 (int, 4 bytes) : 52 (smallint, 2 bytes).
        0 iterations/second converting           int => smallint.
converted 56 (int, 4 bytes) : 127 (bigint, 8 bytes).
        0 iterations/second converting           int => bigint.
converted 56 (int, 4 bytes) : 62 (float, 8 bytes).
        0 iterations/second converting           int => float.
converted 56 (int, 4 bytes) : 59 (real, 4 bytes).
converted 56 (int, 4 bytes) : 108 (numeric, 35 bytes).
        0 iterations/second converting           int => numeric.
converted 56 (int, 4 bytes) : 106 (decimal, 35 bytes).
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 (bigint, 8 bytes) : 39 (varchar, 2 bytes).
converted 127 (bigint, 8 bytes) : 47 (char, 2 bytes).
        0 iterations/second converting        bigint => char.
converted 127 (bigint, 8 bytes) : 35 (text, 2 bytes).
converted 127 (bigint, 8 bytes) : 45 (binary, 8 bytes).
        0 iterations/second converting        bigint => binary.
converted 127 (bigint, 8 bytes) : 37 (varbinary, 8 bytes).
        0 iterations/second converting        bigint => varbinary.
converted 127 (bigint, 8 bytes) : 34 (image, 8 bytes).
        0 iterations/second converting        bigint => image.
converted 127 (bigint, 8 bytes) : 48 (tinyint, 1 bytes).
converted 127 (bigint, 8 bytes) : 52 (smallint, 2 bytes).
converted 127 (bigint, 8 bytes) : 56 (int, 4 bytes).
converted 127 (bigint, 8 bytes) : 62 (float, 8 bytes).
        0 iterations/second converting        bigint => float.
converted 127 (bigint, 8 bytes) : 59 (real, 4 bytes).
converted 127 (bigint, 8 bytes) : 108 (numeric, 35 bytes).
converted 127 (bigint, 8 bytes) : 106 (decimal, 35 bytes).
converted 127 (bigint, 8 bytes) : 50 (bit, 1 bytes).
        0 iterations/second converting        bigint => bit.
converted 127 (bigint, 8 bytes) : 60 (money, 8 bytes).
        0 iterations/second converting        bigint => money.
converted 127 (bigint, 8 bytes) : 122 (smallmoney, 4 bytes).
converted 62 (float, 8 bytes) : 39 (varchar, 7 bytes).
converted 62 (float, 8 bytes) : 47 (char, 7 bytes).
converted 62 (float, 8 bytes) : 35 (text, 7 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) : 37 (varbinary, 8 bytes).
converted 62 (float, 8 bytes) : 34 (image, 8 bytes).
converted 62 (float, 8 bytes) : 48 (tinyint, 1 bytes).
        0 iterations/second converting         float => tinyint.
converted 62 (float, 8 bytes) : 52 (smallint, 2 bytes).
converted 62 (float, 8 bytes) : 56 (int, 4 bytes).
converted 62 (float, 8 bytes) : 127 (bigint, 8 bytes).
        0 iterations/second converting         float => bigint.
converted 62 (float, 8 bytes) : 59 (real, 4 bytes).
converted 62 (float, 8 bytes) : 108 (numeric, 35 bytes).
converted 62 (float, 8 bytes) : 106 (decimal, 35 bytes).
        0 iterations/second converting         float => decimal.
converted 62 (float, 8 bytes) : 50 (bit, 1 bytes).
converted 62 (float, 8 bytes) : 60 (money, 8 bytes).
converted 62 (float, 8 bytes) : 122 (smallmoney, 4 bytes).
converted 59 (real, 4 bytes) : 39 (varchar, 7 bytes).
converted 59 (real, 4 bytes) : 47 (char, 7 bytes).
converted 59 (real, 4 bytes) : 35 (text, 7 bytes).
converted 59 (real, 4 bytes) : 45 (binary, 4 bytes).
converted 59 (real, 4 bytes) : 37 (varbinary, 4 bytes).
converted 59 (real, 4 bytes) : 34 (image, 4 bytes).
        0 iterations/second converting          real => image.
converted 59 (real, 4 bytes) : 48 (tinyint, 1 bytes).
converted 59 (real, 4 bytes) : 52 (smallint, 2 bytes).
converted 59 (real, 4 bytes) : 56 (int, 4 bytes).
converted 59 (real, 4 bytes) : 127 (bigint, 8 bytes).
        0 iterations/second converting          real => bigint.
converted 59 (real, 4 bytes) : 62 (float, 8 bytes).
converted 59 (real, 4 bytes) : 108 (numeric, 35 bytes).
converted 59 (real, 4 bytes) : 106 (decimal, 35 bytes).
        0 iterations/second converting          real => decimal.
converted 59 (real, 4 bytes) : 50 (bit, 1 bytes).
converted 59 (real, 4 bytes) : 60 (money, 8 bytes).
converted 59 (real, 4 bytes) : 122 (smallmoney, 4 bytes).
converted 108 (numeric, 35 bytes) : 39 (varchar, 4 bytes).
converted 108 (numeric, 35 bytes) : 47 (char, 4 bytes).
        0 iterations/second converting       numeric => char.
converted 108 (numeric, 35 bytes) : 35 (text, 4 bytes).
converted 108 (numeric, 35 bytes) : 45 (binary, 35 bytes).
converted 108 (numeric, 35 bytes) : 37 (varbinary, 35 bytes).
        0 iterations/second converting       numeric => varbinary.
converted 108 (numeric, 35 bytes) : 34 (image, 35 bytes).
        0 iterations/second converting       numeric => image.
converted 108 (numeric, 35 bytes) : 48 (tinyint, 1 bytes).
converted 108 (numeric, 35 bytes) : 52 (smallint, 2 bytes).
converted 108 (numeric, 35 bytes) : 56 (int, 4 bytes).
converted 108 (numeric, 35 bytes) : 127 (bigint, 8 bytes).
        0 iterations/second converting       numeric => bigint.
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).
Conversion not yet implemented:
        failed (-2) to convert 108 (numeric, 35 bytes) : 60 (money).
converted 108 (numeric, 35 bytes) : 60 (money, -2 bytes).
Conversion not yet implemented:
        failed (-2) to convert 108 (numeric, 35 bytes) : 122 (smallmoney).
converted 108 (numeric, 35 bytes) : 122 (smallmoney, -2 bytes).
        0 iterations/second converting       numeric => smallmoney.
converted 106 (decimal, 35 bytes) : 39 (varchar, 4 bytes).
converted 106 (decimal, 35 bytes) : 47 (char, 4 bytes).
converted 106 (decimal, 35 bytes) : 35 (text, 4 bytes).
        0 iterations/second converting       decimal => text.
converted 106 (decimal, 35 bytes) : 45 (binary, 35 bytes).
converted 106 (decimal, 35 bytes) : 37 (varbinary, 35 bytes).
converted 106 (decimal, 35 bytes) : 34 (image, 35 bytes).
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).
converted 106 (decimal, 35 bytes) : 127 (bigint, 8 bytes).
        0 iterations/second converting       decimal => bigint.
converted 106 (decimal, 35 bytes) : 62 (float, 8 bytes).
converted 106 (decimal, 35 bytes) : 59 (real, 4 bytes).
converted 106 (decimal, 35 bytes) : 108 (numeric, 35 bytes).
        0 iterations/second converting       decimal => numeric.
converted 106 (decimal, 35 bytes) : 50 (bit, 1 bytes).
Conversion not yet implemented:
        failed (-2) to convert 106 (decimal, 35 bytes) : 60 (money).
converted 106 (decimal, 35 bytes) : 60 (money, -2 bytes).
Conversion not yet implemented:
        failed (-2) to convert 106 (decimal, 35 bytes) : 122 (smallmoney).
converted 106 (decimal, 35 bytes) : 122 (smallmoney, -2 bytes).
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).
converted 50 (bit, 4 bytes) : 45 (binary, 1 bytes).
converted 50 (bit, 4 bytes) : 37 (varbinary, 1 bytes).
        0 iterations/second converting           bit => varbinary.
converted 50 (bit, 4 bytes) : 34 (image, 1 bytes).
converted 50 (bit, 4 bytes) : 48 (tinyint, 1 bytes).
        0 iterations/second converting           bit => tinyint.
converted 50 (bit, 4 bytes) : 52 (smallint, 2 bytes).
converted 50 (bit, 4 bytes) : 56 (int, 4 bytes).
        0 iterations/second converting           bit => int.
converted 50 (bit, 4 bytes) : 127 (bigint, 8 bytes).
        0 iterations/second converting           bit => bigint.
converted 50 (bit, 4 bytes) : 62 (float, 8 bytes).
converted 50 (bit, 4 bytes) : 59 (real, 4 bytes).
converted 50 (bit, 4 bytes) : 108 (numeric, 35 bytes).
        0 iterations/second converting           bit => numeric.
converted 50 (bit, 4 bytes) : 106 (decimal, 35 bytes).
converted 50 (bit, 4 bytes) : 60 (money, 8 bytes).
converted 50 (bit, 4 bytes) : 122 (smallmoney, 4 bytes).
converted 60 (money, 8 bytes) : 39 (varchar, 4 bytes).
        0 iterations/second converting         money => varchar.
converted 60 (money, 8 bytes) : 47 (char, 4 bytes).
        0 iterations/second converting         money => char.
converted 60 (money, 8 bytes) : 35 (text, 4 bytes).
        0 iterations/second converting         money => text.
converted 60 (money, 8 bytes) : 45 (binary, 8 bytes).
converted 60 (money, 8 bytes) : 37 (varbinary, 8 bytes).
        0 iterations/second converting         money => varbinary.
converted 60 (money, 8 bytes) : 34 (image, 8 bytes).
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).
converted 60 (money, 8 bytes) : 127 (bigint, 8 bytes).
converted 60 (money, 8 bytes) : 62 (float, 8 bytes).
converted 60 (money, 8 bytes) : 59 (real, 4 bytes).
converted 60 (money, 8 bytes) : 108 (numeric, 35 bytes).
converted 60 (money, 8 bytes) : 106 (decimal, 35 bytes).
converted 60 (money, 8 bytes) : 50 (bit, 1 bytes).
        0 iterations/second converting         money => bit.
converted 60 (money, 8 bytes) : 122 (smallmoney, 4 bytes).
converted 122 (smallmoney, 4 bytes) : 39 (varchar, 4 bytes).
        0 iterations/second converting    smallmoney => varchar.
converted 122 (smallmoney, 4 bytes) : 47 (char, 4 bytes).
converted 122 (smallmoney, 4 bytes) : 35 (text, 4 bytes).
converted 122 (smallmoney, 4 bytes) : 45 (binary, 4 bytes).
        0 iterations/second converting    smallmoney => binary.
converted 122 (smallmoney, 4 bytes) : 37 (varbinary, 4 bytes).
        0 iterations/second converting    smallmoney => varbinary.
converted 122 (smallmoney, 4 bytes) : 34 (image, 4 bytes).
converted 122 (smallmoney, 4 bytes) : 48 (tinyint, 1 bytes).
converted 122 (smallmoney, 4 bytes) : 52 (smallint, 2 bytes).
converted 122 (smallmoney, 4 bytes) : 56 (int, 4 bytes).
        0 iterations/second converting    smallmoney => int.
converted 122 (smallmoney, 4 bytes) : 127 (bigint, 8 bytes).
converted 122 (smallmoney, 4 bytes) : 62 (float, 8 bytes).
        0 iterations/second converting    smallmoney => float.
converted 122 (smallmoney, 4 bytes) : 59 (real, 4 bytes).
converted 122 (smallmoney, 4 bytes) : 108 (numeric, 35 bytes).
converted 122 (smallmoney, 4 bytes) : 106 (decimal, 35 bytes).
converted 122 (smallmoney, 4 bytes) : 50 (bit, 1 bytes).
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).
converted 61 (datetime, 8 bytes) : 35 (text, 19 bytes).
converted 61 (datetime, 8 bytes) : 45 (binary, 8 bytes).
converted 61 (datetime, 8 bytes) : 37 (varbinary, 8 bytes).
        0 iterations/second converting      datetime => varbinary.
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) : 37 (varbinary, 4 bytes).
converted 58 (smalldatetime, 4 bytes) : 34 (image, 4 bytes).
converted 58 (smalldatetime, 4 bytes) : 61 (datetime, 8 bytes).
        0 iterations/second converting smalldatetime => datetime.
converted 104 (bit-null, 4 bytes) : 39 (varchar, 1 bytes).
converted 104 (bit-null, 4 bytes) : 47 (char, 1 bytes).
converted 104 (bit-null, 4 bytes) : 35 (text, 1 bytes).
converted 36 (uniqueidentifier, 16 bytes) : 39 (varchar, 36 bytes).
converted 36 (uniqueidentifier, 16 bytes) : 47 (char, 36 bytes).
converted 36 (uniqueidentifier, 16 bytes) : 35 (text, 36 bytes).
PASS: convert
dataread.c: Testing conversion from server
tds_connect_and_login() failed
try_tds_login() failed
FAIL: dataread
tds_connect_and_login() failed
try_tds_login() failed
FAIL: utf8_1
tds_connect_and_login() failed
try_tds_login() failed
FAIL: utf8_2
tds_connect_and_login() failed
try_tds_login() failed
FAIL: utf8_3
1234 -> 1234.00 ok!
1234.1234 -> 1234.123 ok!
1234.1234 -> 1234.123400000000 ok!
1234 -> 1234.000 ok!
1234.1234 -> 1234.1234 ok!
1234.1234 -> 1234.1234000000000 ok!
1234 -> 1234.0000 ok!
1234.1234 -> 1234.12340 ok!
1234.1234 -> 1234.12340000000000 ok!
1234 -> 1234.00000 ok!
1234.1234 -> 1234.123400 ok!
1234.1234 -> 1234.123400000000000 ok!
1234 -> 1234.000000 ok!
1234.1234 -> 1234.1234000 ok!
1234.1234 -> 1234.1234000000000000 ok!
1234 -> 1234.0000000 ok!
1234.1234 -> 1234.12340000 ok!
1234.1234 -> 1234.12340000000000000 ok!
1234 -> 1234.00000000 ok!
1234.1234 -> 1234.123400000 ok!
1234.1234 -> 1234.123400000000000000 ok!
1234 -> 1234.000000000 ok!
1234.1234 -> 1234.1234000000 ok!
1234.1234 -> 1234.1234000000000000000 ok!
1234 -> 1234.0000000000 ok!
1234.1234 -> 1234.12340000000 ok!
1234.1234 -> 1234.12340000000000000000 ok!
1234 -> 1234.00000000000 ok!
1234.1234 -> 1234.123400000000 ok!
1234.1234 -> 1234.123400000000000000000 ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> error ok!
1234 -> 1234 ok!
1234.765 -> 1234.76 ok!
765432.2 -> 765432.20 ok!
765432.2 -> 765432.20 ok!
765432.2 -> error ok!
10000000000000000000000000 -> error ok!
1000000000000000000 -> error ok!
10000000000000000 -> 10000000000000000 ok!
10000000000000000 -> error ok!
All passed!
PASS: numeric
res 0 out_len 511
res 0 out_len 510
res 0 out_len 509
res 0 out_len 508
res 0 out_len 507
res 0 out_len 506
res 0 out_len 505
res 0 out_len 504
res 0 out_len 503
res 0 out_len 502
res 0 out_len 501
res 0 out_len 500
res 0 out_len 499
res 0 out_len 498
res 0 out_len 497
res 0 out_len 496
res 0 out_len 495
res 0 out_len 494
res 0 out_len 493
res 0 out_len 492
res 0 out_len 491
res 0 out_len 490
res 0 out_len 489
res 0 out_len 488
res 0 out_len 487
res 0 out_len 486
res 0 out_len 485
res 0 out_len 484
res 0 out_len 483
res 0 out_len 482
res 0 out_len 481
res 0 out_len 480
PASS: iconv_fread
toodynamic.c: Test creating a lot of dynamic queries
tds_connect_and_login() failed
try_tds_login() failed
FAIL: toodynamic
=====================
12 of 17 tests failed
=====================
gmake[5]: *** [check-TESTS] Error 1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.