Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typos #388

Merged
merged 1 commit into from
Jul 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Build/Bawt-2.1.0/Bawt.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -4145,7 +4145,7 @@ namespace eval BawtMain {
append msg "--compiler <string> : Build with specified compiler version.\n"
append msg " Choices: gcc vs2008 vs2010 vs2012 vs2013 vs2015 vs2017 vs2019 vs2022.\n"
append msg " Specify primary and secondary compiler by adding a plus sign\n"
append msg " inbetween. Example: gcc+vs2013.\n"
append msg " in between. Example: gcc+vs2013.\n"
append msg " Default: [GetCompilerVersion].\n"
append msg "--gccversion <string> : Build with specified MinGW gcc version. Windows only.\n"
append msg " Choices: 4.9.2 5.2.0 7.2.0 8.1.0.\n"
Expand Down Expand Up @@ -5235,7 +5235,7 @@ namespace eval BawtMain {
}
}
} else {
# All other strings are interpeted as user configurations.
# All other strings are interpreted as user configurations.
AddUserConfig $libName $arg
}
}
Expand Down
16 changes: 8 additions & 8 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Version 1.04 August 2003

Bug Fixes

[ 791801 ] doublequoted SQL not escaped when parsed
[ 791801 ] double quoted SQL not escaped when parsed
[ 791802 ] bind variable incorrectly parsed
[ 791808 ] Startup error if run from different directory

Expand Down Expand Up @@ -90,7 +90,7 @@ Added networking functionality and operating modes as a base for remote distribu

Added Master Distribution functionality to distribute files between clients.

Tablelist package incorporated into code to reduce external pacakage requirements
Tablelist package incorporated into code to reduce external package requirements

Tested with TCL 8.4.5 and TK 8.4.5

Expand Down Expand Up @@ -459,7 +459,7 @@ Changed "Number of Threads" to "Virtual Users to Build Schema" in Schema builds

Added Number of Virtual Users to result of TPC-C timed driver workloads

Mulithreaded and tuned Oracle TPC-H Schema build
Multithreaded and tuned Oracle TPC-H Schema build

Added NLS Settings to TPC-H build and driver scripts

Expand Down Expand Up @@ -487,7 +487,7 @@ tcl8.5.9, tk8.5.9, thread2.6.6, oratcl4.5, mysqltcl3.05 tclodbc2.5.1

for Linux x86 and x86-64 and Windows x86 and x86-64

Significant performance and scalability improvements with Windows binaries to eqivalence of Linux platform
Significant performance and scalability improvements with Windows binaries to equivalence of Linux platform

Bug Fixes

Expand Down Expand Up @@ -589,7 +589,7 @@ Changed Application name from Hammerora to HammerDB

Updated Splash Screen with new HammerDB logo to reflect name change

Added HammerDB icon to be displayed when minmised and in corner of Windows version
Added HammerDB icon to be displayed when minimised and in corner of Windows version

Added support for TimesTen database with TPC-C workload

Expand Down Expand Up @@ -729,7 +729,7 @@ Version 2.21 Nov 2016

Bug fixes

