tags:

views:

34

answers:

1

I have a complicated SQL query executed from my application. The query runs fine with the version 3.6.11 (64ms). When run in 3.6.22 it takes more than 100 sec to finish. When executed from the command line client, the execution is quick both in 11 and 22. Therefore I want to run the query with "EXPLAIN" from inside my application. Is it possible? I tried to prepare and step the query and then read the column as as text but the result is empty.

Can be "EXPLAIN" executed from my application using C++ API ?

A: 
Doug Currie