You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the limits we impose on database, table, column, etc., this may not be likely, but fetch_addsilently wraps around to 0 on overflow. That would be pretty bad if it were to happen. This can be seen in the DbId::new method.
Given the limits we impose on database, table, column, etc., this may not be likely, but
fetch_add
silently wraps around to0
on overflow. That would be pretty bad if it were to happen. This can be seen in theDbId::new
method.We could instead use
fetch_update
with au32::checked_add
, e.g.,The text was updated successfully, but these errors were encountered: