Skip to Content.
Sympa Menu

freetds - Re: t0009 test failed.

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Tom Coleman" <tcoleman AT autowares.com>
  • To: freetds
  • Subject: Re: t0009 test failed.
  • Date: Fri, 12 May 2000 15:50:53



Just because t0009 "works" with SQL Server doesn't necessarily mean that
the test code is correct.

CHAR and VARCHAR are different types.

strcmp() will never correctly equate a properly-created three-character
varchar field with a six-character space-padded field.

Sybase creates the varchar field correctly, and the test fails.

Ambiguous tests don't prove anything.






  • Re: t0009 test failed., Tom Coleman, 05/12/2000

Archive powered by MHonArc 2.6.24.

Top of Page