Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
758c24da
Commit
758c24da
authored
Jan 04, 2023
by
lilinjie
Committed by
Daniel Black
Jan 05, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typos
Signed-off-by:
lilinjie
<
lilinjie@uniontech.com
>
parent
e51a1d6f
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
sql/field.cc
sql/field.cc
+1
-1
sql/field.h
sql/field.h
+1
-1
sql/sp_head.cc
sql/sp_head.cc
+2
-2
sql/sql_yacc.yy
sql/sql_yacc.yy
+1
-1
sql/sql_yacc_ora.yy
sql/sql_yacc_ora.yy
+1
-1
storage/connect/tabfmt.cpp
storage/connect/tabfmt.cpp
+1
-1
No files found.
sql/field.cc
View file @
758c24da
...
@@ -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 explicit
e
ly
Return true if default is an expression that must be saved explicitly
This is:
This is:
- Not basic constants
- Not basic constants
...
...
sql/field.h
View file @
758c24da
...
@@ -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 explicit
e
ly */
/* 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
...
...
sql/sp_head.cc
View file @
758c24da
...
@@ -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 explicit
e
ly 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 explicit
e
ly 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
)
&&
...
...
sql/sql_yacc.yy
View file @
758c24da
...
@@ -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 explicit
e
ly 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.
...
...
sql/sql_yacc_ora.yy
View file @
758c24da
...
@@ -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 explicit
e
ly 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.
...
...
storage/connect/tabfmt.cpp
View file @
758c24da
...
@@ -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 explicit
e
ly 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment