SQLite Forum

Integer overflow risk in sqlite3_changes and underlying counter?
Login
```
    sqlite> .changes on
    sqlite> select count(*) from foo;
    count(*)
    2147483648
    changes:   0   total_changes: 0
    sqlite> delete from foo;
    changes: -2147483648   total_changes: -2147483648
    sqlite>
```

So yes, the change count wraps around to negative on overflow.