MSSQL + FreeTDS proper version of TDS

The forum for ZeosLib 7.2 Report problems. Ask for help, post proposals for the new version and Zeoslib 7.2 features here. This is a forum that will be edited once the 7.2.x version goes into RC/stable!!

My personal intention for 7.2 is to speed up the internals as optimal a possible for all IDE's. Hope you can help?! Have fun with testing 7.2
Post Reply
ChrisCross
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: 21.02.2011, 17:03

MSSQL + FreeTDS proper version of TDS

Post by ChrisCross »

Small fix for setting the version after login on MSSQL using FreeTDS.

Code: Select all

 function TZFreeTDSBasePlainDriver.dbLogin: PLOGINREC;
 begin
   Result := inherited dbLogin;
  if not Assigned(Result)  then
if not Assigned(Result) then must be if Assigned(Result).

patch in atachment
You do not have the required permissions to view the files attached to this post.
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Re: MSSQL + FreeTDS proper version of TDS

Post by EgonHugeist »

ME again :D

If i apply the patch.. I've proplems with the GUID values. Any ideas?

Have to track what happens with TDS..
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
ChrisCross
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: 21.02.2011, 17:03

Re: MSSQL + FreeTDS proper version of TDS

Post by ChrisCross »

I also have problems but with nvarchar fields ... an error about utf standard.

Converting nvarchar to varchar column lose the error but i have to investigate/replicate the error.

Hope to give you an example about this issue also.

Activating debug on freetds may help also with your issue. (TDSDUMP or dump file in http://freetds.schemamania.org/userguid ... dsconf.htm )
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Re: MSSQL + FreeTDS proper version of TDS

Post by EgonHugeist »

Strange i do NOT have problems with N(VAR)Char fields.

But i'm using the N'Value' or N:MyParam Syntax. This is a notification for TDS and Zeos which encoding should be used. Could you tests it? Just to be on same bandwidth...
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Re: MSSQL + FreeTDS proper version of TDS

Post by EgonHugeist »

Note i got some more errors, running simultan more than one connection...
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
Post Reply