Viktor asked me the following question about this function

in adsfunc.c, which seems to receive a 3rd arg for a Connection

handle, but then it never uses it. 

Does anyone know the intention of that code?

 

>> 

In ADSSTMTSETTABLEPASSWORD() there is a check for hConnect != 0, but later
on hConnect is not referred anymore. At the same time pArea->hStatement is
not checked against 0.

 

I would think the hConnect check should be replaced with a pArea->hStatement
check to be correct. This would also be inline with the comments found in

ADSEXECUTESQL() (and friends).

<< 

 

Thanks,

 

--

Brian Hays

 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to