Skip to content

Commit

Permalink
fix meson build, comment
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed Aug 14, 2024
1 parent 9c7c0b0 commit bde9c9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions c/driver/postgresql/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ adbc_postgres_driver_lib = library(
'database.cc',
'postgresql.cc',
'result_helper.cc',
'result_builder.cc',
'statement.cc',
],
include_directories: [include_dir, c_dir],
Expand Down
2 changes: 1 addition & 1 deletion c/driver/postgresql/result_reader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ AdbcStatusCode PqResultArrayReader::BindNextAndExecute(int64_t* affected_rows,

AdbcStatusCode PqResultArrayReader::ExecuteAll(int64_t* affected_rows, AdbcError* error) {
// For the case where we don't need a result, we either need to exhaust the bind
// stream
// stream (if there is one) or execute the query without binding.
if (bind_stream_) {
RAISE_ADBC(bind_stream_->Begin([] { return ADBC_STATUS_OK; }, error));
RAISE_ADBC(bind_stream_->SetParamTypes(*type_resolver_, error));
Expand Down

0 comments on commit bde9c9a

Please sign in to comment.