Skip to content

Commit

Permalink
Merge pull request #3134 from KianNH/patch-3
Browse files Browse the repository at this point in the history
Add substring (alias of substr) into ALLOWED_SQLITE_FUNCTIONS
  • Loading branch information
kentonv authored Nov 19, 2024
2 parents d1badf9 + 1c1ab43 commit f5cf6bf
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 @@ -225,6 +225,7 @@ static constexpr kj::StringPtr ALLOWED_SQLITE_FUNCTIONS[] = {
// "sqlite_source_id"_kj,
// "sqlite_version"_kj,
"substr"_kj,
"substring"_kj,
"total_changes"_kj,
"trim"_kj,
"typeof"_kj,
Expand Down

0 comments on commit f5cf6bf

Please sign in to comment.