Skip to content

Commit

Permalink
IGNITE-23747 / fix C++ changes again
Browse files Browse the repository at this point in the history
  • Loading branch information
rpuch committed Dec 17, 2024
1 parent 9327c69 commit 46074b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class transactions_impl {
IGNITE_API void begin_async(ignite_callback<transaction> callback) {
auto writer_func = [this](protocol::writer &writer) {
writer.write_bool(false); // readOnly.
writer.write<std::int64_t>(0); // timeoutMillis.
writer.write(std::int64_t(0)); // timeoutMillis.
writer.write(m_connection->get_observable_timestamp());
};

Expand Down
2 changes: 1 addition & 1 deletion modules/platforms/cpp/ignite/odbc/sql_connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ void sql_connection::transaction_start() {
network::data_buffer_owning response =
sync_request(protocol::client_operation::TX_BEGIN, [&](protocol::writer &writer) {
writer.write_bool(false); // read_only.
writer.write<std::int64_t>(0); // timeoutMillis.
writer.write(std::int64_t(0)); // timeoutMillis.
});

protocol::reader reader(response.get_bytes_view());
Expand Down

0 comments on commit 46074b7

Please sign in to comment.