2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[#1040] address review

This commit is contained in:
Razvan Becheriu
2020-01-23 23:23:51 +02:00
parent c41e32f709
commit d5e45c7863
4 changed files with 15 additions and 27 deletions

View File

@@ -2836,9 +2836,7 @@ MySqlLeaseMgr::deleteLeaseCommon(StatementIndex stindex, MYSQL_BIND* bind) {
// See how many rows were affected. Note that the statement may delete
// multiple rows.
int affected_rows = mysql_stmt_affected_rows(ctx->conn_.statements_[stindex]);
return (static_cast<uint64_t>(affected_rows));
return (static_cast<uint64_t>(mysql_stmt_affected_rows(ctx->conn_.statements_[stindex])));
}
bool