summaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2018-07-09 16:10:44 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2018-07-18 16:17:32 +0300
commit6b387179baab8d0e5da6570678eefbe61f3acc79 (patch)
tree1b9f79c66f804c5d9a6aa0d3c142feefcec95cf3 /src/interfaces
parent94019c879a138454af723fa8bfc346d4a44ecd47 (diff)
Fix misc typos, mostly in comments.
A collection of typos I happened to spot while reading code, as well as grepping for common mistakes. Backpatch to all supported versions, as applicable, to avoid conflicts when backporting other commits in the future.
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/ecpg/ecpglib/execute.c4
-rw-r--r--src/interfaces/ecpg/preproc/parse.pl4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/interfaces/ecpg/ecpglib/execute.c b/src/interfaces/ecpg/ecpglib/execute.c
index 6f6819a8f48..8569ca55df0 100644
--- a/src/interfaces/ecpg/ecpglib/execute.c
+++ b/src/interfaces/ecpg/ecpglib/execute.c
@@ -1308,8 +1308,8 @@ ecpg_build_params(struct statement *stmt)
if ((position = next_insert(stmt->command, position, stmt->questionmarks, std_strings) + 1) == 0)
{
/*
- * We have an argument but we dont have the matched up placeholder
- * in the string
+ * We have an argument but we don't have the matched up
+ * placeholder in the string
*/
ecpg_raise(stmt->lineno, ECPG_TOO_MANY_ARGUMENTS,
ECPG_SQLSTATE_USING_CLAUSE_DOES_NOT_MATCH_PARAMETERS,
diff --git a/src/interfaces/ecpg/preproc/parse.pl b/src/interfaces/ecpg/preproc/parse.pl
index b20383ab17a..ad87aad2835 100644
--- a/src/interfaces/ecpg/preproc/parse.pl
+++ b/src/interfaces/ecpg/preproc/parse.pl
@@ -144,7 +144,7 @@ sub main
# flds are the fields to use. These may start with a '$' - in
# which case they are the result of a previous non-terminal
#
- # if they dont start with a '$' then they are token name
+ # if they don't start with a '$' then they are token name
#
# len is the number of fields in flds...
# leadin is the padding to apply at the beginning (just use for formatting)
@@ -223,7 +223,7 @@ sub main
next line;
}
- # Dont worry about anything if we're not in the right section of gram.y
+ # Don't worry about anything if we're not in the right section of gram.y
if ($yaccmode != 1)
{
next line;