Skip to content

Commit f5cf6bf

Browse files
authored
Merge pull request #3134 from KianNH/patch-3
Add substring (alias of substr) into ALLOWED_SQLITE_FUNCTIONS
2 parents d1badf9 + 1c1ab43 commit f5cf6bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/workerd/util/sqlite.c++

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ static constexpr kj::StringPtr ALLOWED_SQLITE_FUNCTIONS[] = {
225225
// "sqlite_source_id"_kj,
226226
// "sqlite_version"_kj,
227227
"substr"_kj,
228+
"substring"_kj,
228229
"total_changes"_kj,
229230
"trim"_kj,
230231
"typeof"_kj,

0 commit comments

Comments
 (0)