Commit 758c24da authored by lilinjie's avatar lilinjie Committed by Daniel Black

fix typos

Signed-off-by: default avatarlilinjie <lilinjie@uniontech.com>
parent e51a1d6f
...@@ -11287,7 +11287,7 @@ Create_field *Create_field::clone(MEM_ROOT *mem_root) const ...@@ -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
......
...@@ -4600,7 +4600,7 @@ class Column_definition: public Sql_alloc, ...@@ -4600,7 +4600,7 @@ class Column_definition: public Sql_alloc,
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
......
...@@ -2366,7 +2366,7 @@ sp_head::execute_procedure(THD *thd, List<Item> *args) ...@@ -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) ...@@ -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) &&
......
...@@ -1750,7 +1750,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b, size_t *yystacksize); ...@@ -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.
......
...@@ -1144,7 +1144,7 @@ bool my_yyoverflow(short **a, YYSTYPE **b, size_t *yystacksize); ...@@ -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.
......
...@@ -1055,7 +1055,7 @@ bool TDBCSV::PrepareWriting(PGLOBAL g) ...@@ -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
......
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