Skip to content

Commit 8f54f4e

Browse files
committed
Fix numerous spelling errors, typos, etc
1 parent 25caf34 commit 8f54f4e

File tree

145 files changed

+311
-311
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+311
-311
lines changed

docs/DIRECTIVES.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Directives are never upper case letters; $ followed by upper case are environmen
2020
variables.
2121

2222
Many directives can be changed several times in your rwl source files,
23-
which means the actual value will be used onwards during scanning and parsing.
23+
which means the actual value will be used on-wards during scanning and parsing.
2424
A directive set in one source file will be applied in subsequent sources files
2525
both when these are on the command line or as include files.
2626

@@ -36,8 +36,8 @@ all directives are documented at the ```rwlman directive``` page.
3636
### Conditional compilation
3737

3838
A set of directives, ```$if ... $then```, ```$else```, ```$endif``` are used to
39-
perform condtional compilation.
40-
The compile time expression beween $if and $then, which can use global variables and
39+
perform conditional compilation.
40+
The compile time expression between $if and $then, which can use global variables and
4141
a small subset of built in functions only, is evaluated during scanning, causing either the first
4242
or second part (after $else) to be parsed; $else and the second part can be
4343
omitted.

docs/ERRORLIST.md

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The identifier should be followed by either of:
3737
### RWL-008 error: "expected valid expression"
3838
A syntax error during parse of an expression.
3939

40-
### RWL-009 warning: "superfluous ';' at posistion %d"
40+
### RWL-009 warning: "superfluous ';' at position %d"
4141
The semicolon is used to terminate a statement or declaration
4242
and repeated semicolon is not allowed.
4343

@@ -106,7 +106,7 @@ In declaration of a random string or procedure, all weights must be
106106
at least zero.
107107

108108
### RWL-029 warning: "ignoring error with array based sql is not supported"
109-
Ignoring errors and use of progammed error handling
109+
Ignoring errors and use of programmed error handling
110110
cannot be done with array processing.
111111
You must either set array to 1 or let rwloadsim handle errors.
112112

@@ -124,7 +124,7 @@ You can only use the array specification once.
124124
The array size must be at least 1.
125125

126126
### RWL-034 error: "username must be specified for database '%s'"
127-
The username is a compulsary specification in a database declaration.
127+
The username is a compulsory specification in a database declaration.
128128

129129
### RWL-035 error: "%s database already specified as '%s'"
130130
The default and results databases can only be declared once.
@@ -139,7 +139,7 @@ A database is either not declared or has caused error during connection.
139139
A syntax error during parse of a regex statement.
140140

141141
### RWL-039 error: "error compiling regular expression: %s"
142-
Reguar expression caused an error in regcomp(3).
142+
Regular expression caused an error in regcomp(3).
143143

144144
### RWL-040 warning: "regextract found %d matched sub-expressions, %d expected"
145145
When using the regextract statement, the number of matched sub-expressions
@@ -170,7 +170,7 @@ commit with an execute block for the commit to have effect.
170170
You have been doing DML inside PL/SQL without performing explicit commit or
171171
rollback before your session was (implicitly) released or given up. If you have
172172
PL/SQL with open transaction directly in main, you must wrap the call and
173-
associtated commit with an execute block for the commit to have effect.
173+
associated commit with an execute block for the commit to have effect.
174174

175175
### RWL-047 error: "database '%s' could not connect"
176176
There was an error during initial connection of the database
@@ -283,7 +283,7 @@ exhausted. You can use either of these methods to increase the size:
283283
* Provide the -C option to rwloadsim
284284
* Use the $maxcode:N directive in your startup file such as ~/.rwloadsim.rwl.
285285

286-
### RWL-076 critical error: "maximum number of identifers (%d) exceeded - rerun with -I option"
286+
### RWL-076 critical error: "maximum number of identifiers (%d) exceeded - rerun with -I option"
287287
The fixed array for storing your variable names has been
288288
exhausted. You can use either of these methods to increase the size:
289289
* Put $longoption:namecount=N in your first .rwl file
@@ -347,7 +347,7 @@ A syntax error during parse of random string.
347347

