Skip to content

Commit eb26aae

Browse files
committed
connection
1 parent 795b1c1 commit eb26aae

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/connection.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -500,9 +500,7 @@ Napi::Value Connection::RegisterBuffer(const Napi::CallbackInfo &info) {
500500
}
501501

502502
array_references[name] = Napi::Persistent(array);
503-
auto &connection = Get<Connection>();
504-
auto &con = *connection.connection;
505-
auto &db = *con->context->db;
503+
auto &db = *connection->context->db;
506504

507505
vector<duckdb::Value> values;
508506

0 commit comments

Comments
 (0)