Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fuyufjh committed Jan 3, 2025
1 parent 35c0467 commit 85061fc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,22 @@ SELECT id FROM test;
----
1
query error retry 3 backoff 5s
SELECT id FROM test;
----
database error: table not found
statement ok retry 3 backoff 5s
UPDATE test SET id = 1;
statement error
UPDATE test SET value = value + 1;
----
database error: table not found
```

Due to the limitation of syntax, the retry clause can't be used along with the single-line regex error message extension.

### Extension: Environment variable substitution in query and statement

It needs to be enabled by adding `control substitution on` to the test file.
Expand Down

0 comments on commit 85061fc

Please sign in to comment.