348348
### RWL-091 error: "random string '%s' cannot be used"
349349
The random string was declared, but cannot be used due to errors.
350-
You must fix the random string delcaration.
350+
You must fix the random string declaration.
351351

352352
### RWL-092 error: "incorrect random procedure declaration"
353353
A syntax error during parse of random procedure.
@@ -383,7 +383,7 @@ A variable of some type was found when a variable of a different type
383383
was expected. This is a generic error used in several contexts.
384384

385385
### RWL-101 error: "only %s allowed after this end"
386-
The keyword 'end' was followed by an unecpected keyword or identifier.
386+
The keyword 'end' was followed by an unexpected keyword or identifier.
387387

388388
### RWL-102 error: "invalid thread count(%d) - must be zero or positive"
389389
The count of threads started in each group of threads in the run statement
@@ -445,7 +445,7 @@ The limit on depth of $include has been reached. You must
445445
recompile rwloadsim from source to increase the limit.
446446

447447
### RWL-116 error: "$include recursion into '%s' attempted"
448-
You have attemted including some file using the $include directive from
448+
You have attempted including some file using the $include directive from
449449
within the file itself. This is not supported.
450450

451451
### RWL-117 error: "cannot use %s database '%s' for at clause inside procedure/function"
@@ -508,16 +508,16 @@ A syntax error during parse of a function declaration.
508508
A semicolon was found at a place where it is not expected.
509509
It is used to terminate a statement or declaration.
510510

511-
### RWL-134 critical error: "too many invalid charaters (is input an rwl file?)"
511+
### RWL-134 critical error: "too many invalid characters (is input an rwl file?)"
512512
The scanner has found a high number of invalid characters and
513513
all further processing is stopped.
514514

515515
### RWL-135 warning: "public %s '%s' is hidden by private %s declared at [%s;%d]"
516-
A private variable is given the same name as an already existig public
516+
A private variable is given the same name as an already existing public
517517
variable. The private variable will be used during the rest of the source file.
518518

519519
### RWL-136 warning: "%s %s '%s' hides public %s declared at [%s;%d]"
520-
A local or private variable is given the same name as an already existig
520+
A local or private variable is given the same name as an already existing
521521
public variable. The public variable will not be accessible.
522522

523523
### RWL-137 warning: "a comma is recommended after '%s' in %s"
@@ -543,7 +543,7 @@ When the -e flag is used, neither procedures nor sql are being executed.
543543
### RWL-142 error: "incorrect lob declaration"
544544
A syntax error during parse of a clob declaration.
545545

546-
### RWL-143 error: "not anough arguments to %s"
546+
### RWL-143 error: "not enough arguments to %s"
547547
There are not sufficient arguments for the value of the -A or -F option.
548548

549549
### RWL-144 warning: "array DML not supported for lob"
@@ -652,11 +652,11 @@ The exit statement is a possible alternative.
652652

653653
### RWL-172 error: "cannot create thread"
654654
This error is returned when OCIThreadCreate returns an OCI_NO_DATA error.
655-
There is no O/S error assoicated with this, but the typical cause is that
655+
There is no O/S error associated with this, but the typical cause is that
656656
the user is unable to start a new thread due to a too low value for ulimit -u.
657657

658658
### RWL-173 warning: "local %s '%s' hides %s %s declared at [%s;%d]"
659-
A local variable is given the same name as an already existig private
659+
A local variable is given the same name as an already existing private
660660
or public variable. The private/public variable will not be accessible.
661661

662662
### RWL-174 error: "cannot open '%s' for reading, O/S error: %s"
@@ -769,7 +769,7 @@ simple function. As an example, this is used when string functions
769769
handle strings a sequence bytes.
770770

