Added explain functionality.
Uses json format with jsoncpp as a parser. Then show it in a QTreeView. Shows inclusive/exclusive times like explain.despesz does. Also a similar coloring scheme as applied.
This commit is contained in:
parent
0d30dc9080
commit
8af6bc4ac5
14 changed files with 9089 additions and 33 deletions
|
|
@ -21,14 +21,19 @@ SOURCES += main.cpp\
|
|||
sqlparser.cpp \
|
||||
PgsqlConn.cpp \
|
||||
queryresultmodel.cpp \
|
||||
sqlhighlighter.cpp
|
||||
sqlhighlighter.cpp \
|
||||
jsoncpp.cpp \
|
||||
queryexplainmodel.cpp \
|
||||
explaintreemodelitem.cpp
|
||||
|
||||
HEADERS += mainwindow.h \
|
||||
serverproperties.h \
|
||||
sqlparser.h \
|
||||
PgsqlConn.h \
|
||||
queryresultmodel.h \
|
||||
sqlhighlighter.h
|
||||
sqlhighlighter.h \
|
||||
queryexplainmodel.h \
|
||||
explaintreemodelitem.h
|
||||
|
||||
FORMS += mainwindow.ui \
|
||||
serverproperties.ui
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue