Skip to content

Commit 71f1607

Browse files
Kanasjnrmarta-lokhova
authored andcommitted
Refactor: remove redundant StatementContext and use soci::statement directly
1 parent 5245d56 commit 71f1607

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ledger/LedgerTxnOfferSQL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ class BulkLoadOffersOperation
786786
"FROM offers WHERE offerid IN carray(?, ?, 'int64')";
787787

788788
auto prep = mDb.getPreparedStatement(sql, mSession);
789-
auto be = prep.statement().get_backend();
789+
auto be = prep.get_backend();
790790
if (be == nullptr)
791791
{
792792
throw std::runtime_error("no sql backend");

0 commit comments

Comments
 (0)