Please sign in to comment.
Fixed #18347 -- Wrapped raw identity inserts in tests.
Added enable_identity_insert, disable_identity_insert, and contextmanager identity_insert_enabled to DatabaseOperations for database backends that need to take special actions to allow identity inserts. All raw insert statements that set a value in to the identity field should include these guards to allow all database backends to function.
- Loading branch information...
Showing with 35 additions and 6 deletions.