diff --git a/src/current/advisories/a131639.md b/src/current/advisories/a131639.md index 386690eb7ab..52d65aec015 100644 --- a/src/current/advisories/a131639.md +++ b/src/current/advisories/a131639.md @@ -87,9 +87,11 @@ For example, if you suspect that a row in `my_table` with primary key `pk=1` and {% include_cached copy-clipboard.html %} ~~~ sql -SELECT count(*) FROM my_table@my_table_pkey WHERE pk = 1 AS OF SYSTEM TIME '-10s'; -SELECT count(*) FROM my_table@my_table_a_idx WHERE pk = 1 AND a=2 AS OF SYSTEM TIME '-10s'; -SELECT count(*) FROM my_table@my_table_b_idx WHERE pk = 1 AND b=3 AS OF SYSTEM TIME '-10s'; +BEGIN AS OF SYSTEM TIME '-10s'; +SELECT count(*) FROM my_table@my_table_pkey WHERE pk = 1; +SELECT count(*) FROM my_table@my_table_a_idx WHERE pk = 1; +SELECT count(*) FROM my_table@my_table_b_idx WHERE pk = 1; +COMMIT; ~~~ If any of these queries return different values for `count`, that likely indicates a lost write.