Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…19134) * fix(db_query): Disallow blacklisted functions in (order|group)_by Changes: - allow only functions that are not blacklisted in *_by clause: currently just sleep - perf improvemnts: lower, in, split, strip & other low hanging micro optimizations Handle the following use cases: - upper/lower case function usages - spaces between function name and brackets * test(db_query): Add tests for *_by checks (cherry picked from commit 6062d81) Co-authored-by: gavin <gavin18d@gmail.com>
- Loading branch information
1 parent
4539bda
commit 208d2e3
Showing
2 changed files
with
54 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters