Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tabVersion committed Feb 1, 2024
1 parent 49fc0e1 commit fe4e542
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 31 deletions.
26 changes: 0 additions & 26 deletions e2e_test/streaming/encrypt.slt

This file was deleted.

6 changes: 2 additions & 4 deletions proto/expr.proto
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ message ExprNode {
PGWIRE_RECV = 321;
CONVERT_FROM = 322;
CONVERT_TO = 323;
DECRYPT = 324;
ENCRYPT = 325;

// Unary operators
NEG = 401;
Expand Down Expand Up @@ -262,10 +264,6 @@ message ExprNode {
JSONB_PATH_QUERY_ARRAY = 622;
JSONB_PATH_QUERY_FIRST = 623;

// encrypt and decrypt functions
DECRYPT = 700;
ENCRYPT = 701;

// Non-pure functions below (> 1000)
// ------------------------
// Internal functions
Expand Down
2 changes: 1 addition & 1 deletion src/expr/core/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ pub enum CryptographyStage {
}

#[derive(Debug, Error)]
#[error("{stage:?} stage, reason: {reason:?}")]
#[error("{stage:?} stage, reason: {reason}")]
pub struct CryptographyError {
pub stage: CryptographyStage,
#[source]
Expand Down

0 comments on commit fe4e542

Please sign in to comment.