freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "James K. Lowden" <jklowden AT freetds.org>
- To: asdf asdf <forallstuff AT mail.ru>, FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] double sqlexec();
- Date: Thu, 24 Dec 2009 22:56:03 -0500
asdf asdf wrote:
>
> Hellow, i have one question. When i call system functions
> sqlexec(dbbproc) should i clear some buffers after that?
Normally no. Cf. DBNOAUTOFREE
(http://msdn.microsoft.com/en-us/library/aa937147(SQL.80).aspx)
> i received a mistake in sqlexec(db_) functions "FreeTDS: db-lib: exiting
> because client error handler returned 20002 for msgno 20019"
http://manuals.sybase.com/onlinebooks/group-cnarc/cng1110e/dblib/@Generic__BookTextView/16561;pt=39614
http://msdn.microsoft.com/en-us/library/aa937031(SQL.80).aspx
Your error handler must return one of INT_EXIT, INT_CANCEL, or
INT_CONTINUE. It cannot return 20002.
Interestingly, the vendors disagree on what to do if the error handler
returns an invalid value. Sybase says abort; Microsoft says continue.
--jkl
-
[freetds] double sqlexec();,
asdf asdf, 12/22/2009
- Re: [freetds] double sqlexec();, James K. Lowden, 12/24/2009
Archive powered by MHonArc 2.6.24.