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);