Skip to content

Commit 650d806

Browse files
authored
Merge pull request github#14131 from omahs/patch-1
Docs: fix minor typos
2 parents 2ae342c + 473f17c commit 650d806

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/codeql/ql-language-reference/annotations.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ after join ordering. This can be useful to prevent the optimiser from choosing
302302
a sub-optimal join order.
303303

304304
For instance, in the example below, the ``pragma[inline_late]`` and
305-
``bindingset[x]`` annotations specifiy that calls to ``p`` should be join ordered
305+
``bindingset[x]`` annotations specify that calls to ``p`` should be join ordered
306306
in a context where ``x`` is already bound. This forces the join orderer to
307307
order ``q(x)`` before ``p(x)``, which is more computationally efficient
308308
than ordering ``p(x)`` before ``q(x)``.

docs/codeql/ql-language-reference/expressions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ for a given ``f``.
557557
In this query, oranges are available at two different prices, and the
558558
default ``sum`` aggregate returns a single line where Alice buys an
559559
orange at a price of 100, another orange at a price of 1, and an apple
560-
at a price of 100, totalling 201. On the other hand, in the the
560+
at a price of 100, totalling 201. On the other hand, in the
561561
*monotonic* semantics for ``sum``, Alice always buys one orange and
562562
one apple, and a line of output is produced for each *way* she can
563563
complete her shopping list.

docs/prepare-db-upgrade.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The `compatibility` field takes one of four values:
3737

3838
* **breaking**: the step is unsafe and will prevent certain queries from working.
3939

40-
The `some_relation.rel` line(s) are the actions required to perform the database upgrade. Do a diff on the the new vs old `.dbscheme` file to get an idea of what they have to achieve. Sometimes you won't need any upgrade commands – this happens when the dbscheme has changed in "cosmetic" ways, for example by adding/removing comments or changing union type relationships, but still retains the same on-disk format for all tables; the purpose of the upgrade script is then to document the fact that it's safe to replace the old dbscheme with the new one.
40+
The `some_relation.rel` line(s) are the actions required to perform the database upgrade. Do a diff on the new vs old `.dbscheme` file to get an idea of what they have to achieve. Sometimes you won't need any upgrade commands – this happens when the dbscheme has changed in "cosmetic" ways, for example by adding/removing comments or changing union type relationships, but still retains the same on-disk format for all tables; the purpose of the upgrade script is then to document the fact that it's safe to replace the old dbscheme with the new one.
4141

4242
Ideally, your downgrade script will perfectly revert the changes applied by the upgrade script, such that applying the upgrade and then the downgrade will result in the same database you started with.
4343

docs/qldoc-style-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Valid QL comments are known as QLDoc. This document describes the recommended st
3030
1. Public declarations must be documented.
3131
1. Non-public declarations should be documented.
3232
1. Declarations in query files should be documented.
33-
1. Library files (`.qll` files) should be have a documentation comment at the top of the file.
33+
1. Library files (`.qll` files) should have a documentation comment at the top of the file.
3434
1. Query files, except for tests, must have a QLDoc query documentation comment at the top of the file.
3535

3636
## QLDoc for predicates

0 commit comments

Comments
 (0)