fix typos

Signed-off-by: lilinjie <lilinjie@uniontech.com>
This commit is contained in:
lilinjie 2023-01-12 10:38:38 +08:00 committed by Daniel Black
parent b194c83b7b
commit eb145e5ad7
5 changed files with 9 additions and 9 deletions

View File

@ -584,7 +584,7 @@ if ($MySQLaccess::CGI) { #CGI-version
# ---------------------- # ----------------------
# brief and table-format # brief and table-format
# exclude each-other # exclude each-other
# table-format is prefered # table-format is preferred
if (defined($Param{'table'})) { undef($Param{'brief'}); } if (defined($Param{'table'})) { undef($Param{'brief'}); }
if (defined($Param{'preview'}) or if (defined($Param{'preview'}) or
defined($Param{'copy'}) or defined($Param{'copy'}) or

View File

@ -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 This function facilitates communication with the Storage Engine API by
translating the minimum endpoint of the interval represented by this 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 This function facilitates communication with the Storage Engine API by
translating the minimum endpoint of the interval represented by this 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 This function facilitates communication with the Storage Engine API by
translating the maximum endpoint of the interval represented by this 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 This function facilitates communication with the Storage Engine API by
translating the maximum endpoint of the interval represented by this translating the maximum endpoint of the interval represented by this

View File

@ -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 Can't create new free memory block if unused memory in block less
then QUERY_CACHE_MIN_ALLOCATION_UNIT. then QUERY_CACHE_MIN_ALLOCATION_UNIT.
if QUERY_CACHE_MIN_ALLOCATION_UNIT == 0 then 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 #define QUERY_CACHE_MIN_ALLOCATION_UNIT 512

View File

@ -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 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 within the wsrep_view_handler_cb callback. However, if the user
manually sets the value of wsrep_auto_increment_control to 'ON', manually sets the value of wsrep_auto_increment_control to 'ON',
then we should to re-calculate these variables again (because then we should to re-calculate these variables again (because

View File

@ -166,7 +166,7 @@ void init_timers(void)
/* /*
For STAGE and STATEMENT, a timer with a fixed frequency is better. 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) if (nanosec_to_pico != 0)
@ -203,7 +203,7 @@ void init_timers(void)
/* /*
For IDLE, a timer with a fixed frequency is critical, 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. 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) if (microsec_to_pico != 0)