Skip to content

Commit 7266d08

Browse files
Remove wrong word (#614)
1 parent 47c95dc commit 7266d08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/checks/avoid-default-key.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### What is the intent of the check?
66

7-
Default table keys (declared by the `WITH DEFAULT KEY` clause in a table definition) can lead to obscure mistakes because they ignore numeric data types and they make it the intent of the key unclear. `SORT` and `DELETE ADJACENT` statements without explicit field list will resort to the primary key of the internal table, which in the case of default keys can lead to unexpected results, in particular in combination with `READ TABLE ... BINARY SEARCH` statements.
7+
Default table keys (declared by the `WITH DEFAULT KEY` clause in a table definition) can lead to obscure mistakes because they ignore numeric data types and they make the intent of the key unclear. `SORT` and `DELETE ADJACENT` statements without explicit field list will resort to the primary key of the internal table, which in the case of default keys can lead to unexpected results, in particular in combination with `READ TABLE ... BINARY SEARCH` statements.
88

99
Therefore, this check searches for internal table definitions that declare a default table key.
1010

0 commit comments

Comments
 (0)