771771
### RWL-199 error: "first argument to erlangk(%d) must be at least 1"
772-
The minium allowed value for k in erlangk is 1.
772+
The minimum allowed value for k in erlangk is 1.
773773

774774
### RWL-200 error: "first argument to erlangk(%d) is unreasonably high"
775775
The maximum allowed value for k in erlangk is 20.
@@ -780,7 +780,7 @@ You have asked for a define array, but no explicit defines are found.
780780
### RWL-202 error: "variable '%s' has wrong type for define array"
781781
Use can only use define arrays with variables of type integer, double or string.
782782

783-
### RWL-203 error: "the size of define array cannot by modifed"
783+
### RWL-203 error: "the size of define array cannot by modified"
784784
The size of a define array can only be specified at declaration time.
785785

786786
### RWL-204 warning: "this is not C - '==' is taken as '='"
@@ -791,7 +791,7 @@ The equality comparison operator is '='.
791791
A syntax error during parse of the sql_id function.
792792

793793
### RWL-206 warning: "OCI compile environment (%d.%d) is different from runtime (%d.%d)"
794-
Your rwloadsim executables was compiled in a different Oracle Call Interface
794+
Your rwloadsim executable was compiled in a different Oracle Call Interface
795795
version than the one being found via LD_LIBRARY_PATH during execution.
796796
To mute the error, put $mute:206 in your .rwloadsim.rwl startup file.
797797

@@ -860,7 +860,7 @@ Only seen when executing test.sh as the syntax is not documented.
860860
If you use the deprecated syntax, please change your code.
861861

862862
### RWL-221 error: "$if without matching $then on same line"
863-
The $if and $then directivies must be on the same input line.
863+
The $if and $then directives must be on the same input line.
864864

865865
### RWL-222 error: "expected valid expression in $if ... $then directive"
866866
A syntax error during parse of the expression in an $if $then directive.
@@ -870,7 +870,7 @@ The formal argument of a procedure or function, and the return
870870
if a function must be one of integer, double or string.
871871

872872
### RWL-224 error: "%s is not available in database version %d"
873-
You are using a feature that requies a higher Oracle Client
873+
You are using a feature that requires a higher Oracle Client
874874
release than the one you have.
875875

876876
### RWL-225 error: "sql text has already been provided for '%s'"
@@ -953,7 +953,7 @@ be used to execute any sql. As a consequence, cursorcache has no effect.
953953

954954
### RWL-244 error: "'%s' is not a database of type connection pool"
955955
When using the 'connect connectionpool' option during a database declaration,
956-
the database named by the option must be delcared as a connectionpool.
956+
the database named by the option must be declared as a connectionpool.
957957

958958
### RWL-245 error: "the %s database cannot be a connection pool"
959959
You cannot use a connection pool for this database.
@@ -1064,8 +1064,8 @@ character was found. Supported characters include 'i', 'f', 'e', 's'.
10641064
While scanning the printf format, some non ascii character
10651065
was found. Supported characters include 'i', 'f', 'e', 's'.
10661066

1067-
### RWL-271 error: "the number of output elements in '%s' is insufficent for the number of expressions"
1068-
Each expression provided as an argument to prinft must have a coresponding
1067+
### RWL-271 error: "the number of output elements in '%s' is insufficient for the number of expressions"
1068+
Each expression provided as an argument to printf must have a corresponding
10691069
output format elements in the format string.
10701070

10711071
### RWL-272 error: "missing string name for sprintf"
@@ -1074,7 +1074,7 @@ A syntax error during parse of sprintf statement.
10741074
### RWL-273 warning: "the identifier '%s' will be taken as a SQL keyword in a future version"
10751075
You are using an identifier that in a future version of rwloadsim will be
10761076
used as a keyword starting a SQL statement. You should change your code to
1077-
use a different identifer.
1077+
use a different identifier.
10781078

