Skip to content

Commit 04e6af6

Browse files
committed
chore(django-spanner): disable savepoints and remove legacy can_rollback_tests
1 parent 53f72fb commit 04e6af6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • packages/django-google-spanner/django_spanner

packages/django-google-spanner/django_spanner/features.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ class DatabaseFeatures(BaseDatabaseFeatures):
5656
# Spanner does not support SELECTing an arbitrary expression that also
5757
# appears in the GROUP BY clause.
5858
supports_subqueries_in_group_by = False
59-
uses_savepoints = True
60-
can_rollback_tests = False # Spanner savepoints are no-ops; rely on flush.
59+
uses_savepoints = False
6160
supports_aggregate_filter_clause = False
6261
# Spanner does not support expression indexes
6362
# example: CREATE INDEX index_name ON table (LOWER(column_name))

0 commit comments

Comments
 (0)