mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 21:23:03 +01:00
Better naming.
This commit is contained in:
parent
11d6db04e6
commit
6aeb91f66b
@ -119,7 +119,7 @@ public:
|
||||
virtual const char* FB_CARG getPlan() = 0;
|
||||
virtual TraceParams* FB_CARG getInputs() = 0;
|
||||
virtual const char* FB_CARG getTextUTF8() = 0;
|
||||
virtual const char* FB_CARG getPlanExplained() = 0;
|
||||
virtual const char* FB_CARG getExplainedPlan() = 0;
|
||||
};
|
||||
#define FB_TRACE_SQL_STATEMENT_VERSION (FB_TRACE_STATEMENT_VERSION + 5)
|
||||
|
||||
|
@ -216,7 +216,7 @@ const char* TraceSQLStatementImpl::getPlan()
|
||||
return m_plan.c_str();
|
||||
}
|
||||
|
||||
const char* FB_CARG TraceSQLStatementImpl::getPlanExplained()
|
||||
const char* FB_CARG TraceSQLStatementImpl::getExplainedPlan()
|
||||
{
|
||||
fillPlan(true);
|
||||
return m_plan.c_str();
|
||||
|
@ -167,7 +167,7 @@ public:
|
||||
virtual const char* FB_CARG getText();
|
||||
virtual const char* FB_CARG getPlan();
|
||||
virtual const char* FB_CARG getTextUTF8();
|
||||
virtual const char* FB_CARG getPlanExplained();
|
||||
virtual const char* FB_CARG getExplainedPlan();
|
||||
|
||||
private:
|
||||
class DSQLParamsImpl : public Firebird::AutoIface<TraceParams, FB_TRACE_PARAMS_VERSION>
|
||||
@ -219,7 +219,7 @@ public:
|
||||
virtual const char* FB_CARG getText() { return m_text.c_str(); }
|
||||
virtual const char* FB_CARG getPlan() { return ""; }
|
||||
virtual const char* FB_CARG getTextUTF8();
|
||||
virtual const char* FB_CARG getPlanExplained() { return ""; }
|
||||
virtual const char* FB_CARG getExplainedPlan() { return ""; }
|
||||
|
||||
private:
|
||||
Firebird::string& m_text;
|
||||
|
@ -1383,7 +1383,7 @@ void TracePluginImpl::register_sql_statement(TraceSQLStatement* statement)
|
||||
*stmt_data.description += temp;
|
||||
|
||||
const char* access_path = config.print_plan ?
|
||||
(config.explain_plan ? statement->getPlanExplained() : statement->getPlan())
|
||||
(config.explain_plan ? statement->getExplainedPlan() : statement->getPlan())
|
||||
: NULL;
|
||||
|
||||
if (access_path && *access_path)
|
||||
|
Loading…
Reference in New Issue
Block a user