[freetds] freeTDS 6.1 & OpenClient

Shahryar G. Hashemi shahryar at n2h2.com
Fri May 2 14:37:45 EDT 2003


Hi,

We just setup freeTDS 6.1 and everything works great [connectivity to Sybase 
ASE & MS SQL 2000 servers].  However when we attempt to connect to an 
OpenServer server we have the following errors generated:
2003-05-02 11:09:37.483937 inside tds_process_default_tokens() marker is 
e5(EED)
2003-05-02 11:09:37.484129 inside tds_process_default_tokens() marker is 
e2(CAPABILITY)
2003-05-02 11:09:37.484205 inside tds_process_default_tokens() marker is 
fd(DONE)
2003-05-02 11:09:37.484299 inside tds_process_end() more_results = 0, 
was_cancelled = 0 
2003-05-02 11:09:37.484371 inside tds_process_default_tokens() setting state 
to COMPLETED
Sending packet @ 2003-05-02 11:09:37.484469
0000  0f 01 00 1b 00 00 00 00  21 0e 00 00 00 00 73 65   |........ !.....se|
0010  6c 65 63 74 20 40 40 73  70 69 64                  |lect @@s pid|


Received header @ 2003-05-02 11:09:37.486255
0000  0f 01 00 3f 00 00 01 00                            |...?....|


Received packet @ 2003-05-02 11:09:37.486377
0000  e5 2b 00 b3 15 00 00 00  00 00 00 00 00 16 00 70   |.+...... .......p|
0010  61 72 73 65 20 65 72 72  6f 72 20 61 74 20 6c 69   |arse err or at li|
0020  6e 65 20 31 0a 05 4e 43  4f 4d 53 00 00 00 fd 10   |ne 1..NC OMS.....|
0030  00 02 00 00 00 00 00                               |.......|


2003-05-02 11:09:37.486560 processing result tokens.  marker is  e5(EED)
2003-05-02 11:09:37.486632 inside tds_process_default_tokens() marker is 
e5(EED)
2003-05-02 11:09:37.486746 processing result tokens.  marker is  fd(DONE)
2003-05-02 11:09:37.486815 inside tds_process_end() more_results = 0, 
was_cancelled = 0 

The server in question does not have any @@ variables [it was built off of 
OpenClient/C and they never included hangling of @@ variables].  How do I turn 
this off so that this check doesn't happen?  I have used TDS version 4.2 -> 
5.0.

Any help would be greatly appreciated.

Shahryar

-- 
Shahryar Ghazneini Hashemi        | Cell Phone:      +1 206 604-7852
DBA - Operations Group            | Telephone:       +1 206 834-1739
N2H2 Inc.                         | Pager:           +1 206 609-6154
900 4th Avenue  Suite #3600       | FAX:             +1 206 336-2971
Seattle, WA  98164    U.S.A.      | E-MAIL:          shahryar at n2h2.com 
==============================================================================



More information about the FreeTDS mailing list