10791079
### RWL-274 error: "sql '%s' cannot be flushed using array execute"
10801080
You have attempted using the modify sql array execute statement with
@@ -1102,9 +1102,9 @@ single '.' or '/' at the end of the line.
11021102

11031103
### RWL-278 error: "parse error at position %d: %s"
11041104
A syntax error was found during parsing by bison at the character position
1105-
shown; the error may included the unexpected symbol and/or a list of expected
1106-
symbols to helt identify the actual error. It is followed by another error
1107-
showing the rwlloadsim error.
1105+
shown; the error may include the unexpected symbol and/or a list of expected
1106+
symbols to help identify the actual error. It is followed by another error
1107+
showing the rwloadsim error.
11081108

11091109
### RWL-279 warning: "invalid escape '\%c' in string constant"
11101110
The valid escapes in a string constant are \\ \" \t \n \e \r or
@@ -1137,7 +1137,7 @@ When generating an executable for direct execution of rwl scripts,
11371137
you cannot use the feature or option shown.
11381138

11391139
### RWL-287 error: "when generating an executable, the following command: %s returned with status %d"
1140-
When genrating an executable with direct execution of an rwl script, the
1140+
When generating an executable with direct execution of an rwl script, the
11411141
command to compile and link has failed.
11421142

11431143
### RWL-288 error: "libclntsh.so cannot be found"
@@ -1147,14 +1147,14 @@ binary.
11471147

11481148
### RWL-289 information: "the executable '%s' was generated"
11491149
The --generate option was used to create an executable from rwl scripts,
1150-
and the named executable was succesfully generated.
1150+
and the named executable was successfully generated.
11511151

11521152
### RWL-290 warning: "a sensitive keyword was found during scanning"
11531153
During scan of the rwl files for generating an executable, one or more
11541154
sensitive keywords (including 'database', 'password' and others) was found. You
11551155
are recommended making sure no sensitive information is included in the
11561156
generated executable. Note that rwloadsim cannot complete verify no sensitive
1157-
inforation is put in the executable.
1157+
information is put in the executable.
11581158

11591159
### RWL-291 warning: "opening a file with '%s' in the file name is deprecated"
11601160
In version 3.1, you need to change your syntax for opening files to use
@@ -1167,7 +1167,7 @@ close a file by assigning null to it. You should use the := operator.
11671167

11681168
### RWL-293 warning: "'%s' will be a keyword in a future release"
11691169
You are using an identifier that in some future release will be a keyword.
1170-
You should change your code and use a different identifer as it otherwise will
1170+
You should change your code and use a different identifier as it otherwise will
11711171
cause a syntax error in the future.
11721172

11731173
### RWL-294 error: "Variables of type %s cannot be declared threads sum"
@@ -1176,7 +1176,7 @@ or double.
11761176

11771177
### RWL-295 warning: "Assign to threads global '%s' with same variable in expression"
11781178
The expression being assigned to a threads global variable includes the same
1179-
variable. Each indiviaul access to threads global variables is protected by a
1179+
variable. Each individual access to threads global variables is protected by a
11801180
mutex, and the assignment therefore has a race condition.
11811181

11821182
### RWL-296 warning: "aborted prematurely"
@@ -1197,21 +1197,21 @@ and therefore stop time must be after both of start time and of current time.
11971197

11981198
### RWL-300 error: "break querynotification can only be performed from inside callback"
11991199
The break querynotification is breaking a query notification before the stop
1200-
time experes, but the statement is executed outside of the notification
1200+
time expires, but the statement is executed outside of the notification
12011201
callback. The call must be executed in the 'then' clause of query notification.
12021202

12031203
### RWL-301 error: "the stddev (%.2f) argument to normalrandom is not positive"
12041204
The second argument to the normalrandom function is the standard deviation,
12051205
which must be a positive number.
12061206

