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
12b1c4b3
Commit
12b1c4b3
authored
Aug 30, 2004
by
pem@mysql.comhem.se
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed BUG#5279: Stored procedure packets out of order if CHECKSUM TABLE.
parent
0c39b745
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
0 deletions
+20
-0
mysql-test/r/sp.result
mysql-test/r/sp.result
+9
-0
mysql-test/t/sp.test
mysql-test/t/sp.test
+10
-0
sql/sp_head.cc
sql/sp_head.cc
+1
-0
No files found.
mysql-test/r/sp.result
View file @
12b1c4b3
...
@@ -1755,6 +1755,15 @@ where db='test' and name='bug5251' and created = @c1|
...
@@ -1755,6 +1755,15 @@ where db='test' and name='bug5251' and created = @c1|
count(*)
count(*)
1
1
drop procedure bug5251|
drop procedure bug5251|
create procedure bug5251()
checksum table t1|
call bug5251()|
Table Checksum
test.t1 0
call bug5251()|
Table Checksum
test.t1 0
drop procedure bug5251|
drop table if exists fac|
drop table if exists fac|
create table fac (n int unsigned not null primary key, f bigint unsigned)|
create table fac (n int unsigned not null primary key, f bigint unsigned)|
create procedure ifac(n int unsigned)
create procedure ifac(n int unsigned)
...
...
mysql-test/t/sp.test
View file @
12b1c4b3
...
@@ -1914,6 +1914,16 @@ select count(*) from mysql.proc
...
@@ -1914,6 +1914,16 @@ select count(*) from mysql.proc
drop
procedure
bug5251
|
drop
procedure
bug5251
|
#
# BUG#5279: Stored procedure packets out of order if CHECKSUM TABLE
#
create
procedure
bug5251
()
checksum
table
t1
|
call
bug5251
()
|
call
bug5251
()
|
drop
procedure
bug5251
|
#
#
# Some "real" examples
# Some "real" examples
...
...
sql/sp_head.cc
View file @
12b1c4b3
...
@@ -56,6 +56,7 @@ sp_multi_results_command(enum enum_sql_command cmd)
...
@@ -56,6 +56,7 @@ sp_multi_results_command(enum enum_sql_command cmd)
{
{
switch
(
cmd
)
{
switch
(
cmd
)
{
case
SQLCOM_ANALYZE
:
case
SQLCOM_ANALYZE
:
case
SQLCOM_CHECKSUM
:
case
SQLCOM_HA_READ
:
case
SQLCOM_HA_READ
:
case
SQLCOM_SHOW_BINLOGS
:
case
SQLCOM_SHOW_BINLOGS
:
case
SQLCOM_SHOW_BINLOG_EVENTS
:
case
SQLCOM_SHOW_BINLOG_EVENTS
:
...
...
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