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
3f7a608f
Commit
3f7a608f
authored
Mar 07, 2008
by
iggy@amd64.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-build
into amd64.(none):/src/bug27101/my51-bug27101
parents
d894f3bd
de35f05a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
scripts/mysqlhotcopy.sh
scripts/mysqlhotcopy.sh
+5
-4
No files found.
scripts/mysqlhotcopy.sh
View file @
3f7a608f
...
...
@@ -733,7 +733,7 @@ sub record_log_pos {
=
@
{
$row_hash
}{
qw / Master_Host Log_File Pos /
}
;
}
else
{
(
$master_host
,
$log_file
,
$log_pos
)
=
@
{
$row_hash
}{
qw / Master_Host
Master_Log_File Read
_Master_Log_Pos /
}
;
=
@
{
$row_hash
}{
qw / Master_Host
Relay_Master_Log_File Exec
_Master_Log_Pos /
}
;
}
my
$hostname
=
hostname
()
;
...
...
@@ -836,9 +836,10 @@ log-pos-table from the values returned from "show master status" and
log_file and log_pos columns, and establish the position
in
the binary
logs that any slaves of this host should adopt
if
initialised from
this dump. The slave status values are stored
in
master_host,
master_log_file, and master_log_pos, and these are useful
if
the host
performing the dump is a slave and other sibling slaves are to be
initialised from this dump.
master_log_file, and master_log_pos, corresponding to the coordinates
of the next to the last event the slave has executed. The slave or its
siblings can connect to the master next
time
and request replication
starting from the recorded values.
The name of the log-pos table should be supplied
in
database.table format.
A sample log-pos table definition:
...
...
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