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
8d61a7fb
Commit
8d61a7fb
authored
Nov 13, 2018
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compiler warning: this statement may fall through
parent
50bc55d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
sql/sql_lex.cc
sql/sql_lex.cc
+1
-2
No files found.
sql/sql_lex.cc
View file @
8d61a7fb
...
@@ -1430,13 +1430,12 @@ int Lex_input_stream::lex_one_token(YYSTYPE *yylval, THD *thd)
...
@@ -1430,13 +1430,12 @@ int Lex_input_stream::lex_one_token(YYSTYPE *yylval, THD *thd)
}
}
/* Fall through */
/* Fall through */
case
MY_LEX_CHAR
:
// Unknown or single char token
case
MY_LEX_CHAR
:
// Unknown or single char token
{
if
(
c
==
'%'
&&
(
m_thd
->
variables
.
sql_mode
&
MODE_ORACLE
))
if
(
c
==
'%'
&&
(
m_thd
->
variables
.
sql_mode
&
MODE_ORACLE
))
{
{
next_state
=
MY_LEX_START
;
next_state
=
MY_LEX_START
;
return
PERCENT_ORACLE_SYM
;
return
PERCENT_ORACLE_SYM
;
}
}
}
/* Fall through */
case
MY_LEX_SKIP
:
// This should not happen
case
MY_LEX_SKIP
:
// This should not happen
if
(
c
!=
')'
)
if
(
c
!=
')'
)
next_state
=
MY_LEX_START
;
// Allow signed numbers
next_state
=
MY_LEX_START
;
// Allow signed numbers
...
...
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