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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
c73cd9ff
Commit
c73cd9ff
authored
Oct 07, 2004
by
jani@a80-186-41-201.elisa-laajakaista.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Bug#5575, mysqlhotcopy is broken when using --noindices
parent
badf8e71
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
scripts/mysqlhotcopy.sh
scripts/mysqlhotcopy.sh
+4
-4
No files found.
BitKeeper/etc/logging_ok
View file @
c73cd9ff
...
...
@@ -47,6 +47,7 @@ igor@hundin.mysql.fi
igor@rurik.mysql.com
ingo@mysql.com
jani@a80-186-24-72.elisa-laajakaista.fi
jani@a80-186-41-201.elisa-laajakaista.fi
jani@dsl-jkl1657.dial.inet.fi
jani@hynda.(none)
jani@hynda.mysql.fi
...
...
scripts/mysqlhotcopy.sh
View file @
c73cd9ff
...
...
@@ -8,7 +8,7 @@ use File::Path;
use DBI
;
use Sys::Hostname
;
use File::Copy
;
use File::Temp
;
use File::Temp
qw
(
tempfile
)
;
=
head1 NAME
...
...
@@ -39,7 +39,7 @@ WARNING: THIS PROGRAM IS STILL IN BETA. Comments/patches welcome.
# Documentation continued at end of file
my
$VERSION
=
"1.2
1
"
;
my
$VERSION
=
"1.2
2
"
;
my
$opt_tmpdir
=
$ENV
{
TMPDIR
}
||
"/tmp"
;
...
...
@@ -654,8 +654,8 @@ sub copy_index
}
elsif
(
$opt
{
method
}
=
~ /^scp
\b
/
)
{
my
(
$fh
,
$tmp
)=
tempfile
(
'mysqlhotcopy-XXXXXX'
, DIR
=>
$opt_tmpdir
)
;
die
"Can
\'
t create/open file in
$opt_tmpdir
\n
"
;
my
(
$fh
,
$tmp
)=
tempfile
(
'mysqlhotcopy-XXXXXX'
, DIR
=>
$opt_tmpdir
)
or
die
"Can
\'
t create/open file in
$opt_tmpdir
\n
"
;
if
(
syswrite
(
$fh
,
$buff
)
!=
length
(
$buff
))
{
die
"Error when writing data to
$tmp
:
$!
\n
"
;
...
...
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