Skip to content

Commit 13f0713

Browse files
committed
MYCPP-261: Add missing CATCH_AND_WRAP to public method.
1 parent f0da553 commit 13f0713

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

devapi/result.cc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1342,13 +1342,17 @@ internal::BaseResult::getWarnings()
13421342

13431343
uint64_t Result::getAffectedItemsCount() const
13441344
{
1345-
return get_impl().get_affected_rows();
1345+
try {
1346+
return get_impl().get_affected_rows();
1347+
} CATCH_AND_WRAP
13461348
}
13471349

13481350

13491351
uint64_t Result::getAutoIncrementValue() const
13501352
{
1351-
return get_impl().get_auto_increment();
1353+
try {
1354+
return get_impl().get_auto_increment();
1355+
} CATCH_AND_WRAP
13521356
}
13531357

13541358

0 commit comments

Comments
 (0)