Skip to content

Commit

Permalink
Fix issue with GetValue
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi authored and ankoh committed Apr 13, 2023
1 parent 133619f commit 1b5e9c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/webdb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ arrow::Result<std::unique_ptr<duckdb::QueryResult>> WebDB::Connection::ExecutePr
if (!ok) return arrow::Status{arrow::StatusCode::Invalid, rapidjson::GetParseError_En(ok.Code())};
if (!args_doc.IsArray()) return arrow::Status{arrow::StatusCode::Invalid, "Arguments must be given as array"};

std::vector<duckdb::Value> values;
duckdb::vector<duckdb::Value> values;
size_t index = 0;
for (const auto& v : args_doc.GetArray()) {
if (v.IsLosslessDouble())
Expand Down

0 comments on commit 1b5e9c9

Please sign in to comment.