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
410ee93c
Commit
410ee93c
authored
Apr 18, 2011
by
Serge Kozlov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#12371924
Update test case
parent
5038060b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
mysql-test/collections/default.experimental
mysql-test/collections/default.experimental
+1
-4
mysql-test/suite/binlog/r/binlog_bug23533.result
mysql-test/suite/binlog/r/binlog_bug23533.result
+3
-0
mysql-test/suite/binlog/t/binlog_bug23533.test
mysql-test/suite/binlog/t/binlog_bug23533.test
+5
-0
No files found.
mysql-test/collections/default.experimental
View file @
410ee93c
...
...
@@ -2,8 +2,7 @@
# in alphabetical order. This also helps with merge conflict resolution.
binlog.binlog_multi_engine # joro : NDB tests marked as experimental as agreed with bochklin
binlog.binlog_bug23533 # WL#5867: skozlov: test case moved from unused bugs suite
binlog.binlog_bug36391 # WL#5867: skozlov: test case moved from unused bugs suite
binlog.binlog_bug23533 # skozlov: BUG#12371924
funcs_1.charset_collation_1 # depends on compile-time decisions
...
...
@@ -27,8 +26,6 @@ ndb.* # joro : NDB tests marked as experiment
rpl.rpl_innodb_bug28430 @solaris # Bug#46029
rpl.rpl_row_sp011 @solaris # Joro : Bug #45445
rpl.rpl_stop_slave # Sven : BUG#12345981
rpl.rpl_bug37426 # WL#5867: skozlov: test case moved from unused bugs suite
rpl_ndb.* # joro : NDB tests marked as experimental as agreed with bochklin
rpl_ndb.rpl_ndb_log # Bug#38998
...
...
mysql-test/suite/binlog/r/binlog_bug23533.result
View file @
410ee93c
...
...
@@ -3,7 +3,9 @@ CREATE TABLE t1 (a INT NOT NULL AUTO_INCREMENT, b TEXT, PRIMARY KEY(a)) ENGINE=I
SELECT COUNT(*) FROM t1;
COUNT(*)
1000
SET @saved_binlog_cache_size=@@binlog_cache_size;
SET @saved_max_binlog_cache_size=@@max_binlog_cache_size;
SET GLOBAL binlog_cache_size=4096;
SET GLOBAL max_binlog_cache_size=4096;
START TRANSACTION;
CREATE TABLE t2 SELECT * FROM t1;
...
...
@@ -13,4 +15,5 @@ SHOW TABLES LIKE 't%';
Tables_in_test (t%)
t1
SET GLOBAL max_binlog_cache_size=@saved_max_binlog_cache_size;
SET GLOBAL binlog_cache_size=@saved_binlog_cache_size;
DROP TABLE t1;
mysql-test/suite/binlog/t/binlog_bug23533.test
View file @
410ee93c
...
...
@@ -15,14 +15,18 @@ CREATE TABLE t1 (a INT NOT NULL AUTO_INCREMENT, b TEXT, PRIMARY KEY(a)) ENGINE=I
let
$i
=
1000
;
while
(
$i
)
{
BEGIN
;
eval
INSERT
INTO
t1
VALUES
(
$i
,
REPEAT
(
'x'
,
4096
));
COMMIT
;
dec
$i
;
}
--
enable_query_log
SELECT
COUNT
(
*
)
FROM
t1
;
# Set small value for max_binlog_cache_size
SET
@
saved_binlog_cache_size
=@@
binlog_cache_size
;
SET
@
saved_max_binlog_cache_size
=@@
max_binlog_cache_size
;
SET
GLOBAL
binlog_cache_size
=
4096
;
SET
GLOBAL
max_binlog_cache_size
=
4096
;
# Copied data from t1 into t2 large than max_binlog_cache_size
...
...
@@ -34,4 +38,5 @@ SHOW TABLES LIKE 't%';
# 5.1 End of Test
SET
GLOBAL
max_binlog_cache_size
=@
saved_max_binlog_cache_size
;
SET
GLOBAL
binlog_cache_size
=@
saved_binlog_cache_size
;
DROP
TABLE
t1
;
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