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
deb49a26
Commit
deb49a26
authored
Mar 12, 2012
by
Luis Soares
Browse files
Options
Browse Files
Download
Plain Diff
Automerge merge with latest mysql-5.1.
parents
c41a6fec
ab03c5ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
mysql-test/suite/rpl/r/rpl_stm_relay_ign_space.result
mysql-test/suite/rpl/r/rpl_stm_relay_ign_space.result
+1
-0
mysql-test/suite/rpl/t/rpl_stm_relay_ign_space.test
mysql-test/suite/rpl/t/rpl_stm_relay_ign_space.test
+5
-1
No files found.
mysql-test/suite/rpl/r/rpl_stm_relay_ign_space.result
View file @
deb49a26
include/master-slave.inc
[connection master]
include/assert.inc [Assert that relay log space is close to the limit]
include/diff_tables.inc [master:test.t1,slave:test.t1]
include/rpl_end.inc
mysql-test/suite/rpl/t/rpl_stm_relay_ign_space.test
View file @
deb49a26
...
...
@@ -82,12 +82,16 @@ INSERT INTO t1 VALUES ('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
--
let
$relay_log_space_while_sql_is_executing
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Relay_Log_Space
,
1
)
--
let
$relay_log_space_limit
=
query_get_value
(
SHOW
VARIABLES
LIKE
"relay_log_space_limit"
,
Value
,
1
)
--
let
$assert_text
=
Assert
that
relay
log
space
is
close
to
the
limit
--
let
$assert_cond
=
$relay_log_space_while_sql_is_executing
<=
$relay_log_space_limit
*
1.1
--
let
$assert_cond
=
$relay_log_space_while_sql_is_executing
<=
$relay_log_space_limit
*
1.1
5
--
source
include
/
assert
.
inc
# unlock the table and let SQL thread continue applying events
UNLOCK
TABLES
;
--
connection
master
--
let
$diff_tables
=
master
:
test
.
t1
,
slave
:
test
.
t1
--
source
include
/
diff_tables
.
inc
--
connection
master
DROP
TABLE
t1
;
--
enable_query_log
...
...
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