Hello,

db_last_insert_rowid() is defined in db.c to return an "i64", but every use of the function stores the result in an "int".

That looks like a bug, unless something else is constraining the rowid value.

A proper and complete fix seems non-trivial, but in the interim perhaps db_last_insert_rowid() should issue a warning or fail an assertion if the rowid is greater than INT_MAX?

--
Edward Berner

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to