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
8a65b49c
Commit
8a65b49c
authored
Jun 07, 2017
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update sql_yacc_ora.yy with latest changes of sql_yacc.yy
parent
3d428e01
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
12 deletions
+17
-12
sql/sql_yacc_ora.yy
sql/sql_yacc_ora.yy
+17
-12
No files found.
sql/sql_yacc_ora.yy
View file @
8a65b49c
...
...
@@ -12050,17 +12050,22 @@ delete_limit_clause:
| LIMIT limit_option ROWS_SYM EXAMINED_SYM { thd->parse_error(); MYSQL_YYABORT; }
;
opt_plus:
/* empty */
| '+'
;
int_num:
NUM { int error; $$= (int) my_strtoll10($1
.str, (char**) 0, &error); }
opt_plus NUM { int error; $$= (int) my_strtoll10($2
.str, (char**) 0, &error); }
| '-' NUM { int error; $$= -(int) my_strtoll10($2.str, (char**) 0, &error); }
ulong_num:
NUM { int error; $$= (ulong) my_strtoll10($1
.str, (char**) 0, &error); }
opt_plus NUM { int error; $$= (ulong) my_strtoll10($2
.str, (char**) 0, &error); }
| HEX_NUM { $$= (ulong) strtol($1.str, (char**) 0, 16); }
|
LONG_NUM { int error; $$= (ulong) my_strtoll10($1
.str, (char**) 0, &error); }
|
ULONGLONG_NUM { int error; $$= (ulong) my_strtoll10($1
.str, (char**) 0, &error); }
|
DECIMAL_NUM { int error; $$= (ulong) my_strtoll10($1
.str, (char**) 0, &error); }
|
FLOAT_NUM { int error; $$= (ulong) my_strtoll10($1
.str, (char**) 0, &error); }
|
opt_plus LONG_NUM { int error; $$= (ulong) my_strtoll10($2
.str, (char**) 0, &error); }
|
opt_plus ULONGLONG_NUM { int error; $$= (ulong) my_strtoll10($2
.str, (char**) 0, &error); }
|
opt_plus DECIMAL_NUM { int error; $$= (ulong) my_strtoll10($2
.str, (char**) 0, &error); }
|
opt_plus FLOAT_NUM { int error; $$= (ulong) my_strtoll10($2
.str, (char**) 0, &error); }
;
real_ulong_num:
...
...
@@ -12072,18 +12077,18 @@ real_ulong_num:
;
longlong_num:
NUM { int error; $$= (longlong) my_strtoll10($1
.str, (char**) 0, &error); }
opt_plus NUM { int error; $$= (longlong) my_strtoll10($2
.str, (char**) 0, &error); }
| LONG_NUM { int error; $$= (longlong) my_strtoll10($1.str, (char**) 0, &error); }
| '-' NUM { int error; $$= -(longlong) my_strtoll10($2.str, (char**) 0, &error); }
| '-' LONG_NUM { int error; $$= -(longlong) my_strtoll10($2.str, (char**) 0, &error); }
ulonglong_num:
NUM { int error; $$= (ulonglong) my_strtoll10($1
.str, (char**) 0, &error); }
|
ULONGLONG_NUM { int error; $$= (ulonglong) my_strtoll10($1
.str, (char**) 0, &error); }
|
LONG_NUM { int error; $$= (ulonglong) my_strtoll10($1
.str, (char**) 0, &error); }
|
DECIMAL_NUM { int error; $$= (ulonglong) my_strtoll10($1
.str, (char**) 0, &error); }
|
FLOAT_NUM { int error; $$= (ulonglong) my_strtoll10($1
.str, (char**) 0, &error); }
opt_plus NUM { int error; $$= (ulonglong) my_strtoll10($2
.str, (char**) 0, &error); }
|
opt_plus ULONGLONG_NUM { int error; $$= (ulonglong) my_strtoll10($2
.str, (char**) 0, &error); }
|
opt_plus LONG_NUM { int error; $$= (ulonglong) my_strtoll10($2
.str, (char**) 0, &error); }
|
opt_plus DECIMAL_NUM { int error; $$= (ulonglong) my_strtoll10($2
.str, (char**) 0, &error); }
|
opt_plus FLOAT_NUM { int error; $$= (ulonglong) my_strtoll10($2
.str, (char**) 0, &error); }
;
real_ulonglong_num:
...
...
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