Skip to Content.
Sympa Menu

freetds - Re: [freetds] TDS and ldap

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] TDS and ldap
  • Date: Wed, 14 Apr 2004 19:32:19 -0400

On Thu, 15 Apr 2004, Nicolas Goy <goyman AT goyman.com> wrote:
> BEGIN TRANSACTION
> 00:00000:00013:2004/04/15 01:00:37.49 server TDS_DYNP, spid 13: command
>
> text:
> create proc w53y006000 as SELECT
> id,name,keytbl,keycol,create_proc,delete_proc,expect_return FROM
> ldap_oc_mappings
> 00:00000:00013:2004/04/15 01:00:37.53 server TDS_LANG, spid 13: command
>
> text:
> IF @@TRANCOUNT > 0 ROLLBACK BEGIN TRANSACTION
>
> the problem is that the line IF @@TRANCOUNT > 0 ROLLBACK BEGIN
> TRANSACTION return -1 and the ldap server think the request failed and
> it stop.
>
> I really need this ldap server to work with the sybase backend, so help
> will be greatly apreciated.

Right. This is an identified problem with 0.62.1. Get 0.62.3 instead.
If you try the unit tests, be advised that odbc/unittest/raiseerror.c
(with 2 e's) fails, but the fault lies in the test, not in the raiserror
handling. See the README, ChangeLog for more details.

You're almost home. :-)

--jkl





Archive powered by MHonArc 2.6.24.

Top of Page