1
Fork 0

Implement explain (query plan) statements, ala sqlite

This commit is contained in:
prescientmoon 2025-01-10 18:48:30 +01:00
parent c842cf50b6
commit ab82249523
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
4 changed files with 36 additions and 0 deletions
tests/Language/SQL/SimpleSQL

View file

@ -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
{-