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
9a227c1e
Commit
9a227c1e
authored
Feb 08, 2007
by
antony@ppcg5.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge ppcg5.local:/Users/antony/Work/p3-bug12204.4
into ppcg5.local:/Users/antony/Work/p3-bug12204.5
parents
db8a7b51
a3c3cda9
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
0 deletions
+38
-0
mysql-test/r/keywords.result
mysql-test/r/keywords.result
+13
-0
mysql-test/t/keywords.test
mysql-test/t/keywords.test
+22
-0
mysys/my_thr_init.c
mysys/my_thr_init.c
+2
-0
sql/sql_yacc.yy
sql/sql_yacc.yy
+1
-0
No files found.
mysql-test/r/keywords.result
View file @
9a227c1e
...
@@ -16,6 +16,19 @@ select events.binlog from events;
...
@@ -16,6 +16,19 @@ select events.binlog from events;
binlog
binlog
1
1
drop table events;
drop table events;
create table t1 (connection int, b int);
create procedure p1()
begin
declare connection int;
select max(t1.connection) into connection from t1;
select concat("max=",connection) 'p1';
end|
insert into t1 (connection) values (1);
call p1();
p1
max=1
drop procedure p1;
drop table t1;
create procedure p1()
create procedure p1()
begin
begin
declare n int default 2;
declare n int default 2;
...
...
mysql-test/t/keywords.test
View file @
9a227c1e
...
@@ -20,6 +20,28 @@ drop table events;
...
@@ -20,6 +20,28 @@ drop table events;
# End of 4.1 tests
# End of 4.1 tests
#
# Bug#12204 - CONNECTION should not be a reserved word
#
create
table
t1
(
connection
int
,
b
int
);
delimiter
|
;
create
procedure
p1
()
begin
declare
connection
int
;
select
max
(
t1
.
connection
)
into
connection
from
t1
;
select
concat
(
"max="
,
connection
)
'p1'
;
end
|
delimiter
;
|
insert
into
t1
(
connection
)
values
(
1
);
call
p1
();
drop
procedure
p1
;
drop
table
t1
;
# End of 5.0 tests
#
#
# Bug#19939 "AUTHORS is not a keyword"
# Bug#19939 "AUTHORS is not a keyword"
#
#
...
...
mysys/my_thr_init.c
View file @
9a227c1e
...
@@ -46,6 +46,8 @@ pthread_mutexattr_t my_fast_mutexattr;
...
@@ -46,6 +46,8 @@ pthread_mutexattr_t my_fast_mutexattr;
pthread_mutexattr_t
my_errorcheck_mutexattr
;
pthread_mutexattr_t
my_errorcheck_mutexattr
;
#endif
#endif
uint
thd_lib_detected
;
#ifdef NPTL_PTHREAD_EXIT_BUG
/* see my_pthread.h */
#ifdef NPTL_PTHREAD_EXIT_BUG
/* see my_pthread.h */
/*
/*
...
...
sql/sql_yacc.yy
View file @
9a227c1e
...
@@ -9667,6 +9667,7 @@ keyword_sp:
...
@@ -9667,6 +9667,7 @@ keyword_sp:
| COMPLETION_SYM {}
| COMPLETION_SYM {}
| COMPRESSED_SYM {}
| COMPRESSED_SYM {}
| CONCURRENT {}
| CONCURRENT {}
| CONNECTION_SYM {}
| CONSISTENT_SYM {}
| CONSISTENT_SYM {}
| CONTRIBUTORS_SYM {}
| CONTRIBUTORS_SYM {}
| CUBE_SYM {}
| CUBE_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