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
b0ce621d
Commit
b0ce621d
authored
Mar 21, 2010
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
status_user.test fix for rbr
parent
78897611
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
mysql-test/r/status_user.result
mysql-test/r/status_user.result
+8
-8
mysql-test/t/status_user.test
mysql-test/t/status_user.test
+1
-1
No files found.
mysql-test/r/status_user.result
View file @
b0ce621d
...
...
@@ -67,7 +67,7 @@ set @save_general_log=@@global.general_log;
set @@global.general_log=0;
set @@global.userstat=1;
flush status;
create table t1 (a int, primary key (a), b int default 0) engine=
myisam
;
create table t1 (a int, primary key (a), b int default 0) engine=
innodb
;
insert into t1 (a) values (1),(2),(3),(4);
update t1 set b=1;
update t1 set b=5 where a=2;
...
...
@@ -96,12 +96,12 @@ Rows_read 6
Rows_sent 1
show status like "ha%";
Variable_name Value
Handler_commit 1
0
Handler_commit 1
9
Handler_delete 1
Handler_discover 0
Handler_prepare 1
0
Handler_read_first
0
Handler_read_key
3
Handler_prepare 1
8
Handler_read_first
1
Handler_read_key
8
Handler_read_next 0
Handler_read_prev 0
Handler_read_rnd 0
...
...
@@ -113,7 +113,7 @@ Handler_update 5
Handler_write 7
select variable_value - @global_read_key as "handler_read_key" from information_schema.global_status where variable_name="handler_read_key";
handler_read_key
3
8
set @@global.userstat=0;
select * from information_schema.index_statistics;
TABLE_SCHEMA TABLE_NAME INDEX_NAME ROWS_READ
...
...
@@ -138,7 +138,7 @@ ROWS_UPDATED 5
SELECT_COMMANDS 3
UPDATE_COMMANDS 11
OTHER_COMMANDS 9
COMMIT_TRANSACTIONS 1
0
COMMIT_TRANSACTIONS 1
9
ROLLBACK_TRANSACTIONS 2
DENIED_CONNECTIONS 0
LOST_CONNECTIONS 0
...
...
@@ -155,7 +155,7 @@ ROWS_UPDATED 5
SELECT_COMMANDS 3
UPDATE_COMMANDS 11
OTHER_COMMANDS 9
COMMIT_TRANSACTIONS 1
0
COMMIT_TRANSACTIONS 1
9
ROLLBACK_TRANSACTIONS 2
DENIED_CONNECTIONS 0
LOST_CONNECTIONS 0
...
...
mysql-test/t/status_user.test
View file @
b0ce621d
...
...
@@ -22,7 +22,7 @@ set @@global.general_log=0;
set
@@
global
.
userstat
=
1
;
flush
status
;
create
table
t1
(
a
int
,
primary
key
(
a
),
b
int
default
0
)
engine
=
myisam
;
create
table
t1
(
a
int
,
primary
key
(
a
),
b
int
default
0
)
engine
=
innodb
;
insert
into
t1
(
a
)
values
(
1
),(
2
),(
3
),(
4
);
update
t1
set
b
=
1
;
update
t1
set
b
=
5
where
a
=
2
;
...
...
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