From f66642376f949d75fa3c9f598cb3fb40173395b6 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:48:46 -0500 Subject: [PATCH 01/73] spelling: absence Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index 8dc4680ab19..91df9b21873 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -7074,7 +7074,7 @@ select * from t1 left join t2 on f1=t2.f2 where t1.f2='a'; drop table t1,t2; # -# Bug#15538 unchecked table absense caused server crash. +# Bug#15538 unchecked table absence caused server crash. # --error 1064 select * from (select * left join t on f1=f2) tt; From dd54ea5a0161d459489e21d84f91cd6bd4a8d61a Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:48:47 -0500 Subject: [PATCH 02/73] spelling: accordingly Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/binlogfilter/binlogfiltersession.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/binlogfilter/binlogfiltersession.cc b/server/modules/filter/binlogfilter/binlogfiltersession.cc index f338c1a12be..8e97351ff91 100644 --- a/server/modules/filter/binlogfilter/binlogfiltersession.cc +++ b/server/modules/filter/binlogfilter/binlogfiltersession.cc @@ -774,7 +774,7 @@ void BinlogFilterSession::handlePackets(uint32_t len, const REP_HEADER& hdr) // Mark the beginning of a large event transmission m_is_large = true; - // Set remaining data to receive accordingy to hdr.event_size + // Set remaining data to receive accordingly to hdr.event_size m_large_left = hdr.event_size - (MYSQL_PACKET_LENGTH_MAX - 1); } } From ee58a1c62754199794e2af97d01e90e02b3b60f1 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 6 Apr 2023 21:44:35 -0400 Subject: [PATCH 03/73] spelling: adjustments Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/cacheconfig.cc | 4 ++-- server/modules/filter/cache/cacheconfig.hh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/modules/filter/cache/cacheconfig.cc b/server/modules/filter/cache/cacheconfig.cc index 9b147d5ddb6..13c415dd5a8 100644 --- a/server/modules/filter/cache/cacheconfig.cc +++ b/server/modules/filter/cache/cacheconfig.cc @@ -332,7 +332,7 @@ bool CacheConfig::post_configure(const std::mapsoft_ttl > this->hard_ttl) { diff --git a/server/modules/filter/cache/cacheconfig.hh b/server/modules/filter/cache/cacheconfig.hh index a720d8d6316..aa24ac4b789 100644 --- a/server/modules/filter/cache/cacheconfig.hh +++ b/server/modules/filter/cache/cacheconfig.hh @@ -89,7 +89,7 @@ private: bool post_configure(const std::map& nested_params) override; bool is_config_valid(const std::map& nested_params); - void make_config_adjustements(); + void make_config_adjustments(); private: CacheFilter* m_pFilter; From ec3e50573dacf634523df0b176132e619bfa706b Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:48:58 -0500 Subject: [PATCH 04/73] spelling: alphanumeric Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/cachefiltersession.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/cachefiltersession.cc b/server/modules/filter/cache/cachefiltersession.cc index b12c6e5badf..1263942f7b0 100644 --- a/server/modules/filter/cache/cachefiltersession.cc +++ b/server/modules/filter/cache/cachefiltersession.cc @@ -265,7 +265,7 @@ StatementType get_statement_type(std::string_view sql) { // All is fine; either the statement only contain the keyword (so syntactically // the statement is erroenous) or the keyword was followed by something else - // than an alhpanumeric character, e.g. whitespace. + // than an alphanumeric character, e.g. whitespace. } else { From 104fb72b66dcd64f01c6f07fa333836d1f0c9a50 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:49:00 -0500 Subject: [PATCH 05/73] spelling: although Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index 91df9b21873..d7d7098a7fe 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -1433,7 +1433,7 @@ DROP TEMPORARY TABLE t2; --echo # Bug #22909 "Using CREATE ... LIKE is possible to create field --echo # with invalid default value" --echo # ---echo # Altough original bug report suggests to use older version of MySQL +--echo # Although original bug report suggests to use older version of MySQL --echo # for producing .FRM with invalid defaults we use sql_mode to achieve --echo # the same effect. --disable_warnings From c2267f6a0e633418ed351836707052d2c5d8c467 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:49:01 -0500 Subject: [PATCH 06/73] spelling: ambiguous Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index d7d7098a7fe..03774da6957 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -6691,7 +6691,7 @@ drop table t1,t2; drop view v1; # -# Bug #10646 Columns included in the join between two tables are ambigious +# Bug #10646 Columns included in the join between two tables are ambiguous # in the select # From 24f12f873abc93d44defb48cbe2851c4708c7dd5 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:49:09 -0500 Subject: [PATCH 07/73] spelling: autocommit Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/cachefiltersession.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/cachefiltersession.cc b/server/modules/filter/cache/cachefiltersession.cc index 1263942f7b0..7344cbbdc08 100644 --- a/server/modules/filter/cache/cachefiltersession.cc +++ b/server/modules/filter/cache/cachefiltersession.cc @@ -604,7 +604,7 @@ bool CacheFilterSession::clientReply(GWBUF&& data, const mxs::ReplyRoute& down, if (m_invalidate_now) { // The response to either a COMMIT, or to UPDATE/DELETE/INSERT with - // autcommit being true. + // autocommit being true. if (reply.is_complete()) { From ad705880dccd710005671bd0445b58900bb55227 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:49:12 -0500 Subject: [PATCH 08/73] spelling: because Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index 03774da6957..15108088e93 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -297,7 +297,7 @@ insert into t2 values(10),(20); create table t3 like t1; show create table t3; select * from t3; -# Disable PS becasue of @@warning_count +# Disable PS because of @@warning_count create table if not exists t3 like t1; --disable_ps_protocol select @@warning_count; @@ -5982,7 +5982,7 @@ CREATE TABLE t1 (gvid int(10) unsigned default NULL, hmid int(10) unsigned defa INSERT INTO t1 VALUES (200001,2,1,1,100,1,1,1,0,0,0,1,0,1,20020425060057,'\\\\ARKIVIO-TESTPDC\\E$',''),(200002,2,2,1,101,1,1,1,0,0,0,1,0,1,20020425060057,'\\\\ARKIVIO-TESTPDC\\C$',''),(200003,1,3,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,1,20020425060427,'c:',NULL); CREATE TABLE t2 ( hmid int(10) unsigned default NULL, volid int(10) unsigned default NULL, sampletid smallint(5) unsigned default NULL, sampletime datetime default NULL, samplevalue bigint(20) unsigned default NULL, KEY idx1 (hmid,volid,sampletid,sampletime)) ENGINE=MyISAM; INSERT INTO t2 VALUES (1,3,10,'2002-06-01 08:00:00',35),(1,3,1010,'2002-06-01 12:00:01',35); -# Disable PS becasue we get more warnings from PS than from normal execution +# Disable PS because we get more warnings from PS than from normal execution --disable_ps_protocol SELECT a.gvid, (SUM(CASE b.sampletid WHEN 140 THEN b.samplevalue ELSE 0 END)) as the_success,(SUM(CASE b.sampletid WHEN 141 THEN b.samplevalue ELSE 0 END)) as the_fail,(SUM(CASE b.sampletid WHEN 142 THEN b.samplevalue ELSE 0 END)) as the_size,(SUM(CASE b.sampletid WHEN 143 THEN b.samplevalue ELSE 0 END)) as the_time FROM t1 a, t2 b WHERE a.hmid = b.hmid AND a.volid = b.volid AND b.sampletime >= 'wrong-date-value' AND b.sampletime < 'wrong-date-value' AND b.sampletid IN (140, 141, 142, 143) GROUP BY a.gvid; --enable_ps_protocol From 80adff26eac7b6d052a46a5d236afb44096b0218 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:49:14 -0500 Subject: [PATCH 09/73] spelling: bookkeeping Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/lrustorage.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/lrustorage.cc b/server/modules/filter/cache/lrustorage.cc index 33e687e7437..3f5c47f290f 100644 --- a/server/modules/filter/cache/lrustorage.cc +++ b/server/modules/filter/cache/lrustorage.cc @@ -199,7 +199,7 @@ class LRUStorage::LRUInvalidator : public LRUStorage::Invalidator if (node_words.size() > 1) { // If there are multiple invalidation words associated with - // the node, then the node must be removed from the bookeeping + // the node, then the node must be removed from the bookkeeping // of those words as well. Otherwise we have the following: // SELECT * FROM t1 UNION SELECT * FROM t2 => Node stored to t1 and t2. // DELETE * FROM t1 => Node removed from t1 and deleted From 233ecb04eb630e511da0c0208412e31e527475ae Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:49:16 -0500 Subject: [PATCH 10/73] spelling: buffer Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/binlogfilter/binlogfiltersession.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/binlogfilter/binlogfiltersession.cc b/server/modules/filter/binlogfilter/binlogfiltersession.cc index 8e97351ff91..41e0a7b6359 100644 --- a/server/modules/filter/binlogfilter/binlogfiltersession.cc +++ b/server/modules/filter/binlogfilter/binlogfiltersession.cc @@ -815,7 +815,7 @@ void BinlogFilterSession::handleEventData(uint32_t len) * This function checks whether the statement should be replicated and whether the database/table name should * be rewritten. If a rewrite takes place, the buffer can be reallocated. * - * @param bufer Pointer to the buffer containing the event + * @param buffer Pointer to the buffer containing the event * @param hdr The extracted replication header * @param extra_len Extra static bytes that this event has (only EXECUTE_LOAD_QUERY_EVENT uses it) */ From 7b139d9bc47b4844fb0bb4652d77872a5b044164 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:43:16 -0500 Subject: [PATCH 11/73] spelling: byte Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/masking/maskingrules.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/masking/maskingrules.cc b/server/modules/filter/masking/maskingrules.cc index 72d575bbb25..ab6f9436628 100644 --- a/server/modules/filter/masking/maskingrules.cc +++ b/server/modules/filter/masking/maskingrules.cc @@ -1159,7 +1159,7 @@ bool MaskingRules::Rule::matches_account(const char* zUser, /** * Fills a buffer with a fill string * - * @param f_first The iterator pointing to first fill byt + * @param f_first The iterator pointing to first fill byte * @param f_last The iterator pointing to last fill byte * @param o_first The iterator pointing to first buffer byte * @param o_last The iterator pointing to last buffer byte From c4ee34e81269c0f820fe3fa3e78f90f689f6c868 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 22 Feb 2024 09:45:44 -0500 Subject: [PATCH 12/73] spelling: cannot Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index 15108088e93..844dde1e853 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -817,7 +817,7 @@ drop table t1, t2; # -# Bug#21772: can not name a column 'upgrade' when create a table +# Bug#21772: cannot name a column 'upgrade' when create a table # create table t1 (upgrade int); drop table t1; @@ -9249,7 +9249,7 @@ SET collation_connection=gb2312_chinese_ci; set names gb2312; set collation_connection=gb2312_bin; SET NAMES gbk; -# MXSTODO qc_sqlite can not parse quoted variables. +# MXSTODO qc_sqlite cannot parse quoted variables. # MXSTODO SET @`tcontent`:=_binary 0x50434B000900000000000000E9000000 COLLATE `binary`/*!*/; SET @test_character_set= 'gbk'; SET @test_collation= 'gbk_chinese_ci'; @@ -15759,7 +15759,7 @@ set @@autocommit=0; set @@autocommit=1; set @@global.general_log=@save_general_log; SET TIMESTAMP=10000; -# MXSTODO qc_sqlite can not parse quoted variables. +# MXSTODO qc_sqlite cannot parse quoted variables. # MXSTODO SET @`a b`='hello'; set @var1= "';aaa"; SET @var2=char(ascii('a')); @@ -15863,12 +15863,12 @@ set @my_max_allowed_packet =@@global.max_allowed_packet; set @my_delay_key_write =@@global.delay_key_write; set @my_join_buffer_size =@@global.join_buffer_size; set @my_log_warnings =@@global.log_warnings; -# MXSTODO qc_sqlite can not parse quoted variables. +# MXSTODO qc_sqlite cannot parse quoted variables. # MXSTODO set @`test`=1; set @TEST=2; -# MXSTODO qc_sqlite can not parse quoted variables. +# MXSTODO qc_sqlite cannot parse quoted variables. # MXSTODO set @"tEST"=3; -# MXSTODO qc_sqlite can not parse quoted variables. +# MXSTODO qc_sqlite cannot parse quoted variables. # MXSTODO set @`TeST`=4; set @select=2,@t5=1.23456; set @test_int=10,@test_double=1e-10,@test_string="abcdeghi",@test_string2="abcdefghij",@select=NULL; From 259e673798fc728f19d692946da9537585681a63 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:49:18 -0500 Subject: [PATCH 13/73] spelling: capability Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/nullfilter/nullfilter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/nullfilter/nullfilter.cc b/server/modules/filter/nullfilter/nullfilter.cc index 4392cded1b5..68def914e84 100644 --- a/server/modules/filter/nullfilter/nullfilter.cc +++ b/server/modules/filter/nullfilter/nullfilter.cc @@ -31,7 +31,7 @@ config::Specification specification(MXB_MODULE_NAME, config::Specification::FILT config::ParamEnumMask capabilities( &specification, "capabilities", - "Combination of mxs_routing_capabilitiy_t values.", + "Combination of mxs_routing_capability_t values.", { {RCAP_TYPE_STMT_INPUT, "RCAP_TYPE_STMT_INPUT"}, {RCAP_TYPE_TRANSACTION_TRACKING, "RCAP_TYPE_TRANSACTION_TRACKING"}, From d1712ef4223f0faed6cce1e4c94ee24cc800821d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 22 Feb 2024 09:46:43 -0500 Subject: [PATCH 14/73] spelling: case-insensitive Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/ccrfilter/ccrfilter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/ccrfilter/ccrfilter.cc b/server/modules/filter/ccrfilter/ccrfilter.cc index ac32992435b..ab92bf40180 100644 --- a/server/modules/filter/ccrfilter/ccrfilter.cc +++ b/server/modules/filter/ccrfilter/ccrfilter.cc @@ -111,7 +111,7 @@ config::ParamEnumMask options( &specification, "options", "Specificies additional options for the regular expressions; 'ignorecase' makes the " - "matching case insensitive (on by default), 'case' makes the matching case sensitive " + "matching case-insensitive (on by default), 'case' makes the matching case sensitive " "and 'extended' causes whitespace to be ignored. They have been deprecated and you " "should instead use pattern settings in the regular expressions themselves.", { From 520f0ad064c55fe550d4964fb96d2d13101acd01 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 22 Feb 2024 09:46:32 -0500 Subject: [PATCH 15/73] spelling: case-sensitive Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 2 +- server/modules/filter/ccrfilter/ccrfilter.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index 844dde1e853..c9cb6849a35 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -6837,7 +6837,7 @@ SELECT id,t3.id FROM (t1 JOIN t2 ON (t2.id=t1.id)) LEFT JOIN t3 USING (id); drop table t1, t2, t3; # -# Bug #13067 JOIN xxx USING is case sensitive +# Bug #13067 JOIN xxx USING is case-sensitive # create table t1 (a int(10),b int(10)); diff --git a/server/modules/filter/ccrfilter/ccrfilter.cc b/server/modules/filter/ccrfilter/ccrfilter.cc index ab92bf40180..3879d55696b 100644 --- a/server/modules/filter/ccrfilter/ccrfilter.cc +++ b/server/modules/filter/ccrfilter/ccrfilter.cc @@ -111,7 +111,7 @@ config::ParamEnumMask options( &specification, "options", "Specificies additional options for the regular expressions; 'ignorecase' makes the " - "matching case-insensitive (on by default), 'case' makes the matching case sensitive " + "matching case-insensitive (on by default), 'case' makes the matching case-sensitive " "and 'extended' causes whitespace to be ignored. They have been deprecated and you " "should instead use pattern settings in the regular expressions themselves.", { From 630d50eb5c9d0bd36217560340fb5a21284785fe Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:49:19 -0500 Subject: [PATCH 16/73] spelling: character Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/masking/mysql.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/masking/mysql.hh b/server/modules/filter/masking/mysql.hh index 7cd2a272214..69c193858d4 100644 --- a/server/modules/filter/masking/mysql.hh +++ b/server/modules/filter/masking/mysql.hh @@ -528,7 +528,7 @@ public: << "\nOrg table : " << m_org_table << "\nName : " << m_name << "\nOrd name : " << m_org_name - << "\nCharacer set : " << m_character_set + << "\nCharacter set: " << m_character_set << "\nColumn length: " << m_column_length << "\nType : " << (uint16_t)m_type << "\nFlags : " << m_flags From cd59dfd519e5a17a5ceee077a617adf85f2b607d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:49:21 -0500 Subject: [PATCH 17/73] spelling: classifier Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/test/maxscale/queryclassifiermodule.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/test/maxscale/queryclassifiermodule.hh b/server/modules/filter/test/maxscale/queryclassifiermodule.hh index 51c17a68547..b6046e725ad 100644 --- a/server/modules/filter/test/maxscale/queryclassifiermodule.hh +++ b/server/modules/filter/test/maxscale/queryclassifiermodule.hh @@ -22,7 +22,7 @@ namespace maxscale { /** - * A QueryClassfierModule instance is an abstraction for a query + * A QueryClassifierModule instance is an abstraction for a query * classifier module. */ class QueryClassifierModule : public SpecificModule From ea959ee8db710f917b503407e6bdc44714c2c296 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:49:23 -0500 Subject: [PATCH 18/73] spelling: column Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/binlogfilter/binlogfiltersession.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/binlogfilter/binlogfiltersession.cc b/server/modules/filter/binlogfilter/binlogfiltersession.cc index 41e0a7b6359..8aed072b286 100644 --- a/server/modules/filter/binlogfilter/binlogfiltersession.cc +++ b/server/modules/filter/binlogfilter/binlogfiltersession.cc @@ -656,7 +656,7 @@ void BinlogFilterSession::replaceEvent(GWBUF& packet, const REP_HEADER& hdr) } /** - * Extract the value of a specific columnr from a buffer + * Extract the value of a specific column from a buffer * TODO: also in use in binlogrouter code, to be moved * in a common place * From b56522a3febc71c6a976f5a5610c8673c9c5f33a Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:49:25 -0500 Subject: [PATCH 19/73] spelling: columns Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/masking/maskingfilterconfig.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/masking/maskingfilterconfig.cc b/server/modules/filter/masking/maskingfilterconfig.cc index 7a3ef4767be..29da1a5b62f 100644 --- a/server/modules/filter/masking/maskingfilterconfig.cc +++ b/server/modules/filter/masking/maskingfilterconfig.cc @@ -76,7 +76,7 @@ config::ParamBool check_user_variables( config::ParamBool check_unions( &specification, "check_unions", - "If true, then if the second SELECT in a UNION refers to a masked colums " + "If true, then if the second SELECT in a UNION refers to a masked columns " "the statement will be blocked.", true, config::Param::AT_RUNTIME); From d52992d1980a56671e90e9a8843806570a1475db Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:49:26 -0500 Subject: [PATCH 20/73] spelling: committee Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/rewritefilter/regex_rewriter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/rewritefilter/regex_rewriter.cc b/server/modules/filter/rewritefilter/regex_rewriter.cc index 6db383fc3e2..ec86565a354 100644 --- a/server/modules/filter/rewritefilter/regex_rewriter.cc +++ b/server/modules/filter/rewritefilter/regex_rewriter.cc @@ -46,7 +46,7 @@ bool RegexRewriter::replace(const std::string& sql, std::string* pSql) const { // This is inefficient, regex_replace() does not indicate if a match // happened but instead returns the original sql when there is no - // match (what was the standards comittee thinking?). + // match (what was the standards committee thinking?). std::smatch match; matched = std::regex_search(sql, match, m_match_regex); From 0277a6121493a6cb433bfed384160cf184af1e95 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:49:28 -0500 Subject: [PATCH 21/73] spelling: comparison Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index c9cb6849a35..5fb327c2956 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -5991,7 +5991,7 @@ SELECT a.gvid, (SUM(CASE b.sampletid WHEN 140 THEN b.samplevalue ELSE 0 END)) as DROP TABLE t1,t2; # -# Test of bigint comparision +# Test of bigint comparison # create table t1 ( A_Id bigint(20) NOT NULL default '0', A_UpdateBy char(10) NOT NULL default '', A_UpdateDate bigint(20) NOT NULL default '0', A_UpdateSerial int(11) NOT NULL default '0', other_types bigint(20) NOT NULL default '0', wss_type bigint(20) NOT NULL default '0'); From 76963f060405ddbba2fc6452f5bc52bd60f6d007 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:49:29 -0500 Subject: [PATCH 22/73] spelling: condition Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index 5fb327c2956..b96f107e4be 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -8774,7 +8774,7 @@ SELECT * FROM t1, t2 WHERE c=b AND (1=2 OR ((b='h' OR a=136) AND d=b)); DROP TABLE t1,t2; --echo # ---echo # Bug mdev-4944: range conditition in OR formula with fields +--echo # Bug mdev-4944: range condition in OR formula with fields --echo # belonging to multiple equalities --echo # From cec6a3b1c2a9a73c58f47ff91fc3846a38350c7f Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:49:35 -0500 Subject: [PATCH 23/73] spelling: contiguous Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/binlogfilter/binlogfiltersession.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/binlogfilter/binlogfiltersession.cc b/server/modules/filter/binlogfilter/binlogfiltersession.cc index 8aed072b286..02a607ec728 100644 --- a/server/modules/filter/binlogfilter/binlogfiltersession.cc +++ b/server/modules/filter/binlogfilter/binlogfiltersession.cc @@ -534,7 +534,7 @@ void BinlogFilterSession::replaceEvent(GWBUF& packet, const REP_HEADER& hdr) uint32_t buf_len = packet.length(); uint32_t orig_event_type = 0; - // If size < BINLOG_EVENT_HDR_LEN + crc32 add rand_event to buff contiguos + // If size < BINLOG_EVENT_HDR_LEN + crc32 add rand_event to buff contiguous mxb_assert(m_skip == true); /** From a3856efed59d3e033dbf48c381d467f259e1fd4b Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:49:44 -0500 Subject: [PATCH 24/73] spelling: database Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/masking/maskingrules.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/masking/maskingrules.cc b/server/modules/filter/masking/maskingrules.cc index ab6f9436628..cef58b95644 100644 --- a/server/modules/filter/masking/maskingrules.cc +++ b/server/modules/filter/masking/maskingrules.cc @@ -696,7 +696,7 @@ static bool rule_get_common_values(json_t* pRule, json_t* pTable = json_object_get(pRule, KEY_TABLE); json_t* pColumn = json_object_get(pRule, KEY_COLUMN); - // Check column/table/dataase + // Check column/table/database if (!rule_check_database_options(pColumn, pTable, pDatabase, From 1ec3d4cf37946727cf981c390a107b6c45f1a089 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 18:28:25 -0500 Subject: [PATCH 25/73] spelling: databases Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index b96f107e4be..9547c5b904d 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -2108,7 +2108,7 @@ DROP TABLE t1; # # Bug#27525: table not found when using multi-table-deletes with aliases over -# several databas +# several databases # Bug#21148: MULTI-DELETE fails to resolve a table by alias if it's from a # different database # From 5a732851350ec0d837713e578f482f6dff731c9d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:49:47 -0500 Subject: [PATCH 26/73] spelling: degradation Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index 9547c5b904d..3613360e551 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -3295,7 +3295,7 @@ select t1.i,t2.i,t3.i from t2 right join t3 on (t2.i=t3.i),t1 order by t1.i,t2.i drop table t1,t2,t3; # -# Bug #27531: Query performance degredation in 4.1.22 and greater +# Bug #27531: Query performance degradation in 4.1.22 and greater # CREATE TABLE t1 (a int, b int default 0, c int default 1); From 41e3cb862ae12f410280f6ac5e4f65bf22d7757b Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 16:49:48 -0500 Subject: [PATCH 27/73] spelling: deleting Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- .../modules/filter/cache/storage/storage_redis/redisstorage.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/storage/storage_redis/redisstorage.cc b/server/modules/filter/cache/storage/storage_redis/redisstorage.cc index 63dfb2d9b10..da9ed745abc 100644 --- a/server/modules/filter/cache/storage/storage_redis/redisstorage.cc +++ b/server/modules/filter/cache/storage/storage_redis/redisstorage.cc @@ -1231,7 +1231,7 @@ class RedisToken : public std::enable_shared_from_this // Does this work? Probably not in all cases; it appears that WATCH // needs to be used to prevent problems caused by the fetching of the keys - // and the deleteing of the keys (and values) being done in separate + // and the deleting of the keys (and values) being done in separate // transactions. m_redis.check_for_io_error(); From be1df4c8d35ceaf29c21311da8d563068f0d0e29 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:19:29 -0500 Subject: [PATCH 28/73] spelling: dilemma Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index 3613360e551..9ebe28c675d 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -751,7 +751,7 @@ drop table t1; create table t1 select coalesce('a' collate latin1_swedish_ci,'b' collate latin1_bin); -# Base vs temporary tables dillema (a.k.a. bug#24508 "Inconsistent +# Base vs temporary tables dilemma (a.k.a. bug#24508 "Inconsistent # results of CREATE TABLE ... SELECT when temporary table exists"). # In this situation we either have to create non-temporary table and # insert data in it or insert data in temporary table without creation of From c1220a12b7830c6e27ec752ee5a9c0d85004fbc1 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:19:35 -0500 Subject: [PATCH 29/73] spelling: entirely Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- .../modules/filter/cache/storage/storage_redis/redisstorage.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/storage/storage_redis/redisstorage.cc b/server/modules/filter/cache/storage/storage_redis/redisstorage.cc index da9ed745abc..6b784845c28 100644 --- a/server/modules/filter/cache/storage/storage_redis/redisstorage.cc +++ b/server/modules/filter/cache/storage/storage_redis/redisstorage.cc @@ -50,7 +50,7 @@ // // Note that we do not modify the set; deleting will not be performed other // than in error situations (and at the time of this writing is considered to -// be removed entirelly) and it does not really matter if an non-existing key +// be removed entirely) and it does not really matter if an non-existing key // is in the set. // // Invalidating From 22169c36c5fdaeb0999df3befbd2a17049637ba3 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:19:37 -0500 Subject: [PATCH 30/73] spelling: erroneous Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/cachefiltersession.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/cachefiltersession.cc b/server/modules/filter/cache/cachefiltersession.cc index 7344cbbdc08..8f943bd75b4 100644 --- a/server/modules/filter/cache/cachefiltersession.cc +++ b/server/modules/filter/cache/cachefiltersession.cc @@ -264,7 +264,7 @@ StatementType get_statement_type(std::string_view sql) if ((pKey == pKey_end) && ((pSql == pSql_end) || !isalpha(*pSql))) { // All is fine; either the statement only contain the keyword (so syntactically - // the statement is erroenous) or the keyword was followed by something else + // the statement is erroneous) or the keyword was followed by something else // than an alphanumeric character, e.g. whitespace. } else From 85ebde357e705023cac9d507a965af8a43293459 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 6 Apr 2023 21:46:41 -0400 Subject: [PATCH 31/73] spelling: evaluated Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/rules.hh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/modules/filter/cache/rules.hh b/server/modules/filter/cache/rules.hh index b799c7dc13d..8c95eae1da8 100644 --- a/server/modules/filter/cache/rules.hh +++ b/server/modules/filter/cache/rules.hh @@ -121,7 +121,7 @@ protected: } const CacheConfig& m_config; // The cache config. - Attribute m_attribute; // What attribute is evalued. + Attribute m_attribute; // What attribute is evaluated. Op m_op; // What operator is used. std::string m_value; // The value from the rule file. }; @@ -202,7 +202,7 @@ class CacheRuleQuery final : public CacheRuleSimple { public: static CacheRuleQuery* create(const CacheConfig* pConfig, // The cache config. - Attribute attribute, // What attribute is evalued. + Attribute attribute, // What attribute is evaluated. Op op, // What operator is used. const char* zValue); // The value from the rule file. @@ -224,7 +224,7 @@ public: bool compare_n(const char* pValue, size_t length) const override final; static CacheRuleRegex* create(const CacheConfig* pConfig, // The cache config. - Attribute attribute, // What attribute is evalued. + Attribute attribute, // What attribute is evaluated. Op op, // What operator is used. const char* zValue); // The value from the rule file. @@ -253,7 +253,7 @@ class CacheRuleUser final : public CacheRule { public: static CacheRuleUser* create(const CacheConfig* pConfig, // The cache config. - Attribute attribute, // What attribute is evalued. + Attribute attribute, // What attribute is evaluated. Op op, // What operator is used. const char* zValue); // The value from the rule file. From af904b504ab33904bab101c02fb7b1cb09ab381c Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:19:40 -0500 Subject: [PATCH 32/73] spelling: excluding Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/masking/maskingrules.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/masking/maskingrules.cc b/server/modules/filter/masking/maskingrules.cc index cef58b95644..8abb9bb2f2a 100644 --- a/server/modules/filter/masking/maskingrules.cc +++ b/server/modules/filter/masking/maskingrules.cc @@ -1237,7 +1237,7 @@ void MaskingRules::MatchRule::rewrite(mxq::LEncString& s) const pcre2_match_data_free(pData); - // Log errors, exclding NO_MATCH or PARTIAL + // Log errors, excluding NO_MATCH or PARTIAL if (rv < 0 && (rv != PCRE2_ERROR_NOMATCH || PCRE2_ERROR_PARTIAL)) { MXS_PCRE2_PRINT_ERROR(rv); From d4af1c93088247ba5eeabd740beca32c3104b4bd Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:19:36 -0500 Subject: [PATCH 33/73] spelling: expected Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/testerstorage.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/testerstorage.cc b/server/modules/filter/cache/test/testerstorage.cc index 721fc976910..a36868f38cf 100644 --- a/server/modules/filter/cache/test/testerstorage.cc +++ b/server/modules/filter/cache/test/testerstorage.cc @@ -380,7 +380,7 @@ int TesterStorage::test_ttl(const CacheItems& cache_items, Storage& storage) // We should get the item normally as we are below the soft ttl, i.e. no stale bit. if (result != CACHE_RESULT_OK) { - out() << "Excpected to be found, and without stale bit." << endl; + out() << "Expected to be found, and without stale bit." << endl; rv = EXIT_FAILURE; } From 314aa1ffa779a063f5dcac912289efbc93c3a455 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:19:44 -0500 Subject: [PATCH 34/73] spelling: explicitly Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/rules.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/modules/filter/cache/rules.cc b/server/modules/filter/cache/rules.cc index 38daf1a1aef..250cd62abc4 100644 --- a/server/modules/filter/cache/rules.cc +++ b/server/modules/filter/cache/rules.cc @@ -507,7 +507,7 @@ bool CacheRuleCTD::matches_column(const mxs::Parser& parser, if (databases.empty()) { // If no databases have been mentioned, then we can assume that all - // tables and columns that are not explcitly qualified refer to the + // tables and columns that are not explicitly qualified refer to the // default database. if (zDefault_db) { @@ -782,7 +782,7 @@ bool CacheRuleRegex::matches_column(const mxs::Parser& parser, if (databases.empty()) { // If no databases have been mentioned, then we can assume that all - // tables and columns that are not explcitly qualified refer to the + // tables and columns that are not explicitly qualified refer to the // default database. if (zDefault_db) { From 59918949e58c32af52f53ca2aca324f18bb4c810 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:19:47 -0500 Subject: [PATCH 35/73] spelling: filename Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/topfilter/topfilter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/topfilter/topfilter.cc b/server/modules/filter/topfilter/topfilter.cc index 87d9c9c20c5..25437632ca9 100644 --- a/server/modules/filter/topfilter/topfilter.cc +++ b/server/modules/filter/topfilter/topfilter.cc @@ -115,7 +115,7 @@ class Config : public mxs::config::Configuration struct Values { int64_t count; /* Number of queries to store */ - std::string filebase; /* Base of fielname to log into */ + std::string filebase; /* Base of filename to log into */ std::string source; /* The source of the client connection */ std::string user; /* A user name to filter on */ uint32_t options; /* Regex options */ From 386b18de5411bdcf6e064b219f426944601a304e Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:19:50 -0500 Subject: [PATCH 36/73] spelling: flushing Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/qlafilter/qlalog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/qlafilter/qlalog.cc b/server/modules/filter/qlafilter/qlalog.cc index 61b31c1c648..ddf2808595f 100644 --- a/server/modules/filter/qlafilter/qlalog.cc +++ b/server/modules/filter/qlafilter/qlalog.cc @@ -44,7 +44,7 @@ void QlaLog::finish_for(maxscale::RoutingWorker* pWorker) decrease_client_count(pWorker->index()); } -/// NOTE: There is a very small caveat with flusing only the last element in the queue. +/// NOTE: There is a very small caveat with flushing only the last element in the queue. /// If within the queue the current file changes, then the explicit flush to the /// current file will happen before the flush of the previous file, which is /// flushed when the smart_ptr to it is destroyed after this call finishes. From dfc5687427626373cb8f07d7c924c40438caf7dd Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:20:06 -0500 Subject: [PATCH 37/73] spelling: identifier Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/rewritefilter/native_rewriter.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/rewritefilter/native_rewriter.hh b/server/modules/filter/rewritefilter/native_rewriter.hh index df15cb4cd81..d571540fc35 100644 --- a/server/modules/filter/rewritefilter/native_rewriter.hh +++ b/server/modules/filter/rewritefilter/native_rewriter.hh @@ -32,7 +32,7 @@ class NativeReplacer; * replace_template: "select count(*) from (select distinct @{1} from @{2}) as t" * * TODO: There are very few examples of rewrites, but it is relatively certain that - * the distinction between an indentifier and a number will be needed: + * the distinction between an identifier and a number will be needed: * @{1:s} and @{1:d}. Or 'i' and 'n' if that is clearer to users. */ class NativeRewriter : public SqlRewriter From b0be2edfd8cf2ac51cfbd6b80188f08edc93fd43 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:20:05 -0500 Subject: [PATCH 38/73] spelling: inconsistent Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index 9ebe28c675d..da470360458 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -6738,7 +6738,7 @@ drop view v2; # -# Bug #4789 Incosistent results of more than 2-way natural joins due to +# Bug #4789 Inconsistent results of more than 2-way natural joins due to # incorrect transformation to join ... on. # From 8977dd03fc5aaf06a3354564404f9f6b22d54201 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:20:07 -0500 Subject: [PATCH 39/73] spelling: initialized Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index da470360458..01bc14831d8 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -826,7 +826,7 @@ drop table t1; --echo --echo Bug #26104 Bug on foreign key class constructor --echo ---echo Check that ref_columns is initalized correctly in the constructor +--echo Check that ref_columns is initialized correctly in the constructor --echo and semantic checks in mysql_prepare_table work. --echo --echo We do not need a storage engine that supports foreign keys From 162bb2e5d57974ef63cda83cef232257437f0993 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:20:11 -0500 Subject: [PATCH 40/73] spelling: insert Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index 01bc14831d8..74118eefd5c 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -756,7 +756,7 @@ create table t1 select coalesce('a' collate latin1_swedish_ci,'b' collate latin1 # In this situation we either have to create non-temporary table and # insert data in it or insert data in temporary table without creation of # permanent table. After patch for Bug#47418, we create the base table and -# instert data into it, even though a temporary table exists with the same +# insert data into it, even though a temporary table exists with the same # name. create temporary table t1 (j int); create table if not exists t1 select 1; From cca3b93b42570f70df5b495776d514e286eb2a1d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:20:11 -0500 Subject: [PATCH 41/73] spelling: intensely Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/testerstorage.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/testerstorage.hh b/server/modules/filter/cache/test/testerstorage.hh index 3f3be71ab3a..37b5dfa2fa4 100644 --- a/server/modules/filter/cache/test/testerstorage.hh +++ b/server/modules/filter/cache/test/testerstorage.hh @@ -33,7 +33,7 @@ public: * @class HitTask * * A task whose sole purpose is to hit a Storage continuously - * and intensly. + * and intensely. */ class HitTask : public Tester::Task { From e399123fbe0d8cfb54615c1b81c8ec78ec1820a8 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 18:40:11 -0500 Subject: [PATCH 42/73] spelling: join Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index 74118eefd5c..5752402e9c7 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -6045,7 +6045,7 @@ select * from t1 natural left join (t1 as t2 left join t1 as t3 using (a)); select * from (t1 as t2 left join t1 as t3 using (a)) right join t1 on t1.a>1; --sorted_result select * from t1 right join (t1 as t2 left join t1 as t3 using (a)) on t1.a>1; -# right [outer] joing using +# right [outer] join using select * from (t1 as t2 left join t1 as t3 using (a)) right outer join t1 using ( a ); select * from t1 right outer join (t1 as t2 left join t1 as t3 using (a)) using ( a ); # natural right join From 4b83b1136c614bd2eb91451915acc812c749419c Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 15:53:54 -0500 Subject: [PATCH 43/73] spelling: may Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/cache_storage_api.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/cache_storage_api.hh b/server/modules/filter/cache/cache_storage_api.hh index 6298fddd4a5..ac248b871ed 100644 --- a/server/modules/filter/cache/cache_storage_api.hh +++ b/server/modules/filter/cache/cache_storage_api.hh @@ -275,7 +275,7 @@ public: uint32_t max_count = 0; /** - * The maximum size of the storage may may occupy, before it should evict + * The maximum size of the storage may occupy, before it should evict * some items. A value of 0 means that there is no limit. The caller should * specify 0, unless CACHE_STORAGE_CAP_MAX_SIZE is returned at initialization. */ From 4aae9d73c541d9cb4410f3a60fee306a36323db3 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 18:49:57 -0500 Subject: [PATCH 44/73] spelling: needed Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index 5752402e9c7..07ad268db52 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -5852,7 +5852,7 @@ select t2.companynr,count(*),min(fld3),max(fld3),sum(price),avg(price) from t2,t # # group with many tables and long group on many tables. group on formula -# optimizer: create tmp table with neaded fields +# optimizer: create tmp table with needed fields # sort tmp table by group and calculate sums to new table # if different order by than group, sort tmp table # send rows From 55d62576ed97296603a17664a9eaf575d249f6a3 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 6 Apr 2023 21:27:38 -0400 Subject: [PATCH 45/73] spelling: nonexistent Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index 07ad268db52..b0f9670aba4 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -10857,7 +10857,7 @@ set sql_quote_show_create=1; set sql_mode=""; SET NAMES koi8r; SET NAMES latin1; -set @user123="non-existent"; +set @user123="nonexistent"; set names koi8r; set names latin1; set password for mysqltest_7@ = password('systpass'); From c8cc0f4a8c10c1a1f8a1d242d6ec66fcf4446814 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:54:34 -0500 Subject: [PATCH 46/73] spelling: object Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/masking/maskingrules.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/masking/maskingrules.cc b/server/modules/filter/masking/maskingrules.cc index 8abb9bb2f2a..3813199cb53 100644 --- a/server/modules/filter/masking/maskingrules.cc +++ b/server/modules/filter/masking/maskingrules.cc @@ -801,7 +801,7 @@ bool rule_get_match_value_fill(json_t* pRule, json_t* pTheFill = rule_get_fill(pWith); // Get value from 'with' object json_t* pTheValue = json_object_get(pWith, KEY_VALUE); - // Get 'match' from 'replace' ojbect + // Get 'match' from 'replace' object json_t* pTheMatch = json_object_get(pKeyObj, KEY_MATCH); // Check values: 'match' and 'fill' are mandatory (if not provided, there will be From cc2fa217b13f4aea01cb0264b442b2a9392b0767 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:54:31 -0500 Subject: [PATCH 47/73] spelling: occurrence Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/rewritefilter/regex_rewriter.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/rewritefilter/regex_rewriter.hh b/server/modules/filter/rewritefilter/regex_rewriter.hh index 9e82298a7e2..86b2b6b2ede 100644 --- a/server/modules/filter/rewritefilter/regex_rewriter.hh +++ b/server/modules/filter/rewritefilter/regex_rewriter.hh @@ -34,7 +34,7 @@ class NativeReplacer; * feature request if a problem really cannot be solved * with the NativeRewriter. * - * TODO: add an option to only replace the first occurance. + * TODO: add an option to only replace the first occurrence. */ class RegexRewriter : public SqlRewriter { From f4bf32ab3569d521838a700481a153e5114962bc Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:54:36 -0500 Subject: [PATCH 48/73] spelling: optimizer Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index b0f9670aba4..c07b102d4c6 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -15018,14 +15018,14 @@ SET optimizer_switch = 'semijoin=on,materialization=on,join_cache_hashed=on'; SET join_cache_level = 3; set @@optimizer_switch= @os_912513; set @@join_cache_level= @jcl_912513; -set @tmp_otimizer_switch= @@optimizer_switch; +set @tmp_optimizer_switch= @@optimizer_switch; set @tmp_join_cache_level=@@join_cache_level; set optimizer_switch = 'materialization=on,semijoin=on,join_cache_hashed=on'; set join_cache_level=0; set join_cache_level=6; set optimizer_switch=@tmp_optimizer_switch; set join_cache_level=@tmp_join_cache_level; -set @tmp_otimizer_switch= @@optimizer_switch; +set @tmp_optimizer_switch= @@optimizer_switch; set @tmp_join_cache_level=@@join_cache_level; set optimizer_switch = 'materialization=on,semijoin=on,join_cache_hashed=on'; set join_cache_level=0; @@ -15223,20 +15223,20 @@ set optimizer_switch=@tmp_877288; set @tmp878753= @@optimizer_switch; set optimizer_switch= 'semijoin=on,derived_merge=on'; set optimizer_switch=@tmp878753; -set @tmp_otimizer_switch= @@optimizer_switch; +set @tmp_optimizer_switch= @@optimizer_switch; set optimizer_switch='semijoin=on'; set optimizer_switch='firstmatch=off'; set optimizer_switch='semijoin_with_cache=on'; set optimizer_switch='semijoin_with_cache=off'; -set optimizer_switch= @tmp_otimizer_switch; -set @tmp_otimizer_switch= @@optimizer_switch; +set optimizer_switch= @tmp_optimizer_switch; +set @tmp_optimizer_switch= @@optimizer_switch; SET SESSION optimizer_switch='semijoin=on,firstmatch=on'; SET SESSION optimizer_switch='loosescan=off'; SET SESSION optimizer_switch='loosescan=on'; -set optimizer_switch= @tmp_otimizer_switch; -set @tmp_otimizer_switch= @@optimizer_switch; +set optimizer_switch= @tmp_optimizer_switch; +set @tmp_optimizer_switch= @@optimizer_switch; SET SESSION optimizer_switch='semijoin=on,materialization=on'; -set optimizer_switch= @tmp_otimizer_switch; +set optimizer_switch= @tmp_optimizer_switch; SET @tmp_optimizer_switch=@@optimizer_switch; SET @@optimizer_switch='semijoin=on'; SET @@optimizer_switch='materialization=on'; From 9a362e04973eada97ff662ed9e8f5dd63852332e Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 18:57:34 -0500 Subject: [PATCH 49/73] spelling: param Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/namedserverfilter/namedserverfilter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/namedserverfilter/namedserverfilter.cc b/server/modules/filter/namedserverfilter/namedserverfilter.cc index 927aa4ba5fa..ba5febbc82f 100644 --- a/server/modules/filter/namedserverfilter/namedserverfilter.cc +++ b/server/modules/filter/namedserverfilter/namedserverfilter.cc @@ -501,7 +501,7 @@ mxs::FilterSession* RegexHintFilter::newSession(MXS_SESSION* session, SERVICE* s * Find the first server list with a matching regular expression. * * @param sql SQL-query string, not null-terminated - * @paran sql_len length of SQL-query + * @param sql_len length of SQL-query * @return A set of servers from the main mapping container */ const RegexToServers* RegexHintFSession::find_servers(const char* sql, int sql_len) From ddadffe0251df9e9f3ca7b303795b852793474ab Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:54:43 -0500 Subject: [PATCH 50/73] spelling: payload Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/binlogfilter/binlogfiltersession.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/binlogfilter/binlogfiltersession.cc b/server/modules/filter/binlogfilter/binlogfiltersession.cc index 02a607ec728..ed320d3468a 100644 --- a/server/modules/filter/binlogfilter/binlogfiltersession.cc +++ b/server/modules/filter/binlogfilter/binlogfiltersession.cc @@ -763,7 +763,7 @@ void BinlogFilterSession::getReplicationChecksum(const GWBUF& packet) * * Also remaininf data are set * - * @param len The binlog event paylod len + * @param len The binlog event payload len * @param hdr The reference to binlog event header */ void BinlogFilterSession::handlePackets(uint32_t len, const REP_HEADER& hdr) From ebd6f507a9b8ead4582cc148ed05922a5028ac03 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:54:38 -0500 Subject: [PATCH 51/73] spelling: phase Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index c07b102d4c6..4d6311b8250 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -720,7 +720,7 @@ drop table t1; # Error during open_and_lock_tables() of tables --error ER_NO_SUCH_TABLE create table t1 select * from t2; -# A special case which is also caught during open tables pahse +# A special case which is also caught during open tables phase --error ER_NO_SUCH_TABLE create table t1 select * from t1; # Error which happens before select_create::prepare() From d15a185475cc38c38352d41fee9b46f835cbd424 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:54:51 -0500 Subject: [PATCH 52/73] spelling: practice Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/cachefiltersession.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/cachefiltersession.hh b/server/modules/filter/cache/cachefiltersession.hh index 04e2f6eb76a..c369bd48d88 100644 --- a/server/modules/filter/cache/cachefiltersession.hh +++ b/server/modules/filter/cache/cachefiltersession.hh @@ -241,7 +241,7 @@ private: char* m_zDefaultDb; /**< The default database. */ char* m_zUseDb; /**< Pending default database. Needs server response. */ bool m_refreshing; /**< Whether the session is updating a stale cache entry. */ - bool m_is_read_only; /**< Whether the current trx has been read-only in pratice. */ + bool m_is_read_only; /**< Whether the current trx has been read-only in practice. */ bool m_use; /**< Whether the cache should be used in this session. */ bool m_populate; /**< Whether the cache should be populated in this session. */ uint32_t m_soft_ttl; /**< The soft TTL used in the session. */ From 92c4498d035ec76f9edd348ab775376df6a083b3 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:54:56 -0500 Subject: [PATCH 53/73] spelling: privileges Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index 4d6311b8250..b8f080b0707 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -3507,7 +3507,7 @@ select * from v1a join v1b on t1.b = t2.b; # # Bug #17523 natural join and information_schema # -# Omit columns.PRIVILIGES as it may vary with embedded server. +# Omit columns.PRIVILEGES as it may vary with embedded server. # Omit columns.ORDINAL_POSITION and statistics.CARDINALITY as it may vary with hostname='localhost'. select statistics.TABLE_NAME, statistics.COLUMN_NAME, statistics.TABLE_CATALOG, statistics.TABLE_SCHEMA, statistics.NON_UNIQUE, statistics.INDEX_SCHEMA, statistics.INDEX_NAME, statistics.SEQ_IN_INDEX, statistics.COLLATION, statistics.SUB_PART, statistics.PACKED, statistics.NULLABLE, statistics.INDEX_TYPE, statistics.COMMENT, From f0af0a273c0cb193d936aa2ddc502a520e35ae7a Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:54:59 -0500 Subject: [PATCH 54/73] spelling: query Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/qlafilter/qlafilter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/qlafilter/qlafilter.cc b/server/modules/filter/qlafilter/qlafilter.cc index 271375666bb..63e896be0a8 100644 --- a/server/modules/filter/qlafilter/qlafilter.cc +++ b/server/modules/filter/qlafilter/qlafilter.cc @@ -13,7 +13,7 @@ */ /** - * @file qlafilter.cc - Quary Log All Filter + * @file qlafilter.cc - Query Log All Filter * * QLA Filter - Query Log All. A simple query logging filter. All queries passing * through the filter are written to a text file. From d799e0293d490dfcc24c096feb42f1144981b274 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:55:10 -0500 Subject: [PATCH 55/73] spelling: really Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index b8f080b0707..9703f57badd 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -8856,7 +8856,7 @@ drop table t1; # # followed by some fixes. # -# Lot's of duplicates, but that does not relly matter. +# Lot's of duplicates, but that does not really matter. # set global myisam_data_pointer_size=2; set global myisam_data_pointer_size=default; From 79808af6154b7a6ea6abc5f9ba46a0c346658366 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 19:50:26 -0500 Subject: [PATCH 56/73] spelling: reference Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index 9703f57badd..73a322310d2 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -3426,7 +3426,7 @@ select * from (t1, t2) join (t3, t4) on (a < y and t2.b < t3.c); select * from (t1 natural join t2) join (t3 natural join t4) on a = y; select * from ((t3 join (t1 join t2 on c > a) on t3.b < t2.a) join t4 on y > t1.c) join t5 on z = t1.b + 3; -# MySQL extension - refererence qualified coalesced columns +# MySQL extension - reference qualified coalesced columns select * from t1 natural join t2 where t1.b > 0; select * from t1 natural join (t4 natural join t5) where t4.y > 7; select * from (t4 natural join t5) natural join t1 where t4.y > 7; @@ -5748,7 +5748,7 @@ select distinct t2.companynr,t4.companynr from t2,t4 where t2.companynr=t4.compa explain select distinct t2.companynr,t4.companynr from t2,t4 where t2.companynr=t4.companynr+1; # -# Search using 'or' with the same referens group. +# Search using 'or' with the same reference group. # An interval search will be done first with the first table and after that # the other table is referenced with a key with a 'test if key in use' for # each record From e94d081c731972ae0901814f5ebcb2e7370e39da Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:55:04 -0500 Subject: [PATCH 57/73] spelling: referring Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index 73a322310d2..e30f69bf62a 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -2379,7 +2379,7 @@ DELETE v2 FROM v2; DROP VIEW v2, v1; DROP TABLE t1, t2; # -# Test of refering to old values +# Test of referring to old values # --disable_warnings From 6a5e1d13377072aaf246416bdd208c927ccad75c Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:55:11 -0500 Subject: [PATCH 58/73] spelling: remaining Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/binlogfilter/binlogfiltersession.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/binlogfilter/binlogfiltersession.cc b/server/modules/filter/binlogfilter/binlogfiltersession.cc index ed320d3468a..877c88b2357 100644 --- a/server/modules/filter/binlogfilter/binlogfiltersession.cc +++ b/server/modules/filter/binlogfilter/binlogfiltersession.cc @@ -761,7 +761,7 @@ void BinlogFilterSession::getReplicationChecksum(const GWBUF& packet) * If received data len is MYSQL_PACKET_LENGTH_MAX * then the beginning of a large event receiving is set. * - * Also remaininf data are set + * Also remaining data are set * * @param len The binlog event payload len * @param hdr The reference to binlog event header From f10edd5f84f39ed4fcb155715a1bde4417d11fb0 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:55:12 -0500 Subject: [PATCH 59/73] spelling: replication Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/binlogfilter/binlogfiltersession.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/modules/filter/binlogfilter/binlogfiltersession.cc b/server/modules/filter/binlogfilter/binlogfiltersession.cc index 877c88b2357..50ceec0dbcc 100644 --- a/server/modules/filter/binlogfilter/binlogfiltersession.cc +++ b/server/modules/filter/binlogfilter/binlogfiltersession.cc @@ -183,7 +183,7 @@ bool BinlogFilterSession::routeQuery(GWBUF&& packet) * Extract binlog replication header from event data * * @param event The replication event - * @param hdr Pointer to repliction header to fill + * @param hdr Pointer to replication header to fill */ static void extract_header(const uint8_t* event, REP_HEADER* hdr) { @@ -280,7 +280,7 @@ bool BinlogFilterSession::clientReply(GWBUF&& packet, const mxs::ReplyRoute& dow * Member variable m_skip is set accordingly to db/table match. * * @param buffer The GWBUF with binlog event data - * @param hdr Reference to repliction event header + * @param hdr Reference to replication event header * @return True id TABLE_MAP_EVENT contains * db/table names to skip */ From 4fbc26c0ec5fb2fe5fc0b60f9869f9780302b485 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:55:19 -0500 Subject: [PATCH 60/73] spelling: responded Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/test/maxscale/mock/client.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/test/maxscale/mock/client.hh b/server/modules/filter/test/maxscale/mock/client.hh index 2692e7df5e4..bfa79134800 100644 --- a/server/modules/filter/test/maxscale/mock/client.hh +++ b/server/modules/filter/test/maxscale/mock/client.hh @@ -109,7 +109,7 @@ public: size_t n_responses() const; /** - * Reset the Client object. The number of counted responsed will + * Reset the Client object. The number of counted responded will * be set to 0. If the Client object has a handler, then its @c reset * function will be called as well. */ From b44c3a42dada1daac74ca29962612ef97a69ba13 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:55:13 -0500 Subject: [PATCH 61/73] spelling: response Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- .../modules/filter/cache/storage/storage_redis/redisstorage.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/storage/storage_redis/redisstorage.cc b/server/modules/filter/cache/storage/storage_redis/redisstorage.cc index 6b784845c28..eaec33c2097 100644 --- a/server/modules/filter/cache/storage/storage_redis/redisstorage.cc +++ b/server/modules/filter/cache/storage/storage_redis/redisstorage.cc @@ -859,7 +859,7 @@ class RedisToken : public std::enable_shared_from_this } else if (reply.is_status()) { - MXB_ERROR("Expected status OK as reponse to FLUSHALL, but received %s.", reply.str()); + MXB_ERROR("Expected status OK as response to FLUSHALL, but received %s.", reply.str()); } else { From 405eae280b0564e26e5f06bf2e6baf9717b648c3 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:55:24 -0500 Subject: [PATCH 62/73] spelling: returns Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index e30f69bf62a..e7b34eb68fc 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -6491,7 +6491,7 @@ SELECT STRAIGHT_JOIN SQL_NO_CACHE * FROM t2, t1 WHERE t1.b = t2.b OR t2.b IS NUL DROP TABLE IF EXISTS t1,t2; # -# Bug #20954 "avg(keyval) retuns 0.38 but max(keyval) returns an empty set" +# Bug #20954 "avg(keyval) returns 0.38 but max(keyval) returns an empty set" # --disable_ps_protocol CREATE TABLE t1 (key1 float default NULL, UNIQUE KEY key1 (key1)); From 75ceb9fcef97f8b8f5c65f9a503de0ef92e3790c Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:55:25 -0500 Subject: [PATCH 63/73] spelling: rewritefilter Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/rewritefilter/rewritesession.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/rewritefilter/rewritesession.cc b/server/modules/filter/rewritefilter/rewritesession.cc index b73ec67be31..6ce5a5edeef 100644 --- a/server/modules/filter/rewritefilter/rewritesession.cc +++ b/server/modules/filter/rewritefilter/rewritesession.cc @@ -12,7 +12,7 @@ * Public License. */ -#define MXB_MODULE_NAME "rewitefilter" +#define MXB_MODULE_NAME "rewritefilter" #include "rewritesession.hh" #include #include "rewritefilter.hh" From 8ea9d6d10e0470383ec5b72a823bacc508b2a3ee Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:55:30 -0500 Subject: [PATCH 64/73] spelling: session Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/cache.hh | 2 +- server/modules/filter/luafilter/luacontext.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/modules/filter/cache/cache.hh b/server/modules/filter/cache/cache.hh index ad5c0dc4f9d..e3fb678d392 100644 --- a/server/modules/filter/cache/cache.hh +++ b/server/modules/filter/cache/cache.hh @@ -106,7 +106,7 @@ public: const GWBUF& query); /** - * Specifies whether a particular SessioCache should refresh the data. + * Specifies whether a particular SessionCache should refresh the data. * * @param key The hashed key for a query. * @param pSession The session cache asking. diff --git a/server/modules/filter/luafilter/luacontext.cc b/server/modules/filter/luafilter/luacontext.cc index 44c4a6b3225..7be5344b08f 100644 --- a/server/modules/filter/luafilter/luacontext.cc +++ b/server/modules/filter/luafilter/luacontext.cc @@ -23,7 +23,7 @@ namespace { const char* CN_CREATE_INSTANCE = "createInstance"; -const char* CN_NEW_SESSON = "newSession"; +const char* CN_NEW_SESSION = "newSession"; const char* CN_ROUTE_QUERY = "routeQuery"; const char* CN_CLIENT_REPLY = "clientReply"; const char* CN_CLOSE_SESSION = "closeSession"; @@ -323,7 +323,7 @@ void LuaContext::create_instance(const std::string& name) void LuaContext::new_session(MXS_SESSION* session) { m_data = LuaData{session, nullptr, nullptr}; - call_function(m_state, CN_NEW_SESSON, 0, session->user(), session->client_remote()); + call_function(m_state, CN_NEW_SESSION, 0, session->user(), session->client_remote()); } bool LuaContext::route_query(MXS_SESSION* session, GWBUF* buffer) From cca640e3677a332098fee8727b6f563b57e47671 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:55:40 -0500 Subject: [PATCH 65/73] spelling: slightly Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/test/input.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/cache/test/input.test b/server/modules/filter/cache/test/input.test index e7b34eb68fc..d19ef5a87a8 100644 --- a/server/modules/filter/cache/test/input.test +++ b/server/modules/filter/cache/test/input.test @@ -2473,7 +2473,7 @@ use test; # Test of wrong values for float data (bug #2082) # -# PS gives sligthly different numbers for max-float/max-double +# PS gives slightly different numbers for max-float/max-double --disable_ps_protocol create table t1(number int auto_increment primary key, original_value varchar(50), f_double double, f_float float, f_double_7_2 double(7,2), f_float_4_3 float (4,3), f_double_u double unsigned, f_float_u float unsigned, f_double_15_1_u double(15,1) unsigned, f_float_3_1_u float (3,1) unsigned); From 874a91d995da6874e480c25874b0b2bc891fbd10 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:55:42 -0500 Subject: [PATCH 66/73] spelling: specified Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/cache_storage_api.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/modules/filter/cache/cache_storage_api.hh b/server/modules/filter/cache/cache_storage_api.hh index ac248b871ed..e3bdd6a47cd 100644 --- a/server/modules/filter/cache/cache_storage_api.hh +++ b/server/modules/filter/cache/cache_storage_api.hh @@ -345,10 +345,10 @@ public: * @param key A key generated with get_key. * @param flags Mask of cache_flags_t values. * @param soft_ttl The soft TTL. A value of CACHE_USE_CONFIG_TTL (-1) indicates - * that the value specfied in the config, used in the creation, + * that the value specified in the config, used in the creation, * should be used. * @param hard_ttl The hard TTL. A value of CACHE_USE_CONFIG_TTL (-1) indicates - * that the value specfied in the config, used in the creation, + * that the value specified in the config, used in the creation, * should be used. * @param ppValue Pointer to variable that after a successful return will * point to a GWBUF. From f2ac1dd15a3abde30ca9d609fef73f2e7a2ce17f Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 19:54:29 -0500 Subject: [PATCH 67/73] spelling: specifies Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/ccrfilter/ccrfilter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/ccrfilter/ccrfilter.cc b/server/modules/filter/ccrfilter/ccrfilter.cc index 3879d55696b..b6f3a83e477 100644 --- a/server/modules/filter/ccrfilter/ccrfilter.cc +++ b/server/modules/filter/ccrfilter/ccrfilter.cc @@ -110,7 +110,7 @@ config::ParamRegex ignore( config::ParamEnumMask options( &specification, "options", - "Specificies additional options for the regular expressions; 'ignorecase' makes the " + "Specifies additional options for the regular expressions; 'ignorecase' makes the " "matching case-insensitive (on by default), 'case' makes the matching case-sensitive " "and 'extended' causes whitespace to be ignored. They have been deprecated and you " "should instead use pattern settings in the regular expressions themselves.", From 0b745c0abf1fa3d9dc5db96fb32b8c3361f4909f Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 19:07:07 -0500 Subject: [PATCH 68/73] spelling: statements Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/masking/maskingfilterconfig.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/masking/maskingfilterconfig.cc b/server/modules/filter/masking/maskingfilterconfig.cc index 29da1a5b62f..d4430899308 100644 --- a/server/modules/filter/masking/maskingfilterconfig.cc +++ b/server/modules/filter/masking/maskingfilterconfig.cc @@ -68,7 +68,7 @@ config::ParamBool prevent_function_usage( config::ParamBool check_user_variables( &specification, "check_user_variables", - "If true, then SET statemens that are defined using SELECT referring to " + "If true, then SET statements that are defined using SELECT referring to " "masked columns will be blocked.", true, config::Param::AT_RUNTIME); From 493e1364fcd9bb6a4a3768511ab6b8ed78230c22 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:55:51 -0500 Subject: [PATCH 69/73] spelling: storage Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/cache/storagefactory.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/modules/filter/cache/storagefactory.hh b/server/modules/filter/cache/storagefactory.hh index c36306f1a43..305f9cb2fc4 100644 --- a/server/modules/filter/cache/storagefactory.hh +++ b/server/modules/filter/cache/storagefactory.hh @@ -80,7 +80,7 @@ public: * provided. * * @param zName The name of the storage. - * @param config The storagfe configuration. + * @param config The storage configuration. * @param parameters Storage specific parameters. * * @return A storage instance or NULL in case of errors. @@ -98,7 +98,7 @@ public: * accordingly. * * @param zName The name of the storage. - * @param config The storagfe configuration. + * @param config The storage configuration. * @param parameters Storage specific parameters. * * @return A storage instance or NULL in case of errors. From fbf10836c17e149f389c2f8e7a64904252a7f3e7 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:55:58 -0500 Subject: [PATCH 70/73] spelling: template Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/rewritefilter/rf_reader.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/rewritefilter/rf_reader.cc b/server/modules/filter/rewritefilter/rf_reader.cc index afdac13d21b..4aa8f05c2ec 100644 --- a/server/modules/filter/rewritefilter/rf_reader.cc +++ b/server/modules/filter/rewritefilter/rf_reader.cc @@ -39,7 +39,7 @@ # inserted as '\n'. Whitespace does not matter as long as # ignore_whitespace = true. # However, note that "id=42" is not the same as "id = 42" -# in the match tamplate even with ignore_whitespace = true. +# in the match template even with ignore_whitespace = true. # The parser cannot know that id=42 should be prepped for # ignoring space, so it is best to always use space where # space is allowed. From 6dd8e0cf473ec05362549498a4bd5aa59c792830 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:56:04 -0500 Subject: [PATCH 71/73] spelling: transaction Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/binlogfilter/binlogfiltersession.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/binlogfilter/binlogfiltersession.hh b/server/modules/filter/binlogfilter/binlogfiltersession.hh index e3fbbd59ece..e8417186efb 100644 --- a/server/modules/filter/binlogfilter/binlogfiltersession.hh +++ b/server/modules/filter/binlogfilter/binlogfiltersession.hh @@ -72,7 +72,7 @@ private: // Reference to Filter instance const BinlogFilter& m_filter; - // Skip database/table events in current trasaction + // Skip database/table events in current transaction void skipDatabaseTable(const uint8_t* data); // Get Replication Checksum from registration query From 103a04e8722fb4b78349758e3da1dfa8e849a0d4 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 17:56:07 -0500 Subject: [PATCH 72/73] spelling: transmission Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/binlogfilter/binlogfiltersession.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/binlogfilter/binlogfiltersession.cc b/server/modules/filter/binlogfilter/binlogfiltersession.cc index 50ceec0dbcc..05c5d68ecbd 100644 --- a/server/modules/filter/binlogfilter/binlogfiltersession.cc +++ b/server/modules/filter/binlogfilter/binlogfiltersession.cc @@ -780,7 +780,7 @@ void BinlogFilterSession::handlePackets(uint32_t len, const REP_HEADER& hdr) } /** - * Process received data size of a large event trasmission + * Process received data size of a large event transmission * Incoming data don't carry the OK byte and event header * * This sets member variables From 74af503dbdf09aaa23207ca0c2b84e613854538c Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 20 Feb 2023 15:59:21 -0500 Subject: [PATCH 73/73] spelling: with Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- server/modules/filter/rewritefilter/native_replacer.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/filter/rewritefilter/native_replacer.hh b/server/modules/filter/rewritefilter/native_replacer.hh index 0706206b147..8806dd3d5be 100644 --- a/server/modules/filter/rewritefilter/native_replacer.hh +++ b/server/modules/filter/rewritefilter/native_replacer.hh @@ -88,7 +88,7 @@ Iterator read_placeholder(const Iterator cfirst, const Iterator last, pRegex->clear(); auto first = cfirst; - // Should start with with "@{" + // Should start with "@{" if (*first != '@' || ++first == last || *first != '{' || ++first == last) { *pOrdinal = 0; // not a placeholder