Previous Thread
Next Thread
Print Thread
Debug Window Traces #31081 02 Mar 10 04:04 PM
Joined: Nov 2006
Posts: 2,223
S
Stephen Funkhouser Offline OP
Member
OP Offline
Member
S
Joined: Nov 2006
Posts: 2,223
Are there any traces that can be turned on to see what XCALL sql is actually doing?


Stephen Funkhouser
Diversified Data Solutions
Re: Debug Window Traces #31082 03 Mar 10 12:49 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Oddly enough, no. I guess the theory was that you could use the database trace options implemented by the database itself for that purpose.

For ODBC, you can activate tracing via the SQL_SET_CONNATR opcode, using the SQL_ATTR_TRACE and SQL_ATTR_TRACEFILE options.

For MySQL, I believe you need to activate it via options in the configuration file. The default configuration file is my.cnf, but you can change it with SQL_SET_CONNATR using OPT_MY_READ_DFT_FILE.

I must admit that I've never actually experimented with either of those, so I'm not quite sure how useful the tracing is or how you adjust the level of detail.


Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3