1.Dd January 24, 2024 2.Dt SQLITE_ROLLBACK 3 3.Os 4.Sh NAME 5.Nm SQLITE_ROLLBACK , 6.Nm SQLITE_FAIL , 7.Nm SQLITE_REPLACE 8.Nd conflict resolution modes 9.Sh SYNOPSIS 10.In sqlite3.h 11.Fd #define SQLITE_ROLLBACK 12.Fd #define SQLITE_FAIL 13.Fd #define SQLITE_REPLACE 14.Sh DESCRIPTION 15These constants are returned by 16.Fn sqlite3_vtab_on_conflict 17to inform a virtual table implementation what the ON CONFLICT 18mode is for the SQL statement being evaluated. 19.Pp 20Note that the SQLITE_IGNORE constant is also used as a 21potential return value from the 22.Fn sqlite3_set_authorizer 23callback and that SQLITE_ABORT is also a result code. 24.Sh IMPLEMENTATION NOTES 25These declarations were extracted from the 26interface documentation at line 10125. 27.Bd -literal 28#define SQLITE_ROLLBACK 1 29/* #define SQLITE_IGNORE 2 // Also used by sqlite3_authorizer() callback */ 30#define SQLITE_FAIL 3 31/* #define SQLITE_ABORT 4 // Also an error code */ 32#define SQLITE_REPLACE 5 33.Ed 34.Sh SEE ALSO 35.Xr sqlite3_set_authorizer 3 , 36.Xr sqlite3_vtab_on_conflict 3 , 37.Xr SQLITE_DENY 3 , 38.Xr SQLITE_OK 3 39