Skip to content

Commit

Permalink
IGNITE-23747 / fix transaction start in odbc
Browse files Browse the repository at this point in the history
  • Loading branch information
rpuch committed Dec 16, 2024
1 parent 5d22eea commit 0c55bd2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/platforms/cpp/ignite/odbc/sql_connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +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.
});

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

0 comments on commit 0c55bd2

Please sign in to comment.