freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Tom Coleman" <tcoleman AT autowares.com>
- To: freetds
- Subject: t0009 test failed.
- Date: Fri, 14 Apr 2000 16:44:42
The code is wrong.
"create table" creates a "varchar" (variable length) field.
The "strcmp" functions test for fixed length strings.
The test will work if you change the "create table" statement to use
a "char" field instead of a "varchar".
... "create table dblib0009 (i int not null, s char(10) not null)"...
Or you can leave the varchar and delete the trailing spaces from
the strcmp() functions:
...strcmp("abcdef", teststr)...
...strcmp("abc", teststr)...
-
t0009 test failed.,
Michel, 04/13/2000
- <Possible follow-up(s)>
- t0009 test failed., Tom Coleman, 04/14/2000
- Re: t0009 test failed., Craig Spannring, 04/24/2000
Archive powered by MHonArc 2.6.24.