diff options
author | Otto Kekäläinen <otto@kekalainen.net> | 2020-12-20 21:07:38 +0200 |
---|---|---|
committer | Daniel Black <daniel@mariadb.org> | 2021-03-22 18:10:39 +1100 |
commit | cebf9ee2040195a61fbed32d06cc2e335e9f8dfd (patch) | |
tree | 99068da2237fbb33ad57ab920e70332b3832b565 /storage | |
parent | e7ddf46632db84f55af85cd4f401d59c6ab29242 (diff) | |
download | mariadb-git-cebf9ee2040195a61fbed32d06cc2e335e9f8dfd.tar.gz |
Fix various spelling errors still found in code
Reseting -> Resetting
Unknow -> Unknown
capabilites -> capabilities
choosen -> chosen
direcory -> directory
informations -> information
openned -> opened
refered -> referred
to access -> one to access
missmatch -> mismatch
succesfully -> successfully
dont -> don't
Diffstat (limited to 'storage')
-rw-r--r-- | storage/connect/filter.cpp | 2 | ||||
-rw-r--r-- | storage/connect/ioapi.h | 2 | ||||
-rw-r--r-- | storage/connect/myconn.cpp | 2 | ||||
-rw-r--r-- | storage/federated/ha_federated.cc | 2 | ||||
-rw-r--r-- | storage/federatedx/ha_federatedx.cc | 3 | ||||
-rw-r--r-- | storage/heap/ChangeLog | 2 | ||||
-rw-r--r-- | storage/innobase/btr/btr0cur.cc | 2 | ||||
-rw-r--r-- | storage/innobase/fil/fil0fil.cc | 2 | ||||
-rw-r--r-- | storage/innobase/handler/ha_innodb.cc | 2 | ||||
-rw-r--r-- | storage/innobase/include/fil0fil.h | 2 | ||||
-rw-r--r-- | storage/maria/aria_chk.c | 6 | ||||
-rw-r--r-- | storage/maria/aria_read_log.c | 2 | ||||
-rw-r--r-- | storage/maria/ha_maria.cc | 4 | ||||
-rw-r--r-- | storage/maria/ma_backup.c | 2 | ||||
-rw-r--r-- | storage/maria/ma_check.c | 2 | ||||
-rw-r--r-- | storage/myisam/mi_open.c | 2 | ||||
-rw-r--r-- | storage/myisam/myisamchk.c | 2 | ||||
-rw-r--r-- | storage/rocksdb/mysql-test/rocksdb/include/index_merge1.inc | 2 | ||||
-rw-r--r-- | storage/tokudb/PerconaFT/ft/tests/logcursor-empty-logfile-3.cc | 2 |
19 files changed, 22 insertions, 23 deletions
diff --git a/storage/connect/filter.cpp b/storage/connect/filter.cpp index e2361ddccb4..5dea66fff0d 100644 --- a/storage/connect/filter.cpp +++ b/storage/connect/filter.cpp @@ -856,7 +856,7 @@ PFIL FILTER::LinkFilter(PGLOBAL g, PFIL fp2) /***********************************************************************/ /* Checks whether filter contains reference to a previous table that */ -/* is not logically joined to the currently openned table, or whether */ +/* is not logically joined to the currently opened table, or whether */ /* it is a Sub-Select filter. In any case, local is set to FALSE. */ /* Note: This function is now applied to de-linearized filters. */ /***********************************************************************/ diff --git a/storage/connect/ioapi.h b/storage/connect/ioapi.h index 4fa73002053..e2148c56bac 100644 --- a/storage/connect/ioapi.h +++ b/storage/connect/ioapi.h @@ -82,7 +82,7 @@ #include "mz64conf.h" #endif -/* a type choosen by DEFINE */ +/* a type chosen by DEFINE */ #ifdef HAVE_64BIT_INT_CUSTOM typedef 64BIT_INT_CUSTOM_TYPE ZPOS64_T; #else diff --git a/storage/connect/myconn.cpp b/storage/connect/myconn.cpp index abb865cc61f..2e270368916 100644 --- a/storage/connect/myconn.cpp +++ b/storage/connect/myconn.cpp @@ -120,7 +120,7 @@ static MYSQL_RES *connect_use_result(MYSQL *mysql) /************************************************************************/ /* MyColumns: constructs the result blocks containing all columns */ /* of a MySQL table or view. */ -/* info = TRUE to get catalog column informations. */ +/* info = TRUE to get catalog column information. */ /************************************************************************/ PQRYRES MyColumns(PGLOBAL g, THD *thd, const char *host, const char *db, const char *user, const char *pwd, diff --git a/storage/federated/ha_federated.cc b/storage/federated/ha_federated.cc index db933b14b89..64a80808d6f 100644 --- a/storage/federated/ha_federated.cc +++ b/storage/federated/ha_federated.cc @@ -3394,7 +3394,7 @@ maria_declare_plugin(federated) &federated_storage_engine, "FEDERATED", "Patrick Galbraith and Brian Aker, MySQL AB", - "Allows to access tables on other MariaDB servers", + "Allows accessing tables on other MariaDB servers", PLUGIN_LICENSE_GPL, federated_db_init, /* Plugin Init */ federated_done, /* Plugin Deinit */ diff --git a/storage/federatedx/ha_federatedx.cc b/storage/federatedx/ha_federatedx.cc index 477cc87cd6c..5be37098dfc 100644 --- a/storage/federatedx/ha_federatedx.cc +++ b/storage/federatedx/ha_federatedx.cc @@ -3715,7 +3715,7 @@ maria_declare_plugin(federatedx) &federatedx_storage_engine, "FEDERATED", "Patrick Galbraith", - "Allows to access tables on other MariaDB servers, supports transactions and more", + "Allows one to access tables on other MariaDB servers, supports transactions and more", PLUGIN_LICENSE_GPL, federatedx_db_init, /* Plugin Init */ federatedx_done, /* Plugin Deinit */ @@ -3726,4 +3726,3 @@ maria_declare_plugin(federatedx) MariaDB_PLUGIN_MATURITY_STABLE /* maturity */ } maria_declare_plugin_end; - diff --git a/storage/heap/ChangeLog b/storage/heap/ChangeLog index 9d3ced84cc9..b6bd0e435bc 100644 --- a/storage/heap/ChangeLog +++ b/storage/heap/ChangeLog @@ -1,7 +1,7 @@ Sun Sep 6 10:56:59 1992 Michael Widenius (monty@bitch) * Added functions for first,next,last,prev and clear of database-heap - * Added optional index to rsame for compability. + * Added optional index to rsame for compatibility. Fri Aug 14 14:34:35 1992 Michael Widenius (monty@bitch) diff --git a/storage/innobase/btr/btr0cur.cc b/storage/innobase/btr/btr0cur.cc index b9b581f3675..18671308ece 100644 --- a/storage/innobase/btr/btr0cur.cc +++ b/storage/innobase/btr/btr0cur.cc @@ -2146,7 +2146,7 @@ need_opposite_intention: /* If the first or the last record of the page or the same key value to the first record or last record, - the another page might be choosen when BTR_CONT_MODIFY_TREE. + the another page might be chosen when BTR_CONT_MODIFY_TREE. So, the parent page should not released to avoiding deadlock with blocking the another search with the same key value. */ if (!detected_same_key_root diff --git a/storage/innobase/fil/fil0fil.cc b/storage/innobase/fil/fil0fil.cc index dbe05ba8a52..842dbaf1eb2 100644 --- a/storage/innobase/fil/fil0fil.cc +++ b/storage/innobase/fil/fil0fil.cc @@ -1895,7 +1895,7 @@ fil_space_t *fil_truncate_prepare(ulint space_id) /*******************************************************************//** Allocates and builds a file name from a path, a table or tablespace name and a suffix. The string must be freed by caller with ut_free(). -@param[in] path NULL or the direcory path or the full path and filename. +@param[in] path NULL or the directory path or the full path and filename. @param[in] name NULL if path is full, or Table/Tablespace name @param[in] suffix NULL or the file extention to use. @param[in] trim_name true if the last name on the path should be trimmed. diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc index 3e6c46fb5aa..d125c8a3d4e 100644 --- a/storage/innobase/handler/ha_innodb.cc +++ b/storage/innobase/handler/ha_innodb.cc @@ -20008,7 +20008,7 @@ static MYSQL_SYSVAR_UINT(simulate_comp_failures, srv_simulate_comp_failures, static MYSQL_SYSVAR_BOOL(force_primary_key, srv_force_primary_key, PLUGIN_VAR_OPCMDARG, - "Do not allow to create table without primary key (off by default)", + "Do not allow creating a table without primary key (off by default)", NULL, NULL, FALSE); static const char *page_compression_algorithms[]= { "none", "zlib", "lz4", "lzo", "lzma", "bzip2", "snappy", 0 }; diff --git a/storage/innobase/include/fil0fil.h b/storage/innobase/include/fil0fil.h index a37bca6ec39..4d3b47c1d79 100644 --- a/storage/innobase/include/fil0fil.h +++ b/storage/innobase/include/fil0fil.h @@ -1548,7 +1548,7 @@ void fil_close_tablespace(ulint id); /*******************************************************************//** Allocates and builds a file name from a path, a table or tablespace name and a suffix. The string must be freed by caller with ut_free(). -@param[in] path NULL or the direcory path or the full path and filename. +@param[in] path NULL or the directory path or the full path and filename. @param[in] name NULL if path is full, or Table/Tablespace name @param[in] suffix NULL or the file extention to use. @return own: file name */ diff --git a/storage/maria/aria_chk.c b/storage/maria/aria_chk.c index 8f7f1b11b6f..cde87a04adc 100644 --- a/storage/maria/aria_chk.c +++ b/storage/maria/aria_chk.c @@ -586,7 +586,7 @@ Recover (repair)/ options (When using '--recover' or '--safe-recover'):\n\ -q, --quick Faster repair by not modifying the data file.\n\ One can give a second '-q' to force aria_chk to\n\ modify the original datafile in case of duplicate keys.\n\ - NOTE: Tables where the data file is currupted can't be\n\ + NOTE: Tables where the data file is corrupted can't be\n\ fixed with this option.\n\ -u, --unpack Unpack file packed with ariapack.\n\ "); @@ -1359,7 +1359,7 @@ static int maria_chk(HA_CHECK *param, char *filename) error= maria_zerofill(param, info, filename); if (!error) { - DBUG_PRINT("info", ("Reseting crashed state")); + DBUG_PRINT("info", ("Resetting crashed state")); share->state.changed&= ~(STATE_CHANGED | STATE_CRASHED_FLAGS | STATE_IN_REPAIR); } @@ -1423,7 +1423,7 @@ static int maria_chk(HA_CHECK *param, char *filename) share->state.open_count != 0) && (param->testflag & T_UPDATE_STATE)) info->update|=HA_STATE_CHANGED | HA_STATE_ROW_CHANGED; - DBUG_PRINT("info", ("Reseting crashed state")); + DBUG_PRINT("info", ("Resetting crashed state")); share->state.changed&= ~(STATE_CHANGED | STATE_CRASHED_FLAGS | STATE_IN_REPAIR); } diff --git a/storage/maria/aria_read_log.c b/storage/maria/aria_read_log.c index a96fd254e0e..51bfa879702 100644 --- a/storage/maria/aria_read_log.c +++ b/storage/maria/aria_read_log.c @@ -269,7 +269,7 @@ static struct my_option my_long_options[] = &opt_silent, &opt_silent, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0}, {"tables-to-redo", 'T', - "List of tables sepearated with , that we should apply REDO on. Use this if you only want to recover some tables", + "List of tables separated with , that we should apply REDO on. Use this if you only want to recover some tables", 0, 0, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0}, {"tmpdir", 't', "Path for temporary files. Multiple paths can be specified, " "separated by " diff --git a/storage/maria/ha_maria.cc b/storage/maria/ha_maria.cc index ea42763871e..c92f5f9eb5c 100644 --- a/storage/maria/ha_maria.cc +++ b/storage/maria/ha_maria.cc @@ -1345,7 +1345,7 @@ int ha_maria::check(THD * thd, HA_CHECK_OPT * check_opt) { file->update |= HA_STATE_CHANGED | HA_STATE_ROW_CHANGED; mysql_mutex_lock(&share->intern_lock); - DBUG_PRINT("info", ("Reseting crashed state")); + DBUG_PRINT("info", ("Resetting crashed state")); share->state.changed&= ~(STATE_CHANGED | STATE_CRASHED_FLAGS | STATE_IN_REPAIR); if (!(table->db_stat & HA_READ_ONLY)) @@ -1722,7 +1722,7 @@ int ha_maria::repair(THD *thd, HA_CHECK *param, bool do_optimize) { if ((share->state.changed & STATE_CHANGED) || maria_is_crashed(file)) { - DBUG_PRINT("info", ("Reseting crashed state")); + DBUG_PRINT("info", ("Resetting crashed state")); share->state.changed&= ~(STATE_CHANGED | STATE_CRASHED_FLAGS | STATE_IN_REPAIR | STATE_MOVED); file->update |= HA_STATE_CHANGED | HA_STATE_ROW_CHANGED; diff --git a/storage/maria/ma_backup.c b/storage/maria/ma_backup.c index 1ce6d43a9de..0384dfb4cc5 100644 --- a/storage/maria/ma_backup.c +++ b/storage/maria/ma_backup.c @@ -21,7 +21,7 @@ #include <aria_backup.h> /** - @brief Get capabilites for an Aria table + @brief Get capabilities for an Aria table @param kfile key file (.MAI) @param cap Capabilities are stored here diff --git a/storage/maria/ma_check.c b/storage/maria/ma_check.c index d63e7bee3c1..c6aa0662a9f 100644 --- a/storage/maria/ma_check.c +++ b/storage/maria/ma_check.c @@ -6428,7 +6428,7 @@ void _ma_update_auto_increment_key(HA_CHECK *param, MARIA_HA *info, keypart_k=c_k for arbitrary constants c_1 ... c_k) = {assuming that values have uniform distribution and index contains all - tuples from the domain (or that {c_1, ..., c_k} tuple is choosen from + tuples from the domain (or that {c_1, ..., c_k} tuple is chosen from index tuples} = #tuples-in-the-index / #distinct-tuples-in-the-index. diff --git a/storage/myisam/mi_open.c b/storage/myisam/mi_open.c index cca2afa0b03..3db424ea997 100644 --- a/storage/myisam/mi_open.c +++ b/storage/myisam/mi_open.c @@ -180,7 +180,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags) if ((share->options & HA_OPTION_RELIES_ON_SQL_LAYER) && ! (open_flags & HA_OPEN_FROM_SQL_LAYER)) { - DBUG_PRINT("error", ("table cannot be openned from non-sql layer")); + DBUG_PRINT("error", ("table cannot be opened from non-sql layer")); my_errno= HA_ERR_UNSUPPORTED; goto err; } diff --git a/storage/myisam/myisamchk.c b/storage/myisam/myisamchk.c index b18f23dacb8..4344ce11420 100644 --- a/storage/myisam/myisamchk.c +++ b/storage/myisam/myisamchk.c @@ -429,7 +429,7 @@ static void usage(void) -q, --quick Faster repair by not modifying the data file.\n\ One can give a second '-q' to force myisamchk to\n\ modify the original datafile in case of duplicate keys.\n\ - NOTE: Tables where the data file is currupted can't be\n\ + NOTE: Tables where the data file is corrupted can't be\n\ fixed with this option.\n\ -u, --unpack Unpack file packed with myisampack.\n\ "); diff --git a/storage/rocksdb/mysql-test/rocksdb/include/index_merge1.inc b/storage/rocksdb/mysql-test/rocksdb/include/index_merge1.inc index b5cf7bff763..c1462e7817a 100644 --- a/storage/rocksdb/mysql-test/rocksdb/include/index_merge1.inc +++ b/storage/rocksdb/mysql-test/rocksdb/include/index_merge1.inc @@ -676,7 +676,7 @@ drop table t1; if ($merge_table_support) { # -# BUG#17314: Index_merge/intersection not choosen by the optimizer for MERGE tables +# BUG#17314: Index_merge/intersection not chosen by the optimizer for MERGE tables # create table t0 (a int); insert into t0 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9); diff --git a/storage/tokudb/PerconaFT/ft/tests/logcursor-empty-logfile-3.cc b/storage/tokudb/PerconaFT/ft/tests/logcursor-empty-logfile-3.cc index 8bb9d961fdd..e54ea4955f1 100644 --- a/storage/tokudb/PerconaFT/ft/tests/logcursor-empty-logfile-3.cc +++ b/storage/tokudb/PerconaFT/ft/tests/logcursor-empty-logfile-3.cc @@ -174,7 +174,7 @@ test_main (int argc, const char *argv[]) { r = toku_logger_open(TOKU_TEST_FILENAME, logger); assert(r==0); toku_logger_maybe_trim_log(logger, trim_lsn); - assert( toku_logfilemgr_num_logfiles(logger->logfilemgr) == 4 ); // untrimmed log, empty log, plus newly openned log + assert( toku_logfilemgr_num_logfiles(logger->logfilemgr) == 4 ); // untrimmed log, empty log, plus newly opened log r = toku_logger_close(&logger); } |