fix typos

Signed-off-by: lilinjie <lilinjie@uniontech.com>
This commit is contained in:
lilinjie 2023-01-04 18:32:54 +08:00 committed by Daniel Black
parent e51a1d6fc0
commit 758c24dae2
6 changed files with 7 additions and 7 deletions

View File

@ -11287,7 +11287,7 @@ Create_field *Create_field::clone(MEM_ROOT *mem_root) const
} }
/** /**
Return true if default is an expression that must be saved explicitely Return true if default is an expression that must be saved explicitly
This is: This is:
- Not basic constants - Not basic constants

View File

@ -4600,7 +4600,7 @@ public:
return make_field(share, mem_root, (uchar *) 0, (uchar *) "", 0, return make_field(share, mem_root, (uchar *) 0, (uchar *) "", 0,
field_name_arg); field_name_arg);
} }
/* Return true if default is an expression that must be saved explicitely */ /* Return true if default is an expression that must be saved explicitly */
bool has_default_expression(); bool has_default_expression();
bool has_default_now_unireg_check() const bool has_default_now_unireg_check() const

View File

@ -2366,7 +2366,7 @@ sp_head::execute_procedure(THD *thd, List<Item> *args)
Disable slow log if: Disable slow log if:
- Slow logging is enabled (no change needed) - Slow logging is enabled (no change needed)
- This is a normal SP (not event log) - This is a normal SP (not event log)
- If we have not explicitely disabled logging of SP - If we have not explicitly disabled logging of SP
*/ */
if (save_enable_slow_log && if (save_enable_slow_log &&
((!(m_flags & LOG_SLOW_STATEMENTS) && ((!(m_flags & LOG_SLOW_STATEMENTS) &&
@ -2380,7 +2380,7 @@ sp_head::execute_procedure(THD *thd, List<Item> *args)
Disable general log if: Disable general log if:
- If general log is enabled (no change needed) - If general log is enabled (no change needed)
- This is a normal SP (not event log) - This is a normal SP (not event log)
- If we have not explicitely disabled logging of SP - If we have not explicitly disabled logging of SP
*/ */
if (!(thd->variables.option_bits & OPTION_LOG_OFF) && if (!(thd->variables.option_bits & OPTION_LOG_OFF) &&
(!(m_flags & LOG_GENERAL_LOG) && (!(m_flags & LOG_GENERAL_LOG) &&

View File

@ -1750,7 +1750,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b, size_t *yystacksize);
TRANSACTION can be a non-empty history unit, or can be an identifier TRANSACTION can be a non-empty history unit, or can be an identifier
in bit_expr. in bit_expr.
In the grammar below we use %prec to explicitely tell Bison to go In the grammar below we use %prec to explicitly tell Bison to go
through the empty branch in the optional rule only when the lookahead through the empty branch in the optional rule only when the lookahead
token does not belong to a small set of selected tokens. token does not belong to a small set of selected tokens.

View File

@ -1144,7 +1144,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b, size_t *yystacksize);
TRANSACTION can be a non-empty history unit, or can be an identifier TRANSACTION can be a non-empty history unit, or can be an identifier
in bit_expr. in bit_expr.
In the grammar below we use %prec to explicitely tell Bison to go In the grammar below we use %prec to explicitly tell Bison to go
through the empty branch in the optional rule only when the lookahead through the empty branch in the optional rule only when the lookahead
token does not belong to a small set of selected tokens. token does not belong to a small set of selected tokens.

View File

@ -1055,7 +1055,7 @@ bool TDBCSV::PrepareWriting(PGLOBAL g)
if (!strlen(Field[i])) { if (!strlen(Field[i])) {
// Generally null fields are not quoted // Generally null fields are not quoted
if (Quoted > 2) if (Quoted > 2)
// Except if explicitely required // Except if explicitly required
strcat(strcat(To_Line, qot), qot); strcat(strcat(To_Line, qot), qot);
} else if (Qot && (strchr(Field[i], Sep) || *Field[i] == Qot } else if (Qot && (strchr(Field[i], Sep) || *Field[i] == Qot