Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit c67c8ba

Browse files
committed
revert snapshot.py change
1 parent 82588e4 commit c67c8ba

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

google/cloud/spanner_v1/snapshot.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,12 @@ def execute_sql(
225225
retry=retry,
226226
timeout=timeout,
227227
)
228-
self._read_request_count += 1
229-
self._execute_sql_count += 1
230228

231229
iterator = _restart_on_unavailable(restart)
232230

231+
self._read_request_count += 1
232+
self._execute_sql_count += 1
233+
233234
if self._multi_use:
234235
return StreamedResultSet(iterator, source=self)
235236
else:

0 commit comments

Comments
 (0)