Commit eb145e5a authored by lilinjie's avatar lilinjie Committed by Daniel Black

fix typos

Signed-off-by: default avatarlilinjie <lilinjie@uniontech.com>
parent b194c83b
......@@ -584,7 +584,7 @@ if ($MySQLaccess::CGI) { #CGI-version
# ----------------------
# brief and table-format
# exclude each-other
# table-format is prefered
# table-format is preferred
if (defined($Param{'table'})) { undef($Param{'brief'}); }
if (defined($Param{'preview'}) or
defined($Param{'copy'}) or
......
......@@ -711,7 +711,7 @@ class QUICK_RANGE :public Sql_alloc {
}
/**
Initalizes a key_range object for communication with storage engine.
Initializes a key_range object for communication with storage engine.
This function facilitates communication with the Storage Engine API by
translating the minimum endpoint of the interval represented by this
......@@ -732,7 +732,7 @@ class QUICK_RANGE :public Sql_alloc {
}
/**
Initalizes a key_range object for communication with storage engine.
Initializes a key_range object for communication with storage engine.
This function facilitates communication with the Storage Engine API by
translating the minimum endpoint of the interval represented by this
......@@ -749,7 +749,7 @@ class QUICK_RANGE :public Sql_alloc {
}
/**
Initalizes a key_range object for communication with storage engine.
Initializes a key_range object for communication with storage engine.
This function facilitates communication with the Storage Engine API by
translating the maximum endpoint of the interval represented by this
......@@ -770,7 +770,7 @@ class QUICK_RANGE :public Sql_alloc {
}
/**
Initalizes a key_range object for communication with storage engine.
Initializes a key_range object for communication with storage engine.
This function facilitates communication with the Storage Engine API by
translating the maximum endpoint of the interval represented by this
......
......@@ -32,7 +32,7 @@ typedef struct st_changed_table_list CHANGED_TABLE_LIST;
Can't create new free memory block if unused memory in block less
then QUERY_CACHE_MIN_ALLOCATION_UNIT.
if QUERY_CACHE_MIN_ALLOCATION_UNIT == 0 then
QUERY_CACHE_MIN_ALLOCATION_UNIT choosed automaticaly
QUERY_CACHE_MIN_ALLOCATION_UNIT choosed automatically
*/
#define QUERY_CACHE_MIN_ALLOCATION_UNIT 512
......
......@@ -5430,7 +5430,7 @@ static bool update_wsrep_auto_increment_control (sys_var *self, THD *thd, enum_v
{
/*
The variables that control auto increment shall be calculated
automaticaly based on the size of the cluster. This usually done
automatically based on the size of the cluster. This usually done
within the wsrep_view_handler_cb callback. However, if the user
manually sets the value of wsrep_auto_increment_control to 'ON',
then we should to re-calculate these variables again (because
......
......@@ -166,7 +166,7 @@ void init_timers(void)
/*
For STAGE and STATEMENT, a timer with a fixed frequency is better.
The prefered timer is nanosecond, or lower resolutions.
The preferred timer is nanosecond, or lower resolutions.
*/
if (nanosec_to_pico != 0)
......@@ -203,7 +203,7 @@ void init_timers(void)
/*
For IDLE, a timer with a fixed frequency is critical,
as the CPU clock may slow down a lot if the server is completely idle.
The prefered timer is microsecond, or lower resolutions.
The preferred timer is microsecond, or lower resolutions.
*/
if (microsec_to_pico != 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment