Skip to content

Commit 8a47b77

Browse files
committed
doc: restore intentional typo
Commit ac86237 "fixed" a typo in an example of what would happen in the event of a typo. Restore the original typo and add a comment about its intentionality. Backpatch to 12 where the error was introduced. Per report from irc user Nicolás Alvarez.
1 parent 20fbb71 commit 8a47b77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/protocol.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ BEGIN;
811811
INSERT INTO mytable VALUES(1);
812812
COMMIT;
813813
INSERT INTO mytable VALUES(2);
814-
SELECT 1/0;
814+
SELCT 1/0;<!-- this typo is intentional -->
815815
</programlisting>
816816
then none of the statements would get run, resulting in the visible
817817
difference that the first <command>INSERT</command> is not committed.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy