Skip to content

Commit

Permalink
Merge pull request #2063 from cloudflare/smerritt/sql-allowlist-legac…
Browse files Browse the repository at this point in the history
…y-alter-table

sqlite: allow PRAGMA legacy_alter_table
  • Loading branch information
smerritt authored Apr 26, 2024
2 parents 17cafa3 + 0ad3f10 commit 39c0d91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/workerd/util/sqlite.c++
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ static constexpr PragmaInfo ALLOWED_PRAGMAS[] = {
{ "foreign_keys"_kj, PragmaSignature::BOOLEAN },
{ "defer_foreign_keys"_kj, PragmaSignature::BOOLEAN },
{ "ignore_check_constraints"_kj, PragmaSignature::BOOLEAN },
{ "legacy_alter_table"_kj, PragmaSignature::BOOLEAN },
{ "recursive_triggers"_kj, PragmaSignature::BOOLEAN },
{ "reverse_unordered_selects"_kj, PragmaSignature::BOOLEAN },

Expand Down

0 comments on commit 39c0d91

Please sign in to comment.