From d137b72f8477e72ad9852520791fcbf8ece858c6 Mon Sep 17 00:00:00 2001 From: Carlo Piovesan Date: Wed, 30 Oct 2024 18:52:25 +0100 Subject: [PATCH] Format fix webdb_api --- lib/src/webdb_api.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/src/webdb_api.cc b/lib/src/webdb_api.cc index 1ccb4c431..bad9c7f9e 100644 --- a/lib/src/webdb_api.cc +++ b/lib/src/webdb_api.cc @@ -171,7 +171,8 @@ void duckdb_web_prepared_create(WASMResponse* packed, ConnectionHdl connHdl, con WASMResponseBuffer::Get().Store(*packed, std::move(r)); } /// Prepare a query statement -void duckdb_web_prepared_create_buffer(WASMResponse* packed, ConnectionHdl connHdl, const uint8_t* buffer, size_t buffer_length) { +void duckdb_web_prepared_create_buffer(WASMResponse* packed, ConnectionHdl connHdl, const uint8_t* buffer, + size_t buffer_length) { auto c = reinterpret_cast(connHdl); std::string_view script(reinterpret_cast(buffer), buffer_length); auto r = c->CreatePreparedStatement(script); @@ -249,7 +250,8 @@ void duckdb_web_get_tablenames(WASMResponse* packed, ConnectionHdl connHdl, cons WASMResponseBuffer::Get().Store(*packed, std::move(r)); } /// Get table names -void duckdb_web_get_tablenames_buffer(WASMResponse* packed, ConnectionHdl connHdl, const uint8_t* buffer, size_t buffer_length) { +void duckdb_web_get_tablenames_buffer(WASMResponse* packed, ConnectionHdl connHdl, const uint8_t* buffer, + size_t buffer_length) { auto c = reinterpret_cast(connHdl); std::string_view query(reinterpret_cast(buffer), buffer_length); auto r = c->GetTableNames(query);