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
df9e9f25
Commit
df9e9f25
authored
Jul 20, 2006
by
acurtis/antony@xiphis.org/ltantony.xiphis.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#19939
AUTHORS and CONTRIBUTORS are not reserved keywords.
parent
bae61f20
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
1 deletion
+42
-1
mysql-test/r/keywords.result
mysql-test/r/keywords.result
+16
-0
mysql-test/t/keywords.test
mysql-test/t/keywords.test
+24
-0
sql/sql_yacc.yy
sql/sql_yacc.yy
+2
-1
No files found.
mysql-test/r/keywords.result
View file @
df9e9f25
...
...
@@ -16,3 +16,19 @@ select events.binlog from events;
binlog
1
drop table events;
create procedure p1()
begin
declare n int default 2;
authors: while n > 0 do
set n = n -1;
end while authors;
end|
create procedure p2()
begin
declare n int default 2;
contributors: while n > 0 do
set n = n -1;
end while contributors;
end|
drop procedure p1;
drop procedure p2;
mysql-test/t/keywords.test
View file @
df9e9f25
...
...
@@ -19,3 +19,27 @@ select events.binlog from events;
drop
table
events
;
# End of 4.1 tests
#
# Bug#19939 "AUTHORS is not a keyword"
#
delimiter
|
;
create
procedure
p1
()
begin
declare
n
int
default
2
;
authors
:
while
n
>
0
do
set
n
=
n
-
1
;
end
while
authors
;
end
|
create
procedure
p2
()
begin
declare
n
int
default
2
;
contributors
:
while
n
>
0
do
set
n
=
n
-
1
;
end
while
contributors
;
end
|
delimiter
;
|
drop
procedure
p1
;
drop
procedure
p2
;
# End of 5.1 tests
sql/sql_yacc.yy
View file @
df9e9f25
...
...
@@ -9339,7 +9339,6 @@ user:
keyword:
keyword_sp {}
| ASCII_SYM {}
| AUTHORS_SYM {}
| BACKUP_SYM {}
| BEGIN_SYM {}
| BYTE_SYM {}
...
...
@@ -9397,6 +9396,7 @@ keyword_sp:
| ALGORITHM_SYM {}
| ANY_SYM {}
| AT_SYM {}
| AUTHORS_SYM {}
| AUTO_INC {}
| AUTOEXTEND_SIZE_SYM {}
| AVG_ROW_LENGTH {}
...
...
@@ -9422,6 +9422,7 @@ keyword_sp:
| COMPRESSED_SYM {}
| CONCURRENT {}
| CONSISTENT_SYM {}
| CONTRIBUTORS_SYM {}
| CUBE_SYM {}
| DATA_SYM {}
| DATAFILE_SYM {}
...
...
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