Below is the following pseudo-code:
public updated(int id) {
// Note that variable **id** is not surrounded by single/double quotes.
sql = "Update table user set status=2 where user_id=**id** ";
// execute command
}
Is this vulnerable to SQL injection ( Arithmetic SQL injection perhaps) ?