blob: 887fc526f4dbf1321958ffef185b888f2f788d7a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "formatanalyze.h"
#include "parser/ast/sqliteanalyze.h"
FormatAnalyze::FormatAnalyze(SqliteAnalyze* analyze) :
analyze(analyze)
{
}
void FormatAnalyze::formatInternal()
{
handleExplainQuery(analyze);
withKeyword("ANALYZE");
if (!analyze->database.isNull())
withId(analyze->database).withIdDot();
withId(analyze->table).withSemicolon();
}
|