diff options
Diffstat (limited to 'storage')
-rw-r--r-- | storage/connect/plgdbutl.cpp | 6 | ||||
-rw-r--r-- | storage/connect/taboccur.cpp | 4 | ||||
-rw-r--r-- | storage/connect/taboccur.h | 8 | ||||
-rw-r--r-- | storage/connect/tabpivot.cpp | 4 | ||||
-rw-r--r-- | storage/connect/tabpivot.h | 2 | ||||
-rw-r--r-- | storage/connect/tabutil.cpp | 2 | ||||
-rw-r--r-- | storage/connect/tabxcl.cpp | 4 | ||||
-rw-r--r-- | storage/connect/tabxcl.h | 2 | ||||
-rw-r--r-- | storage/innobase/fts/fts0fts.cc | 2 | ||||
-rw-r--r-- | storage/innobase/fts/fts0opt.cc | 2 | ||||
-rw-r--r-- | storage/maria/ma_range.c | 2 | ||||
-rw-r--r-- | storage/oqgraph/ha_oqgraph.cc | 2 | ||||
-rw-r--r-- | storage/oqgraph/mysql-test/oqgraph/boundary_conditions.result | 2 | ||||
-rw-r--r-- | storage/oqgraph/mysql-test/oqgraph/boundary_conditions.test | 4 | ||||
-rw-r--r-- | storage/oqgraph/mysql-test/oqgraph/create_attr_legacy.test | 2 | ||||
-rw-r--r-- | storage/oqgraph/mysql-test/oqgraph/legacy_upgrade.test | 4 | ||||
-rw-r--r-- | storage/sphinx/ha_sphinx.cc | 2 | ||||
-rw-r--r-- | storage/tokudb/PerconaFT/third_party/snappy-1.1.2/aclocal.m4 | 2 |
18 files changed, 28 insertions, 28 deletions
diff --git a/storage/connect/plgdbutl.cpp b/storage/connect/plgdbutl.cpp index 54808aa682f..c20c3d56c3f 100644 --- a/storage/connect/plgdbutl.cpp +++ b/storage/connect/plgdbutl.cpp @@ -428,7 +428,7 @@ char *ExtractFromPath(PGLOBAL g, char *pBuff, char *FileName, OPVAL op) #ifdef NOT_USED /***********************************************************************/ -/* Check the occurence and matching of a pattern against a string. */ +/* Check the occurrence and matching of a pattern against a string. */ /* Because this function is only used for catalog name checking, */ /* it must be case insensitive. */ /***********************************************************************/ @@ -572,7 +572,7 @@ bool EvalLikePattern(LPCSTR sp, LPCSTR tp) b = (t || !*sp); /* true if % or void strg. */ else if (!t) { /*******************************************************************/ - /* No character to skip, check occurence of <subtring-specifier> */ + /* No character to skip, check occurrence of <subtring-specifier> */ /* at the very beginning of remaining string. */ /*******************************************************************/ if (p) { @@ -586,7 +586,7 @@ bool EvalLikePattern(LPCSTR sp, LPCSTR tp) if (p) /*****************************************************************/ /* Here is the case explaining why we need a recursive routine. */ - /* The test must be done not only against the first occurence */ + /* The test must be done not only against the first occurrence */ /* of the <substring-specifier> in the remaining string, */ /* but also with all eventual succeeding ones. */ /*****************************************************************/ diff --git a/storage/connect/taboccur.cpp b/storage/connect/taboccur.cpp index 20d4c0cb032..8f5c4e0e732 100644 --- a/storage/connect/taboccur.cpp +++ b/storage/connect/taboccur.cpp @@ -292,7 +292,7 @@ TDBOCCUR::TDBOCCUR(POCCURDEF tdp) : TDBPRX(tdp) Col = NULL; // To source column blocks array Mult = PrepareColist(Colist); // Multiplication factor N = 0; // The current table index - M = 0; // The occurence rank + M = 0; // The occurrence rank RowFlag = 0; // 0: Ok, 1: Same, 2: Skip } // end of TDBOCCUR constructor @@ -431,7 +431,7 @@ int TDBOCCUR::GetMaxSize(PGLOBAL g) /***********************************************************************/ /* In this sample, ROWID will be the (virtual) row number, */ -/* while ROWNUM will be the occurence rank in the multiple column. */ +/* while ROWNUM will be the occurrence rank in the multiple column. */ /***********************************************************************/ int TDBOCCUR::RowNumber(PGLOBAL, bool b) { diff --git a/storage/connect/taboccur.h b/storage/connect/taboccur.h index 4538d3d71f2..13bc055cd6f 100644 --- a/storage/connect/taboccur.h +++ b/storage/connect/taboccur.h @@ -35,7 +35,7 @@ class OCCURDEF : public PRXDEF { /* Logical table description */ protected: // Members char *Colist; /* The source column list */ - char *Xcol; /* The multiple occurence column */ + char *Xcol; /* The multiple occurrence column */ char *Rcol; /* The rank column */ }; // end of OCCURDEF @@ -76,12 +76,12 @@ class TDBOCCUR : public TDBPRX { PCOL *Col; // To source multiple columns int Mult; // Multiplication factor int N; // The current table index - int M; // The occurence rank + int M; // The occurrence rank BYTE RowFlag; // 0: Ok, 1: Same, 2: Skip }; // end of class TDBOCCUR /***********************************************************************/ -/* Class OCCURCOL: for the multiple occurence column. */ +/* Class OCCURCOL: for the multiple occurrence column. */ /***********************************************************************/ class OCCURCOL : public COLBLK { public: @@ -106,7 +106,7 @@ class OCCURCOL : public COLBLK { }; // end of class OCCURCOL /***********************************************************************/ -/* Class RANKCOL: for the multiple occurence column ranking. */ +/* Class RANKCOL: for the multiple occurrence column ranking. */ /***********************************************************************/ class RANKCOL : public COLBLK { public: diff --git a/storage/connect/tabpivot.cpp b/storage/connect/tabpivot.cpp index 1ba36864005..25fe798f2ac 100644 --- a/storage/connect/tabpivot.cpp +++ b/storage/connect/tabpivot.cpp @@ -404,7 +404,7 @@ TDBPIVOT::TDBPIVOT(PPIVOTDEF tdp) : TDBPRX(tdp) Accept = tdp->Accept; Mult = -1; // Estimated table size N = 0; // The current table index - M = 0; // The occurence rank + M = 0; // The occurrence rank FileStatus = 0; // Logical End-of-File RowFlag = 0; // 0: Ok, 1: Same, 2: Skip } // end of TDBPIVOT constructor @@ -644,7 +644,7 @@ int TDBPIVOT::GetMaxSize(PGLOBAL g __attribute__((unused))) /***********************************************************************/ /* In this sample, ROWID will be the (virtual) row number, */ -/* while ROWNUM will be the occurence rank in the multiple column. */ +/* while ROWNUM will be the occurrence rank in the multiple column. */ /***********************************************************************/ int TDBPIVOT::RowNumber(PGLOBAL, bool b) { diff --git a/storage/connect/tabpivot.h b/storage/connect/tabpivot.h index 6c2d53e9527..d819d55a61a 100644 --- a/storage/connect/tabpivot.h +++ b/storage/connect/tabpivot.h @@ -138,7 +138,7 @@ class TDBPIVOT : public TDBPRX { int Mult; // Multiplication factor int Ncol; // The number of generated columns int N; // The current table index - int M; // The occurence rank + int M; // The occurrence rank int Port; // MySQL port number BYTE FileStatus; // 0: First 1: Rows 2: End-of-File BYTE RowFlag; // 0: Ok, 1: Same, 2: Skip diff --git a/storage/connect/tabutil.cpp b/storage/connect/tabutil.cpp index 8113ee620c3..65361acfcd8 100644 --- a/storage/connect/tabutil.cpp +++ b/storage/connect/tabutil.cpp @@ -536,7 +536,7 @@ int TDBPRX::GetMaxSize(PGLOBAL g) /***********************************************************************/ /* In this sample, ROWID will be the (virtual) row number, */ -/* while ROWNUM will be the occurence rank in the multiple column. */ +/* while ROWNUM will be the occurrence rank in the multiple column. */ /***********************************************************************/ int TDBPRX::RowNumber(PGLOBAL g, bool b) { diff --git a/storage/connect/tabxcl.cpp b/storage/connect/tabxcl.cpp index 4634f6a4ded..46620985852 100644 --- a/storage/connect/tabxcl.cpp +++ b/storage/connect/tabxcl.cpp @@ -103,7 +103,7 @@ TDBXCL::TDBXCL(PXCLDEF tdp) : TDBPRX(tdp) Xcolp = NULL; // To the XCLCOL column Mult = tdp->Mult; // Multiplication factor N = 0; // The current table index - M = 0; // The occurence rank + M = 0; // The occurrence rank RowFlag = 0; // 0: Ok, 1: Same, 2: Skip New = TRUE; // TRUE for new line Sep = tdp->Sep; // The Xcol separator @@ -142,7 +142,7 @@ int TDBXCL::GetMaxSize(PGLOBAL g) /***********************************************************************/ /* For this table type, ROWID is the (virtual) row number, */ -/* while ROWNUM is be the occurence rank in the multiple column. */ +/* while ROWNUM is be the occurrence rank in the multiple column. */ /***********************************************************************/ int TDBXCL::RowNumber(PGLOBAL, bool b) { diff --git a/storage/connect/tabxcl.h b/storage/connect/tabxcl.h index fde000ee709..2ae96703548 100644 --- a/storage/connect/tabxcl.h +++ b/storage/connect/tabxcl.h @@ -72,7 +72,7 @@ class TDBXCL : public TDBPRX { PXCLCOL Xcolp; // To the XCVCOL column int Mult; // Multiplication factor int N; // The current table index - int M; // The occurence rank + int M; // The occurrence rank BYTE RowFlag; // 0: Ok, 1: Same, 2: Skip bool New; // TRUE for new line char Sep; // The Xcol separator diff --git a/storage/innobase/fts/fts0fts.cc b/storage/innobase/fts/fts0fts.cc index a27499822b7..59b7ea059fa 100644 --- a/storage/innobase/fts/fts0fts.cc +++ b/storage/innobase/fts/fts0fts.cc @@ -1436,7 +1436,7 @@ fts_drop_table( dict_table_close(table, TRUE, FALSE); - /* Pass nonatomic=false (dont allow data dict unlock), + /* Pass nonatomic=false (don't allow data dict unlock), because the transaction may hold locks on SYS_* tables from previous calls to fts_drop_table(). */ error = row_drop_table_for_mysql(table_name, trx, diff --git a/storage/innobase/fts/fts0opt.cc b/storage/innobase/fts/fts0opt.cc index 4d8f78a6df6..fd2156c006e 100644 --- a/storage/innobase/fts/fts0opt.cc +++ b/storage/innobase/fts/fts0opt.cc @@ -581,7 +581,7 @@ fts_zip_read_word( /* Finished decompressing block. */ if (zip->zp->avail_in == 0) { - /* Free the block thats been decompressed. */ + /* Free the block that's been decompressed. */ if (zip->pos > 0) { ulint prev = zip->pos - 1; diff --git a/storage/maria/ma_range.c b/storage/maria/ma_range.c index bd434bc48e1..d4e449a748e 100644 --- a/storage/maria/ma_range.c +++ b/storage/maria/ma_range.c @@ -252,7 +252,7 @@ static double _ma_search_pos(MARIA_HA *info, MARIA_KEY *key, pages we are counting keys. If this is a node then we have to search backwards to find the - first occurence of the key. The row position in a node tree + first occurrence of the key. The row position in a node tree is keynr (starting from 0) + offset for sub tree. If there is no sub tree to search, then we are at start of next sub tree. diff --git a/storage/oqgraph/ha_oqgraph.cc b/storage/oqgraph/ha_oqgraph.cc index 1857b66fdfd..d84a59474f6 100644 --- a/storage/oqgraph/ha_oqgraph.cc +++ b/storage/oqgraph/ha_oqgraph.cc @@ -566,7 +566,7 @@ int ha_oqgraph::open(const char *name, int mode, uint test_if_locked) // What I think this code is doing: // * Our OQGRAPH table is `database_blah/name` - // * We point p --> /name (or if table happened to be simply `name`, to `name`, dont know if this is possible) + // * We point p --> /name (or if table happened to be simply `name`, to `name`, don't know if this is possible) // * plen seems to be then set to length of `database_blah/options_data_table_name` // * then we set share->normalized_path.str and share->path.str to `database_blah/options_data_table_name` // * I assume that this verbiage is needed so the memory used by share->path.str is set in the share mem root diff --git a/storage/oqgraph/mysql-test/oqgraph/boundary_conditions.result b/storage/oqgraph/mysql-test/oqgraph/boundary_conditions.result index 7cb65bc07ea..de8362c16c4 100644 --- a/storage/oqgraph/mysql-test/oqgraph/boundary_conditions.result +++ b/storage/oqgraph/mysql-test/oqgraph/boundary_conditions.result @@ -142,7 +142,7 @@ SELECT * FROM graph WHERE latch='-1' and origid is NULL; latch origid destid weight seq linkid Warnings: Warning 1210 Incorrect arguments to OQGRAPH latch -# Make sure we dont crash if someone passed in a UTF string +# Make sure we don't crash if someone passed in a UTF string SELECT * FROM graph WHERE latch='Ω Ohms Tennis Ball 〄'; latch origid destid weight seq linkid SELECT * FROM graph WHERE latch='Ω Ohms Tennis Ball 〄' and destid=2 and origid=1; diff --git a/storage/oqgraph/mysql-test/oqgraph/boundary_conditions.test b/storage/oqgraph/mysql-test/oqgraph/boundary_conditions.test index a6dae0e2678..9eea290c6b9 100644 --- a/storage/oqgraph/mysql-test/oqgraph/boundary_conditions.test +++ b/storage/oqgraph/mysql-test/oqgraph/boundary_conditions.test @@ -91,7 +91,7 @@ SELECT * FROM graph WHERE latch='-1' and destid=1; SELECT * FROM graph WHERE latch='-1' and origid=666; SELECT * FROM graph WHERE latch='-1' and origid is NULL; ---echo # Make sure we dont crash if someone passed in a UTF string +--echo # Make sure we don't crash if someone passed in a UTF string #-- Note the next line couter-intuitively produces no warning SELECT * FROM graph WHERE latch='Ω Ohms Tennis Ball 〄'; SELECT * FROM graph WHERE latch='Ω Ohms Tennis Ball 〄' and destid=2 and origid=1; @@ -125,7 +125,7 @@ FLUSH TABLES; TRUNCATE TABLE graph_base; #-- Uncomment the following after fixing https://bugs.launchpad.net/oqgraph/+bug/xxxxxxx - Causes the later select to not fail! -#-- For now dont report a separate bug as it may be a manifestation of https://bugs.launchpad.net/oqgraph/+bug/1195735 +#-- For now don't report a separate bug as it may be a manifestation of https://bugs.launchpad.net/oqgraph/+bug/1195735 SELECT * FROM graph; #-- Expect error if we pull the table out from under diff --git a/storage/oqgraph/mysql-test/oqgraph/create_attr_legacy.test b/storage/oqgraph/mysql-test/oqgraph/create_attr_legacy.test index ba1d9791367..7fe58d3e307 100644 --- a/storage/oqgraph/mysql-test/oqgraph/create_attr_legacy.test +++ b/storage/oqgraph/mysql-test/oqgraph/create_attr_legacy.test @@ -26,7 +26,7 @@ CREATE TABLE backing ( # Here we enable scaffolding to let us create a deprecated table # so we can check that the new code will still allow queries to be performed # on a legacy database -# It should still generate a warning (1287) - but I dont know how to test for that +# It should still generate a warning (1287) - but I don't know how to test for that # # latch SMALLINT UNSIGNED NULL' is deprecated and will be removed in a future # release. Please use 'latch VARCHAR(32) NULL' instead diff --git a/storage/oqgraph/mysql-test/oqgraph/legacy_upgrade.test b/storage/oqgraph/mysql-test/oqgraph/legacy_upgrade.test index f7fc79340ce..ae548b5e440 100644 --- a/storage/oqgraph/mysql-test/oqgraph/legacy_upgrade.test +++ b/storage/oqgraph/mysql-test/oqgraph/legacy_upgrade.test @@ -13,7 +13,7 @@ CREATE TABLE graph_base ( # Backwards compatibility test # First we ensure the scaffolding is disabled (default situation) # and check we cant create a table with an integer latch -# Assume this is the default, so dont explicity set false yet: +# Assume this is the default, so don't explicity set false yet: # SET GLOBAL oqgraph_allow_create_integer_latch=false; --echo The next error 140 + 1005 is expected --error 140 @@ -32,7 +32,7 @@ CREATE TABLE graph ( # Here we enable scaffolding to let us create a deprecated table # so we can check that the new code will still allow queries to be performed # on a legacy database -# It should still generate a warning (1287) - but I dont know how to test for that +# It should still generate a warning (1287) - but I don't know how to test for that # # latch SMALLINT UNSIGNED NULL' is deprecated and will be removed in a future # release. Please use 'latch VARCHAR(32) NULL' instead diff --git a/storage/sphinx/ha_sphinx.cc b/storage/sphinx/ha_sphinx.cc index 29ac8318700..df8ecd5f984 100644 --- a/storage/sphinx/ha_sphinx.cc +++ b/storage/sphinx/ha_sphinx.cc @@ -199,7 +199,7 @@ enum ESphRankMode SPH_RANK_PROXIMITY_BM25 = 0, ///< default mode, phrase proximity major factor and BM25 minor one SPH_RANK_BM25 = 1, ///< statistical mode, BM25 ranking only (faster but worse quality) SPH_RANK_NONE = 2, ///< no ranking, all matches get a weight of 1 - SPH_RANK_WORDCOUNT = 3, ///< simple word-count weighting, rank is a weighted sum of per-field keyword occurence counts + SPH_RANK_WORDCOUNT = 3, ///< simple word-count weighting, rank is a weighted sum of per-field keyword occurrence counts SPH_RANK_PROXIMITY = 4, ///< phrase proximity SPH_RANK_MATCHANY = 5, ///< emulate old match-any weighting SPH_RANK_FIELDMASK = 6, ///< sets bits where there were matches diff --git a/storage/tokudb/PerconaFT/third_party/snappy-1.1.2/aclocal.m4 b/storage/tokudb/PerconaFT/third_party/snappy-1.1.2/aclocal.m4 index 881dba8f0cd..10f8e70596b 100644 --- a/storage/tokudb/PerconaFT/third_party/snappy-1.1.2/aclocal.m4 +++ b/storage/tokudb/PerconaFT/third_party/snappy-1.1.2/aclocal.m4 @@ -8681,7 +8681,7 @@ fi[]dnl # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) -# only at the first occurence in configure.ac, so if the first place +# only at the first occurrence in configure.ac, so if the first place # it's called might be skipped (such as if it is within an "if", you # have to call PKG_CHECK_EXISTS manually # -------------------------------------------------------------- |