12071207
### RWL-302 error: "the statisticsonly procedure '%s' cannot execute any SQL"
1208-
The statisticsonly attribute can only be used with procdures that do not
1208+
The statisticsonly attribute can only be used with procedures that do not
12091209
perform any sql or other database calls. You need to either remove database
12101210
activity from the procedure or remove the statisticsonly attribute.
12111211

12121212
### RWL-303 error: "the debug options '%s' could not be resolved"
1213-
debug arugments must be a comma separated list of debug options without
1214-
spaces; each option either a hexadeciman number (potentially prefixed by
1213+
debug arguments must be a comma separated list of debug options without
1214+
spaces; each option either a hexadecimal number (potentially prefixed by
12151215
0x or 0X) or one of the text values exec, var, eval, bison, or sql
12161216
.
12171217

@@ -1236,7 +1236,7 @@ During handling of sqllogging from option or directive, sqllogging was already
12361236
enabled. You can turn off sqllogging via the $sqllogging:off directive.
12371237

12381238
### RWL-309 warning: "ampersand replacement is not available for %s"
1239-
Ampsersand replacement can only be used in sql text directly embedded in
1239+
Ampersand replacement can only be used in sql text directly embedded in
12401240
your rwl file and the sql provided appears to have & used for replacement. You
12411241
can use dynamic sql as an alternative, unless the & actually is part of your
12421242
sql statement in which case the warning can be ignored. To prevent the check

docs/GENERATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
## Generating stand alone executables
22
If you have some rwl scripts that you would like to distribute to other systems,
3-
these systems will need an instalation of rwloadsim to execute these.
3+
these systems will need an installation of rwloadsim to execute these.
44
This requirement can be lifted using the *generate* option of rwloadsim,
55
which will create a single executable that has both the code to rwloadsim
66
itself and also includes your rwl script source code.
77

88
After generating such an executable, it can be copied to any system that
99
has an Oracle environment, such as Instant Client, a server or a full client
1010
installation.
11-
The only requirent is that the version of the Oracle environment on the target
11+
The only requirement is that the version of the Oracle environment on the target
1212
system is the same version or newer than on the system, where you ran the generation.
1313

1414
As an example, the ociping.rwl and connping.rwl scripts available in the public

docs/INSTALL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ There are three types of binary distributions available at github releases:
44

55
* Complete binaries are in files that have -bin- in the name; this is the preferred distribution for most users.
66
* Little more than executables are in files that have -binonly- in the name.
7-
* Generated stand-alone binaries for utilies like ociping and awrreport; the file name starts with generated.
7+
* Generated stand-alone binaries for utilities like ociping and awrreport; the file name starts with generated.
88

99
### Using complete binaries
1010

@@ -162,7 +162,7 @@ For most tables, this is insert and select.
162162
In version 3.0.6, there are new columns added to
163163
the ashdata table, and any existing repository need to be updated
164164
to reflect this.
165-
This update must be done _before_ you attept using the new
165+
This update must be done _before_ you attempt using the new
166166
rwloadsim executable,
167167
as you will otherwise get ORA- errors during execution of the oltpworkload.
168168

@@ -182,7 +182,7 @@ file against your repository and potentially secondary schema.
182182
In version 3.0.4, there are new columns added to
183183
the persec table, and any existing repository need to be updated
184184
to reflect this.
185-
This update must be done _before_ you attept using the new
185+
This update must be done _before_ you attempt using the new
186186
rwloadsim executable,
187187
as you will otherwise get ORA- errors during flush of the per second statistics.
188188

docs/INTERPRETER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ $longoption directive to be effective.
5151
## Navigation
5252
* [index.md](index.md#rwpload-simulator-users-guide) Table of contents
5353
* [ERROR.md](ERROR.md) Previous topic: Error handling during parse and execution
54-
* [GENERATE.md](GENERATE.md) Next topic: Generating stand alone exeuctables
54+
* [GENERATE.md](GENERATE.md) Next topic: Generating stand alone executables

0 commit comments

Comments
 (0)