should be it

This commit is contained in:
2025-10-24 19:21:19 -05:00
parent a4b23fc57c
commit f09560c7b1
14047 changed files with 3161551 additions and 1 deletions

View File

@@ -0,0 +1,32 @@
# name: test/sql/pragma/test_enable_profile.test
# description: Test PRAGMA enable_profiling parsing
# group: [pragma]
# enable profiling cannot be called
statement error
PRAGMA enable_profiling()
----
Parser Error: syntax error at or near ")"
statement error
PRAGMA enable_profiling='unsupported'
----
Parser Error: Unrecognized print format unsupported, supported formats: [json, query_tree, query_tree_optimizer, no_output]
statement error
PRAGMA profiling_output
----
# select the location of where to save the profiling output (instead of printing to stdout)
statement ok
PRAGMA profiling_output='test.json'
# but we can clear it again
statement ok
PRAGMA profiling_output=''
# enable and disable profiling
statement ok
PRAGMA disable_profiling