Implement explain (query plan) statements, ala sqlite
This commit is contained in:
parent
c842cf50b6
commit
ab82249523
4 changed files with 36 additions and 0 deletions
tests/Language/SQL/SimpleSQL
|
@ -775,6 +775,18 @@ defintely skip
|
|||
$ ColDefaultClause
|
||||
$ DefaultClause $ NumLit "2"]]
|
||||
False
|
||||
,testStatement ansi2011
|
||||
"explain create table t (a int);"
|
||||
$ Explain False
|
||||
$ CreateTable [Name Nothing "t"]
|
||||
[TableColumnDef $ ColumnDef (Name Nothing "a") (Just (TypeName [Name Nothing "int"])) []]
|
||||
False
|
||||
,testStatement ansi2011
|
||||
"explain query plan create table t (a int);"
|
||||
$ Explain True
|
||||
$ CreateTable [Name Nothing "t"]
|
||||
[TableColumnDef $ ColumnDef (Name Nothing "a") (Just (TypeName [Name Nothing "int"])) []]
|
||||
False
|
||||
|
||||
|
||||
{-
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue