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
579bd58c
Commit
579bd58c
authored
Feb 03, 2010
by
Luis Soares
Browse files
Options
Browse Files
Download
Plain Diff
automerge mysql-5.1-bugteam bug clone --> mysql-5.1-bugteam latest.
parents
673ec7b2
56b911f8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
mysql-test/include/setup_fake_relay_log.inc
mysql-test/include/setup_fake_relay_log.inc
+16
-1
No files found.
mysql-test/include/setup_fake_relay_log.inc
View file @
579bd58c
...
@@ -69,7 +69,22 @@ let $_fake_relay_log_purge= `SELECT @@global.relay_log_purge`;
...
@@ -69,7 +69,22 @@ let $_fake_relay_log_purge= `SELECT @@global.relay_log_purge`;
# Create relay log file.
# Create relay log file.
copy_file
$fake_relay_log
$_fake_relay_log
;
copy_file
$fake_relay_log
$_fake_relay_log
;
# Create relay log index.
# Create relay log index.
--
exec
echo
$_fake_filename
-
fake
.
000001
>
$_fake_relay_index
if
(
`SELECT LENGTH(@@secure_file_priv) > 0`
)
{
--
let
$_file_priv_dir
=
`SELECT @@secure_file_priv`
;
--
let
$_suffix
=
`SELECT UUID()`
--
let
$_tmp_file
=
$_file_priv_dir
/
fake
-
index
.
$_suffix
--
eval
select
'$_fake_filename-fake.000001\n'
into
dumpfile
'$_tmp_file'
--
copy_file
$_tmp_file
$_fake_relay_index
--
remove_file
$_tmp_file
}
if
(
`SELECT LENGTH(@@secure_file_priv) = 0`
)
{
--
eval
select
'$_fake_filename-fake.000001\n'
into
dumpfile
'$_fake_relay_index'
}
# Setup replication from existing relay log.
# Setup replication from existing relay log.
eval
CHANGE
MASTER
TO
MASTER_HOST
=
'dummy.localdomain'
,
RELAY_LOG_FILE
=
'$_fake_filename-fake.000001'
,
RELAY_LOG_POS
=
4
;
eval
CHANGE
MASTER
TO
MASTER_HOST
=
'dummy.localdomain'
,
RELAY_LOG_FILE
=
'$_fake_filename-fake.000001'
,
RELAY_LOG_POS
=
4
;
...
...
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