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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
cc2eb9d5
Commit
cc2eb9d5
authored
Apr 28, 2004
by
sergefp@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed MY_LEX_COLON to MY_LEX_SEMICOLON (at Serg's request)
parent
bcf9350e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
include/m_ctype.h
include/m_ctype.h
+1
-1
mysys/charset.c
mysys/charset.c
+1
-1
sql/sql_lex.cc
sql/sql_lex.cc
+1
-1
No files found.
include/m_ctype.h
View file @
cc2eb9d5
...
@@ -90,7 +90,7 @@ enum my_lex_states
...
@@ -90,7 +90,7 @@ enum my_lex_states
MY_LEX_CMP_OP
,
MY_LEX_LONG_CMP_OP
,
MY_LEX_STRING
,
MY_LEX_COMMENT
,
MY_LEX_END
,
MY_LEX_CMP_OP
,
MY_LEX_LONG_CMP_OP
,
MY_LEX_STRING
,
MY_LEX_COMMENT
,
MY_LEX_END
,
MY_LEX_OPERATOR_OR_IDENT
,
MY_LEX_NUMBER_IDENT
,
MY_LEX_INT_OR_REAL
,
MY_LEX_OPERATOR_OR_IDENT
,
MY_LEX_NUMBER_IDENT
,
MY_LEX_INT_OR_REAL
,
MY_LEX_REAL_OR_POINT
,
MY_LEX_BOOL
,
MY_LEX_EOL
,
MY_LEX_ESCAPE
,
MY_LEX_REAL_OR_POINT
,
MY_LEX_BOOL
,
MY_LEX_EOL
,
MY_LEX_ESCAPE
,
MY_LEX_LONG_COMMENT
,
MY_LEX_END_LONG_COMMENT
,
MY_LEX_COLON
,
MY_LEX_LONG_COMMENT
,
MY_LEX_END_LONG_COMMENT
,
MY_LEX_
SEMI
COLON
,
MY_LEX_SET_VAR
,
MY_LEX_USER_END
,
MY_LEX_HOSTNAME
,
MY_LEX_SKIP
,
MY_LEX_SET_VAR
,
MY_LEX_USER_END
,
MY_LEX_HOSTNAME
,
MY_LEX_SKIP
,
MY_LEX_USER_VARIABLE_DELIMITER
,
MY_LEX_SYSTEM_VAR
,
MY_LEX_USER_VARIABLE_DELIMITER
,
MY_LEX_SYSTEM_VAR
,
MY_LEX_IDENT_OR_KEYWORD
,
MY_LEX_IDENT_OR_KEYWORD
,
...
...
mysys/charset.c
View file @
cc2eb9d5
...
@@ -97,7 +97,7 @@ static void init_state_maps(CHARSET_INFO *cs)
...
@@ -97,7 +97,7 @@ static void init_state_maps(CHARSET_INFO *cs)
state_map
[(
uchar
)
'<'
]
=
(
uchar
)
MY_LEX_LONG_CMP_OP
;
state_map
[(
uchar
)
'<'
]
=
(
uchar
)
MY_LEX_LONG_CMP_OP
;
state_map
[(
uchar
)
'&'
]
=
state_map
[(
uchar
)
'|'
]
=
(
uchar
)
MY_LEX_BOOL
;
state_map
[(
uchar
)
'&'
]
=
state_map
[(
uchar
)
'|'
]
=
(
uchar
)
MY_LEX_BOOL
;
state_map
[(
uchar
)
'#'
]
=
(
uchar
)
MY_LEX_COMMENT
;
state_map
[(
uchar
)
'#'
]
=
(
uchar
)
MY_LEX_COMMENT
;
state_map
[(
uchar
)
';'
]
=
(
uchar
)
MY_LEX_COLON
;
state_map
[(
uchar
)
';'
]
=
(
uchar
)
MY_LEX_
SEMI
COLON
;
state_map
[(
uchar
)
':'
]
=
(
uchar
)
MY_LEX_SET_VAR
;
state_map
[(
uchar
)
':'
]
=
(
uchar
)
MY_LEX_SET_VAR
;
state_map
[
0
]
=
(
uchar
)
MY_LEX_EOL
;
state_map
[
0
]
=
(
uchar
)
MY_LEX_EOL
;
state_map
[(
uchar
)
'\\'
]
=
(
uchar
)
MY_LEX_ESCAPE
;
state_map
[(
uchar
)
'\\'
]
=
(
uchar
)
MY_LEX_ESCAPE
;
...
...
sql/sql_lex.cc
View file @
cc2eb9d5
...
@@ -879,7 +879,7 @@ int yylex(void *arg, void *yythd)
...
@@ -879,7 +879,7 @@ int yylex(void *arg, void *yythd)
}
}
yySkip
();
yySkip
();
return
(
SET_VAR
);
return
(
SET_VAR
);
case
MY_LEX_COLON
:
// optional line terminator
case
MY_LEX_
SEMI
COLON
:
// optional line terminator
if
(
yyPeek
())
if
(
yyPeek
())
{
{
THD
*
thd
=
(
THD
*
)
yythd
;
THD
*
thd
=
(
THD
*
)
yythd
;
...
...
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