Skip to content

Commit

Permalink
Fix result buf copy in query_stable_v2
Browse files Browse the repository at this point in the history
  • Loading branch information
auxten committed Nov 2, 2024
1 parent 8a84df2 commit 84d099e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/local/LocalServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ local_result_v2 * query_stable_v2(int argc, char ** argv)
else
{
// Handle successful data retrieval scenario
res->_vec = new std::vector<char>(*result->buf_);
res->_vec = result->buf_;
res->len = result->buf_->size();
res->buf = result->buf_->data();
res->rows_read = result->rows_;
Expand Down

0 comments on commit 84d099e

Please sign in to comment.