Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhao-su committed Nov 26, 2024
1 parent 5070856 commit 4bca86b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions e2e_test/ddl/secret.slt
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,11 @@ secret_1

statement ok
drop secret secret_1;

statement ok
create secret public.secret_1 with (
backend = 'meta'
) as 'demo_secret';

statement ok
drop secret secret_1;
2 changes: 1 addition & 1 deletion src/frontend/src/handler/create_secret.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pub async fn handle_create_secret(
let catalog_writer = session.catalog_writer()?;
catalog_writer
.create_secret(
stmt.secret_name.real_value(),
secret_name,
database_id,
schema_id,
session.user_id(),
Expand Down

0 comments on commit 4bca86b

Please sign in to comment.