Skip to Content.
Sympa Menu

freetds - [freetds] [ freetds-Patches-1525782 ] problem in token.c

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "SourceForge.net" <noreply AT sourceforge.net>
  • To: noreply AT sourceforge.net
  • Subject: [freetds] [ freetds-Patches-1525782 ] problem in token.c
  • Date: Thu, 20 Jul 2006 02:00:12 -0700

Patches item #1525782, was opened at 2006-07-20 02:00
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=1525782&group_id=33106

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: application
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: problem in token.c

Initial Comment:
A was attempting to do the following:

(gerlos is a Sybase ASE 12.5 server, ladis is a Sybase
EFTS txtsrv)

$ /usr/pkg/bin/sqsh -S gerlos
sqsh-2.1.4 Copyright (C) 1995-2001 Scott C. Gray
Portions Copyright (C) 2004-2006 Michael Peppler
This is free software with ABSOLUTELY NO WARRANTY
For more information type '\warranty'
[21] gerlos.master.1> ladis...sp_who
[21] gerlos.master.2> go
<output stalls>

Normal output looks like this:

 spid status loginame
hostname blk
cmd
----------- ---------- ------------------------------
------------ ---
----------------
0 runnable NULL
NULL 0
NULL
2 sleeping NULL
NULL 0
CONNECT HANDLER
3 sleeping NULL
NULL 0
DEFERRED HANDLER
108 running BigBrother
gerlos 0
NULL

(4 rows affected)


This is solved by the following patch to token.c:

--- src/tds/token.c.orig 2006-07-20
10:29:03.000000000 +0200
+++ src/tds/token.c
@@ -1682,6 +1682,7 @@ tds5_process_result(TDSSOCKET *
tds)
* server response
*/
for (col = 0; col < info->num_cols; col++) {
+ tds_get_int(tds);
curcol = info->columns[col];

/* label */


regards,

Derkjan de Haan
haanjdj AT xs4all.nl


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=1525782&group_id=33106



  • [freetds] [ freetds-Patches-1525782 ] problem in token.c, SourceForge.net, 07/20/2006

Archive powered by MHonArc 2.6.24.

Top of Page