Skip to Content.
Sympa Menu

freetds - Re: [freetds] [ freetds-Patches-1095806 ] patches for RC5

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT schemamania.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] [ freetds-Patches-1095806 ] patches for RC5
  • Date: Tue, 4 Jan 2005 23:21:33 -0500

> Patches item #1095806, was opened at 2005-01-04 15:21
...
> Category: db-lib
> Group: None
> Status: Open
> Resolution: None
> Priority: 5
> Submitted By: Bill Thompson (thompbil)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: patches for RC5
>
> Initial Comment:
> here is my patch for RC5 as promised.
>
> This patch fixes the following issues raised with 0.63 RC5
>
> 1) dbsqlok eats too many end tokens
> 2) James' problem with PRINT statements
> 3) a small problem with CHAR/VARCHAR parameters in
> dbrpcparam().

Applied to cvs HEAD, for now. An improvement, clearly, but I'm not sure
it's exactly right.

$ echo " print 'hi' select 'a' as a, 1 as one print 'bye'" | bsqldb -U$U
-P$P -S$S
Msg 5701, Level 10, State 2
Server 'test',
Changed database context to 'master'.

Msg 0, Level 10, State 1
Server 'test', Line 1
hi
@@rowcount not available
a one
- -----------
a 1
1 rows affected
Msg 0, Level 10, State 1
Server 'test', Line 1
bye
@@rowcount not available

Those "@@rowcount not available" indicate that dbnextresults() is still
returning something when the print packet arrives. Does that duplicate
the vendor libraries' behavior?

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page