[#109] Exit on Oracle Errror not applied when set in config.xml
[#109] Exit on Oracle Error not applied when set in config.xml
[#110] Running autopilot from master only kills virtual users in local instance
[#111] Oracle AWR Driver script reports double TPM when running against RAC
[#112] Metrics: too many nested evaluations (infinite loop?)
Expand Down Expand Up @@ -760,7 +760,7 @@ Removed mssqls_schema XML config parameter

Added mssqls_linux_server,mssqls_linux_athent,mssqls_linux_odbc to configuration for Linux default

Deprecated original SQL Server TPC-C schema as imcompatible with bulk load
Deprecated original SQL Server TPC-C schema as incompatible with bulk load

Thomas Kejser SQL Server TPC-C schema set as default for all platforms

Expand Down Expand Up @@ -805,7 +805,7 @@ Version 3.0 Apr 2018
Bug fixes

[#114] Metrics connection is lost on Windows server
[#115] wrong # args error when selecting Times Ten compatability in Oracle
[#115] wrong # args error when selecting Times Ten compatibility in Oracle
[#116] Incorrect time displayed in long running autopilot
[#117] Only Basic Fonts used on Linux
[#118] Oracle Hash Clusters schema does not build when warehouses not divisible by 100
Expand Down
18 changes: 9 additions & 9 deletions DocBook/docs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2137,7 +2137,7 @@ Success ... loaded library mariatcl for MariaDB</programlisting>

<para>The goal of HammerDB is to make database performance data open
source and enable database professionals a fast and low-cost to compare
and contrast database systems. HamerDB maintains a list of <link
and contrast database systems. HammerDB maintains a list of <link
xlink:href="https://www.hammerdb.com/benchmarks.html">3rd party
publications on the HammerDB website</link>.</para>
</section>
Expand Down Expand Up @@ -4482,7 +4482,7 @@ tpcc=# select relname, n_tup_ins - n_tup_del as rowcount from pg_stat_user_table
determines the number of times that a script will be run in its
entirety. The total_iterations value is internal to the TPROC-C
driver script and determines the number of times the internal
loop is iterated ie for {set it 0} {$it &lt; $total_iterations}
loop is iterated, i.e. for {set it 0} {$it &lt; $total_iterations}
{incr it} { ... } In other words if total_iterations is set to
1000 then the executing user will log on once execute 1000
transactions and then log off. If on the other hand Iterations
Expand Down Expand Up @@ -5628,7 +5628,7 @@ Vuser 3:sproc_cur:slev_st connections:{odbcc2 odbcc3} cursors:::oo::Obj28::Stmt:
and tpcc3 and the connections chosen to round robin between them,
therefore the actual number of NOPM is 3X that recorded from just the
standalone connection. In a correctly configured cluster environment
it would be the same and the results wouyld be both consistent and
it would be the same and the results would be both consistent and
valid. Be aware that these client side values are recorded during both
rampup and timed test periods and therefore may not accurately reflect
the results from a valid timed test.</para>
Expand Down Expand Up @@ -5791,7 +5791,7 @@ Starting 4 replica HammerDB instance
HammerDB CLI v4.1
Copyright (C) 2003-2021 Steve Shaw
Type "help" for a list of commands
Doing wait to connnect ....
Doing wait to connect ....
HammerDB CLI v4.1
Copyright (C) 2003-2021 Steve Shaw
Primary waiting for all replicas to connect .... 0 out of 4 are connected
Expand Down Expand Up @@ -7572,7 +7572,7 @@ hammerdb&gt;
|vucreated|vustatus|datagen]</entry>

<entry>prints the current configuration: db: database bm:
benchmark dict: the dictionary for the current database ie all
benchmark dict: the dictionary for the current database, i.e. all
active variables script: the loaded script vuconf: the virtual
user configuration vucreated: the number of virtual users
created vustatus: the status of the virtual users datagen :
Expand Down Expand Up @@ -7893,7 +7893,7 @@ tpcc {
at the end of the build. Note that exactly as the GUI the build is
multithreaded with Virtual Users running simultaneously.</para>

<programlisting>hhammerdb&gt;buildschema
<programlisting>hammerdb&gt;buildschema
Script cleared
Building 10 Warehouses with 5 Virtual Users, 4 active + 1 Monitor VU(dict value mssqls_num_vu is set to 4)
Ready to create a 10 Warehouse MS SQL Server TPROC-C schema
Expand Down Expand Up @@ -8486,7 +8486,7 @@ GET bm: Show the configured benchmark.
get http://localhost:8080/print?bm / get http://localhost:8080/bm
{"benchmark": "TPC-C"}

GET dict: Show the dictionary for the current database ie all active variables.
GET dict: Show the dictionary for the current database, i.e. all active variables.
get http://localhost:8080/print?dict / http://localhost:8080/dict

GET script: Show the loaded script.
Expand Down Expand Up @@ -10004,7 +10004,7 @@ force_parallel_mode = on

<programlisting># Enable compression by default on create, set to 0 to turn off
infinidb_compression_type=2
# Default for string table threshhold
# Default for string table threshold
infinidb_stringtable_threshold=20
# infinidb local query flag
# infinidb_local_query=1
Expand Down Expand Up @@ -12303,7 +12303,7 @@ GEOMEAN 4.011822724
</figure>

<para>You may also view the data with a text editor to see that the
generated data is delimited by a pip character ie “|” and intended NULL
generated data is delimited by a pip character, i.e. “|” and intended NULL
values are represented by blank or empty data.</para>

<figure>
Expand Down
2 changes: 1 addition & 1 deletion agent/agent
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exit
########################################################################
# HammerDB Metrics
#
# Adpated from http://wiki.tcl.tk/37820
# Adapted from http://wiki.tcl.tk/37820
# mpstatPlot -- visual display of mpstat idle value for all processors
# by Keith Vetter
#
Expand Down
4 changes: 2 additions & 2 deletions images/icons.tcl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#All icons orignally sourced for from open-iconic https://github.com/iconic/open-iconic
#non-scaleable icons are PNG in base64 format (modified with GIMP)
#scaleable icons are SVG format (modified with Inkscape)
#non-scalable icons are PNG in base64 format (modified with GIMP)
#scalable icons are SVG format (modified with Inkscape)
#All icon sets in HammerDB including modification and colouring by Lucas Shaw
proc create_icon_images { iconset } {
switch $iconset {
Expand Down
4 changes: 2 additions & 2 deletions modules/comm-4.5.6.tm
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ proc ::comm::commConfigure {chan {force 0} args} {

# ::comm::Capability --
#
# Internal command. Interogate an interp for
# Internal command. Interrogate an interp for
# the commands needed to execute regular and
# hook scripts.

Expand Down Expand Up @@ -1455,7 +1455,7 @@ proc ::comm::CommRunHook {chan event} {
## system.

# AsyncPrepare, AsyncCheck: Initialize state information for async
# return upon start of a remote invokation, and checking the state for
# return upon start of a remote invocation, and checking the state for
# async return.

proc ::comm::AsyncPrepare {chan fid cmd ser} {
Expand Down
4 changes: 2 additions & 2 deletions modules/etprof-1.1.tm
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ package provide etprof 1.1
}

proc ::etprof::TraceHandler {name cmd args} {
# We need to misure the elapsed time as early as possible.
# We need to measure the elapsed time as early as possible.
set enter_clicks [clock clicks]
set enter_secs [clock seconds]
set elapsed [expr {$enter_clicks-$::etprof::timer}]
Expand Down Expand Up @@ -102,7 +102,7 @@ package provide etprof 1.1
# Add the time spent inside the handler to every element
# of the cumulative timers list. Note that the time needed
# to perform the following operation will be accounted to user code
# as comulative, but from worst-case tests performed this does not
# as cumulative, but from worst-case tests performed this does not
# seems to alter the output in a significant way.
if {[llength $::etprof::cumulative_timers]} {
set spent [expr {[clock clicks]-$enter_clicks}]
Expand Down
2 changes: 1 addition & 1 deletion modules/huddle-0.3.tm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# It is published with the terms of tcllib's BSD-style license.
# See the file named license.terms.
#
# This library provide functions to differentinate string/list/dict in multi-ranks.
# This library provide functions to differentiate string/list/dict in multi-ranks.
#
# Copyright (c) 2008-2011 KATO Kanryu <kanryu6@users.sourceforge.net>
# Copyright (c) 2015 Miguel Martínez López <aplicacionamedida@gmail.com>
Expand Down
4 changes: 2 additions & 2 deletions modules/json-1.3.4.tm
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ proc ::json::Implementations {} {
#
# Results:
# A list of implementation keys. In the order
# of preference, most prefered first.
# of preference, most preferred first.

proc ::json::KnownImplementations {} {
return {critcl tcl}
Expand Down Expand Up @@ -457,7 +457,7 @@ proc ::json::many-json2dict_critcl {args} {

# ### ### ### ######### ######### #########
## Initialization: Choose an implementation,
## most prefered first. Loads only one of the
## most preferred first. Loads only one of the
## possible implementations. And activates it.

namespace eval ::json {
Expand Down
6 changes: 3 additions & 3 deletions modules/promise-1.1.0.tm
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ oo::class create promise::Promise {
}

# Internal method to queue all registered reactions based on
# whether the promise is succesfully fulfilled or not
# whether the promise is successfully fulfilled or not
method ScheduleReactions {} {
if {$_state ni {FULFILLED REJECTED} || [llength $_reactions] == 0 } {
# Promise is not settled or no reactions registered
Expand Down Expand Up @@ -376,8 +376,8 @@ oo::class create promise::Promise {
set edict $_edict
}
# TBD - how exactly is level to be handled?
# If -level is not 0, bgerror barfs because it treates
# it as TCL_RETURN no matter was -code is
# If -level is not 0, bgerror barfs because it treats
# it as TCL_RETURN no matter what -code is
dict set edict -level 0
after idle [interp bgerror {}] [list $_value $edict]
set _bgerror_done 1
Expand Down
2 changes: 1 addition & 1 deletion modules/reformat_tcl-1.0.tm
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ namespace eval reformat_tcl {
} elseif {$ch=="\""} {
set nquot [expr {[incr nquot] % 2}]
} elseif {$nquot} {
# anything in quotes doesn't impact indendation
# anything in quotes doesn't impact indentation
} elseif {$ch=="\{"} {
if {[string range $newline $i $i+2]=="\{\"\}"} {
incr i 2 ;# quote in braces - correct (though tricky)
Expand Down
2 changes: 1 addition & 1 deletion modules/rest-1.4.tm
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ proc ::rest::create_interface {name} {

# mime_multipart --
#
# creates a mime mulipart message
# creates a mime multipart message
#
# ARGS:
# var name of variable in which the mime body is stored
Expand Down
4 changes: 2 additions & 2 deletions modules/socktest-0.2.tm
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace eval socktest {
9 Undefined
}

# test if port 'sock' at adress 'host' is responding within timeout
# test if port 'sock' at address 'host' is responding within timeout
# note: socket -async requires a running eventloop
proc socktest {host sock {timeout 1000}} {
if {$timeout == 0} {
Expand All @@ -35,7 +35,7 @@ namespace eval socktest {
# waiting for timeout or other result
vwait [namespace current]::done$sock
catch {close $s}
after cancel $aid; # catch not neccessary
after cancel $aid; # catch not necessary
set ret [set done$sock]
unset done$sock; # save mem
return $ret
Expand Down
18 changes: 9 additions & 9 deletions modules/tablelist_tile-5.18.tm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Tablelist package modified to operate as a module
#Copyright norice from original package
#Copyright notice from original package
#Multi-column listbox and tree widget package Tablelist, version 5.18
#Copyright (c) 2000-2017 Csaba Nemethi (E-mail: csaba.nemethi@t-online.de)
#
Expand Down Expand Up @@ -3670,7 +3670,7 @@ proc tablelist::labelB1Down {w x shiftPressed} {
# tablelist::labelB1Motion
#
# This procedure is invoked to process mouse motion events in the header label
# w of a tablelist widget while button 1 is down. If this event occured during
# w of a tablelist widget while button 1 is down. If this event occurred during
# a column resize operation then the procedure computes the difference between
# the pointer's new x-coordinate relative to that label and the one recorded by
# the last invocation of labelB1Down, and adjusts the width of the
Expand Down Expand Up @@ -3870,7 +3870,7 @@ proc tablelist::labelB1Motion {w X x y} {
#
# This procedure is invoked when the mouse pointer enters the header label w of
# a tablelist widget while mouse button 1 is down. If the label was not
# previously clicked then nothing happens. Otherwise, if this event occured
# previously clicked then nothing happens. Otherwise, if this event occurred
# during a column resize operation then the procedure updates the mouse cursor
# accordingly. Otherwise it changes the label's relief to sunken.
#------------------------------------------------------------------------------
Expand Down Expand Up @@ -3934,7 +3934,7 @@ proc tablelist::labelB1Leave {w x y} {
#
# This procedure is invoked when mouse button 1 is released, if it was
# previously clicked in a label of the tablelist widget win. If this event
# occured during a column resize operation then the procedure redisplays the
# occurred during a column resize operation then the procedure redisplays the
# column and stretches the stretchable columns. Otherwise, if the mouse button
# was released in the previously clicked label then the procedure restores the
# label's relief and invokes the command specified by the -labelcommand or
Expand Down Expand Up @@ -4067,7 +4067,7 @@ proc tablelist::labelB1Up {w X} {
# tablelist::labelB3Down
#
# This procedure is invoked when mouse button 3 is pressed in the header label
# w of a tablelist widget. If the Shift key was down when this event occured
# w of a tablelist widget. If the Shift key was down when this event occurred
# then the procedure restores the last static width of the given column;
# otherwise it configures the width of the given column to be just large enough
# to hold all the elements (including the label).
Expand Down Expand Up @@ -22720,7 +22720,7 @@ proc tablelist::synchronize win {
#
# Here we are in the case that the procedure was scheduled for
# execution at idle time. However, it might have been invoked
# directly, before the idle time occured; in this case we should
# directly, before the idle time occurred; in this case we should
# cancel the execution of the previously scheduled idle callback.
#
after cancel $data(syncId) ;# no harm if data(syncId) is no longer valid
Expand Down Expand Up @@ -24968,7 +24968,7 @@ proc tablelist::collapseSubCmd {win argList} {
set callerProc [lindex [info level -1] 0]
if {![string match "collapse*SubCmd" $callerProc]} {
#
# Destroy the label and messsage widgets
# Destroy the label and message widgets
# embedded into the descendants just elided
#
set widgets {}
Expand Down Expand Up @@ -25095,7 +25095,7 @@ proc tablelist::collapseallSubCmd {win argList} {
}

#
# Destroy the label and messsage widgets
# Destroy the label and message widgets
# embedded into the descendants just elided
#
set widgets {}
Expand Down Expand Up @@ -29324,7 +29324,7 @@ proc tablelist::displayItems win {
#
# Here we are in the case that the procedure was scheduled for
# execution at idle time. However, it might have been invoked
# directly, before the idle time occured; in this case we should
# directly, before the idle time occurred; in this case we should
# cancel the execution of the previously scheduled idle callback.
#
after cancel $data(dispId) ;# no harm if data(dispId) is no longer valid
Expand Down
2 changes: 1 addition & 1 deletion modules/task-1.1.1.tm
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ proc ::task args {
in { set execution_time [expr { $now + [::task::time $arg] }] }
at {
if { [string length $arg] < [string length $now] } {
# We assume this is seconds since it couldnt be milliseconds :-P
# We assume this is seconds since it couldn't be milliseconds :-P
set execution_time [expr { $arg * 1000 }]
} else {
set execution_time $arg
Expand Down
Loading