t0009 test failed.
Tom Coleman
tcoleman at autowares.com
Fri Apr 14 16:44:42 EDT 2000
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)...
More information about the FreeTDS
mailing list