freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Lowden, James K" <LowdenJK AT bernstein.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] Exececute procedure returns errors
- Date: Tue, 27 Jul 2004 16:14:09 -0400
> From: David Keith
> Sent: Tuesday, July 27, 2004 2:59 PM
>
> With the threaded datamodule and the standard AstaIO
> data/metadata
> events, ODBC Express implicitly begins/commits/rolls back/ends
> transactions. With the <child> datamodule, I have to explicitly start
> the transaction, execute the transaction, commit the transaction, end
> the transaction and, in the case of an exception, rollback the
> transaction.
If I understand your log correctly, no amount of SQL changes will solve
the problem, because it doesn't lie in the server. The "Attempt to
initiate a new SQL Server operation with results pending" message is
issued by FreeTDS when the application tries to start something new
before fetching/cancelling all the results of an outstanding query.
> I did not use any command-line switches with the logging
> process. I
> added the export=... directive to /etc/profile, and source'd
> the file,
> restarted my AstaIO server etc.
In that case, the log reflects several threads (probably) sharing a
single session. Without some kind of synchronization, that's a race
condition waiting to fail.
> Thanks again.
You're welcome. :-)
--jkl
-----------------------------------------
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the original
message. Please note that we do not accept account orders and/or instructions
by e-mail, and therefore will not be responsible for carrying out such orders
and/or instructions.
If you, as the intended recipient of this message, the purpose of which is to
inform and update our clients, prospects and consultants of developments
relating to our services and products, would not like to receive further
e-mail correspondence from the sender, please "reply" to the sender
indicating your wishes. In the U.S.: 1345 Avenue of the Americas, New York,
NY 10105.
-
[freetds] Exececute procedure returns errors,
David Keith, 07/26/2004
-
Re: [freetds] Exececute procedure returns errors,
James K. Lowden, 07/26/2004
-
RE: [freetds] Exececute procedure returns errors,
Joseph Geiser, 07/27/2004
- Re: [freetds] Exececute procedure returns errors, David Keith, 07/27/2004
-
RE: [freetds] Exececute procedure returns errors,
Joseph Geiser, 07/27/2004
- <Possible follow-up(s)>
-
RE: [freetds] Exececute procedure returns errors,
Lowden, James K, 07/27/2004
- Re: [freetds] Exececute procedure returns errors, David Keith, 07/27/2004
- RE: [freetds] Exececute procedure returns errors, Lowden, James K, 07/27/2004
-
Re: [freetds] Exececute procedure returns errors,
James K. Lowden, 07/26/2004
Archive powered by MHonArc 2.6.24.