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
6d60e94b
Commit
6d60e94b
authored
Dec 18, 2008
by
Alfranio Correia
Browse files
Options
Browse Files
Download
Plain Diff
auto merge 5.1-rpl --> 5.1-rpl(local)
parents
3a644f54
176c06a7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
5 deletions
+18
-5
libmysqld/examples/CMakeLists.txt
libmysqld/examples/CMakeLists.txt
+1
-1
mysql-test/lib/My/File/Path.pm
mysql-test/lib/My/File/Path.pm
+14
-2
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+3
-2
No files found.
libmysqld/examples/CMakeLists.txt
View file @
6d60e94b
...
...
@@ -32,7 +32,7 @@ ADD_EXECUTABLE(mysql_embedded ../../client/completion_hash.cc
TARGET_LINK_LIBRARIES
(
mysql_embedded debug dbug strings mysys vio yassl taocrypt regex ws2_32
)
ADD_DEPENDENCIES
(
mysql_embedded libmysqld
)
ADD_EXECUTABLE
(
mysqltest_embedded ../../client/mysqltest.c
)
ADD_EXECUTABLE
(
mysqltest_embedded ../../client/mysqltest.c
c
)
TARGET_LINK_LIBRARIES
(
mysqltest_embedded debug dbug strings mysys vio yassl taocrypt regex ws2_32
)
ADD_DEPENDENCIES
(
mysqltest_embedded libmysqld
)
...
...
mysql-test/lib/My/File/Path.pm
View file @
6d60e94b
...
...
@@ -92,9 +92,16 @@ sub mkpath {
sub
copytree
{
my
(
$from_dir
,
$to_dir
)
=
@_
;
my
(
$from_dir
,
$to_dir
,
$use_umask
)
=
@_
;
die
"
Usage: copytree(<fromdir>, <todir>
"
unless
@_
==
2
;
die
"
Usage: copytree(<fromdir>, <todir>, [<umask>])
"
unless
@_
==
2
or
@_
==
3
;
my
$orig_umask
;
if
(
$use_umask
){
# Set new umask and remember the original
$orig_umask
=
umask
(
oct
(
$use_umask
));
}
mkpath
("
$to_dir
");
opendir
(
DIR
,
"
$from_dir
")
...
...
@@ -114,6 +121,11 @@ sub copytree {
copy
("
$from_dir
/
$_
",
"
$to_dir
/
$_
");
}
closedir
(
DIR
);
if
(
$orig_umask
){
# Set the original umask
umask
(
$orig_umask
);
}
}
1
;
mysql-test/mysql-test-run.pl
View file @
6d60e94b
...
...
@@ -1981,8 +1981,8 @@ sub setup_vardir() {
}
# copy all files from std_data into var/std_data
# and make them w
rit
able
copytree
("
$glob_mysql_test_dir
/std_data
",
"
$opt_vardir
/std_data
");
# and make them w
orld read
able
copytree
("
$glob_mysql_test_dir
/std_data
",
"
$opt_vardir
/std_data
"
,
"
0022
"
);
# Remove old log files
foreach
my
$name
(
glob
("
r/*.progress r/*.log r/*.warnings
"))
...
...
@@ -2544,6 +2544,7 @@ sub mysql_install_db {
mtr_add_arg
(
$args
,
"
--basedir=%s
",
$install_basedir
);
mtr_add_arg
(
$args
,
"
--datadir=%s
",
$install_datadir
);
mtr_add_arg
(
$args
,
"
--loose-skip-innodb
");
mtr_add_arg
(
$args
,
"
--loose-skip-falcon
");
mtr_add_arg
(
$args
,
"
--loose-skip-ndbcluster
");
mtr_add_arg
(
$args
,
"
--tmpdir=%s
",
"
$opt_vardir
/tmp/
");
mtr_add_arg
(
$args
,
"
--core-file
");
...
...
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