Skip to Content.
Sympa Menu

freetds - [freetds] fails: src/ctlib/unittests/t0009.c

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: "'TDS Development Group'" <freetds AT lists.ibiblio.org>
  • Subject: [freetds] fails: src/ctlib/unittests/t0009.c
  • Date: Thu, 12 Dec 2002 15:33:57 -0500

I think we have a problem with computed rows in ct-lib and TDS 8.0.

t0009.c creates a table:

CREATE TABLE #ctlib0009
( col1 int not null
, col2 char(1) not null
, col3 datetime not null
)

inserts some data, and issues a query:

select col1, col2, col3
from #ctlib0009
order by col2
compute sum(col1) by col2
compute max(col3)

I get garbage for the value of "compute max(col3)". You might want to check
yours *before* updating from cvs, in case I broke something.

t0009 was printing the garbage and returning success. I added a test to
compare the results to the expected results, so now it fails.

Tail of log attached

--jkl

<<t>>


The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the
original message. Please note that we do not accept account orders and/or
instructions by e-mail, and therefore will not be responsible for carrying
out such orders and/or instructions.


Attachment: t
Description: Binary data




Archive powered by MHonArc 2.6.24.

Top of Page