Skip to content

Commit

Permalink
make encrypt/decrypt pure func
Browse files Browse the repository at this point in the history
  • Loading branch information
tabVersion committed Feb 1, 2024
1 parent 2b7918d commit 3ad56fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/src/expr/pure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ impl ExprVisitor for ImpureAnalyzer {
| expr_node::Type::Sha256
| expr_node::Type::Sha384
| expr_node::Type::Sha512
| expr_node::Type::Decrypt
| expr_node::Type::Encrypt
| expr_node::Type::Tand
| expr_node::Type::ArrayPositions
| expr_node::Type::StringToArray
Expand Down Expand Up @@ -245,8 +247,6 @@ impl ExprVisitor for ImpureAnalyzer {
| expr_node::Type::PgGetIndexdef
| expr_node::Type::ColDescription
| expr_node::Type::PgGetViewdef
| expr_node::Type::Decrypt
| expr_node::Type::Encrypt
| expr_node::Type::MakeTimestamptz => self.impure = true,
}
}
Expand Down

0 comments on commit 3ad56fe

Please sign in to comment.