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
61552172
Commit
61552172
authored
Apr 17, 2006
by
cmiller@zippy.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing a merge from a few days ago.
Without a flush this test is nondeterministic for "row" binlog-format.
parent
9f355db6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
mysql-test/r/innodb.result
mysql-test/r/innodb.result
+4
-3
mysql-test/t/innodb.test
mysql-test/t/innodb.test
+1
-0
No files found.
mysql-test/r/innodb.result
View file @
61552172
...
@@ -1640,16 +1640,17 @@ t2 CREATE TABLE `t2` (
...
@@ -1640,16 +1640,17 @@ t2 CREATE TABLE `t2` (
CONSTRAINT `t2_ibfk_2` FOREIGN KEY (`b`) REFERENCES `t1` (`id`)
CONSTRAINT `t2_ibfk_2` FOREIGN KEY (`b`) REFERENCES `t1` (`id`)
)
ENGINE=InnoDB DEFAULT CHARSET=latin1
)
ENGINE=InnoDB DEFAULT CHARSET=latin1
drop table t2, t1;
drop table t2, t1;
flush status;
show status like "binlog_cache_use";
show status like "binlog_cache_use";
Variable_name Value
Variable_name Value
Binlog_cache_use
155
Binlog_cache_use
0
show status like "binlog_cache_disk_use";
show status like "binlog_cache_disk_use";
Variable_name Value
Variable_name Value
Binlog_cache_disk_use 0
Binlog_cache_disk_use 0
create table t1 (a int) engine=innodb;
create table t1 (a int) engine=innodb;
show status like "binlog_cache_use";
show status like "binlog_cache_use";
Variable_name Value
Variable_name Value
Binlog_cache_use 1
56
Binlog_cache_use 1
show status like "binlog_cache_disk_use";
show status like "binlog_cache_disk_use";
Variable_name Value
Variable_name Value
Binlog_cache_disk_use 1
Binlog_cache_disk_use 1
...
@@ -1658,7 +1659,7 @@ delete from t1;
...
@@ -1658,7 +1659,7 @@ delete from t1;
commit;
commit;
show status like "binlog_cache_use";
show status like "binlog_cache_use";
Variable_name Value
Variable_name Value
Binlog_cache_use
157
Binlog_cache_use
2
show status like "binlog_cache_disk_use";
show status like "binlog_cache_disk_use";
Variable_name Value
Variable_name Value
Binlog_cache_disk_use 1
Binlog_cache_disk_use 1
...
...
mysql-test/t/innodb.test
View file @
61552172
...
@@ -1146,6 +1146,7 @@ drop table t2, t1;
...
@@ -1146,6 +1146,7 @@ drop table t2, t1;
# Actually this test has nothing to do with innodb per se, it just requires
# Actually this test has nothing to do with innodb per se, it just requires
# transactional table.
# transactional table.
#
#
flush
status
;
show
status
like
"binlog_cache_use"
;
show
status
like
"binlog_cache_use"
;
show
status
like
"binlog_cache_disk_use"
;
show
status
like
"binlog_cache_disk_use"
;
...
...
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