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
e170b81b
Commit
e170b81b
authored
Aug 13, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into brandersnatch.localdomain:/home/dlenev/src/mysql-5.0
parents
0751a68e
9e0ce6fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
6 deletions
+27
-6
mysql-test/r/sp.result
mysql-test/r/sp.result
+12
-5
mysql-test/t/sp.test
mysql-test/t/sp.test
+15
-1
No files found.
mysql-test/r/sp.result
View file @
e170b81b
reset master;
use test;
drop table if exists t1;
drop table if exists t2;
...
...
@@ -1457,7 +1458,6 @@ show keys from t1;
show master status;
show open tables like 'foo';
show privileges;
show processlist;
show slave hosts;
show slave status;
show status like 'foo';
...
...
@@ -1513,8 +1513,6 @@ Shutdown Server Admin To shut down the server
Super Server Admin To use KILL thread, SET GLOBAL, CHANGE MASTER, etc.
Update Tables To update existing rows
Usage Server Admin No privileges - allow connect only
Id User Host db Command Time State Info
1 root localhost test Query 0 query end call bug4902()
Server_id Host Port Rpl_recovery_rank Master_id
Slave_IO_State Master_Host Master_User Master_Port Connect_Retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_Do_DB Replicate_Ignore_DB Replicate_Do_Table Replicate_Ignore_Table Replicate_Wild_Do_Table Replicate_Wild_Ignore_Table Last_Errno Last_Error Skip_Counter Exec_Master_Log_Pos Relay_Log_Space Until_Condition Until_Log_File Until_Log_Pos Master_SSL_Allowed Master_SSL_CA_File Master_SSL_CA_Path Master_SSL_Cert Master_SSL_Cipher Master_SSL_Key Seconds_Behind_Master
Variable_name Value
...
...
@@ -1569,8 +1567,6 @@ Shutdown Server Admin To shut down the server
Super Server Admin To use KILL thread, SET GLOBAL, CHANGE MASTER, etc.
Update Tables To update existing rows
Usage Server Admin No privileges - allow connect only
Id User Host db Command Time State Info
1 root localhost test Query 0 query end call bug4902()
Server_id Host Port Rpl_recovery_rank Master_id
Slave_IO_State Master_Host Master_User Master_Port Connect_Retry Master_Log_File Read_Master_Log_Pos Relay_Log_File Relay_Log_Pos Relay_Master_Log_File Slave_IO_Running Slave_SQL_Running Replicate_Do_DB Replicate_Ignore_DB Replicate_Do_Table Replicate_Ignore_Table Replicate_Wild_Do_Table Replicate_Wild_Ignore_Table Last_Errno Last_Error Skip_Counter Exec_Master_Log_Pos Relay_Log_Space Until_Condition Until_Log_File Until_Log_Pos Master_SSL_Allowed Master_SSL_CA_File Master_SSL_CA_Path Master_SSL_Cert Master_SSL_Cipher Master_SSL_Key Seconds_Behind_Master
Variable_name Value
...
...
@@ -1578,6 +1574,17 @@ Tables_in_test (foo) table_type
Variable_name Value
Level Code Message
drop procedure bug4902|
create procedure bug4902_2()
begin
show processlist;
end|
call bug4902_2()|
Id User Host db Command Time State Info
# root localhost test Query 0 NULL call bug4902_2()
call bug4902_2()|
Id User Host db Command Time State Info
# root localhost test Query 0 NULL call bug4902_2()
drop procedure bug4902_2|
drop table if exists t3|
create procedure bug4904()
begin
...
...
mysql-test/t/sp.test
View file @
e170b81b
...
...
@@ -3,6 +3,10 @@
#
#
# Let us reset binary logs in order to make show master status
# in test for bug 4902 repeatable.
reset
master
;
use
test
;
--
disable_warnings
...
...
@@ -1701,7 +1705,6 @@ begin
show
master
status
;
show
open
tables
like
'foo'
;
show
privileges
;
show
processlist
;
show
slave
hosts
;
show
slave
status
;
show
status
like
'foo'
;
...
...
@@ -1717,6 +1720,17 @@ call bug4902()|
drop
procedure
bug4902
|
# We need separate SP for SHOW PROCESSLIST since we want use replace_column
create
procedure
bug4902_2
()
begin
show
processlist
;
end
|
--
replace_column
1
#
call
bug4902_2
()
|
--
replace_column
1
#
call
bug4902_2
()
|
drop
procedure
bug4902_2
|
#
# BUG#4904
#
...
...
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