Re: How to debug "into" oci?

"Amaury Forgeot d'Arc" <[email protected]>
Newsgroups gmane.comp.python.db.cx-oracle
Message-ID <CAGmFidYURUctub-fafb1KywfmM=z6V2TXqK6PngO1tAQJn52GQ@mail.gmail.com>
Hi,

>From your output:
> dataArr: 0xc2000001a8
This seems to be the address on the stack.
Is the address still valid when OCIStmtExecute runs?
This is important, because this is where the ref cursor will be returned.

In cx_Oracle, "dataArr" is always an array of one or more objects.
Here the objects are pointers (OCIStmt*), but they still need to be
allocated on the heap.

-- 
Amaury Forgeot d'Arc

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1

_______________________________________________
cx-oracle-users mailing list
cx-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/cx-oracle-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.