Skip to content

Commit

Permalink
PR Feedbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
Y-- committed Oct 21, 2024
1 parent f6ec22b commit 65da870
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/pgduckdb_duckdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ DuckDBManager::LoadSecrets(duckdb::ClientContext &context) {

pfree(secret_key->data);
++secret_id;
secret_table_num_rows = secret_id;
}

secret_table_num_rows = secret_id;
}

void
Expand Down
3 changes: 1 addition & 2 deletions test/regression/expected/extensions.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SET duckdb.execution TO false;
SET duckdb.force_execution TO false;
SELECT * FROM duckdb.raw_query($$ SELECT extension_name, loaded, installed FROM duckdb_extensions() WHERE loaded and extension_name != 'jemalloc' $$);
NOTICE: result: extension_name loaded installed
VARCHAR BOOLEAN BOOLEAN
Expand Down Expand Up @@ -94,4 +94,3 @@ pgduckdb true false

(1 row)

SET duckdb.execution TO true;
1 change: 0 additions & 1 deletion test/regression/expected/secrets.out
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,3 @@ pgduckb_secret_0

(1 row)

SET duckdb.force_execution TO true;
4 changes: 1 addition & 3 deletions test/regression/sql/extensions.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

SET duckdb.execution TO false;
SET duckdb.force_execution TO false;

SELECT * FROM duckdb.raw_query($$ SELECT extension_name, loaded, installed FROM duckdb_extensions() WHERE loaded and extension_name != 'jemalloc' $$);

Expand All @@ -26,5 +26,3 @@ DELETE FROM duckdb.extensions WHERE name = 'aws';
SELECT last_value FROM duckdb.extensions_table_seq;

SELECT * FROM duckdb.raw_query($$ SELECT extension_name, loaded, installed FROM duckdb_extensions() WHERE loaded and extension_name != 'jemalloc' $$);

SET duckdb.execution TO true;
2 changes: 0 additions & 2 deletions test/regression/sql/secrets.sql
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,3 @@ DELETE FROM duckdb.secrets WHERE key_id = 'access_key_id_1';
SELECT last_value FROM duckdb.secrets_table_seq;

SELECT * FROM duckdb.raw_query($$ SELECT name FROM duckdb_secrets() $$);

SET duckdb.force_execution TO true;

0 comments on commit 65da870

Please sign in to comment.