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
f007ff64
Commit
f007ff64
authored
Nov 24, 2006
by
knielsen@ymer.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge ymer.(none):/usr/local/mysql/tmp/mysql-5.0-gca
into ymer.(none):/usr/local/mysql/tmp/mysql-5.1-new-maint
parents
d6f06d42
eb9dfafa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletion
+23
-1
mysql-test/lib/mtr_io.pl
mysql-test/lib/mtr_io.pl
+14
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+9
-1
No files found.
mysql-test/lib/mtr_io.pl
View file @
f007ff64
...
@@ -13,6 +13,8 @@ sub mtr_tofile ($@);
...
@@ -13,6 +13,8 @@ sub mtr_tofile ($@);
sub
mtr_tonewfile
($@);
sub
mtr_tonewfile
($@);
sub
mtr_lastlinefromfile
($);
sub
mtr_lastlinefromfile
($);
sub
mtr_appendfile_to_file
($$);
sub
mtr_appendfile_to_file
($$);
sub
mtr_grab_file
($);
##############################################################################
##############################################################################
#
#
...
@@ -128,6 +130,7 @@ sub unspace {
...
@@ -128,6 +130,7 @@ sub unspace {
return
"
$quote$string$quote
";
return
"
$quote$string$quote
";
}
}
# Read a whole file, stripping leading and trailing whitespace.
sub
mtr_fromfile
($)
{
sub
mtr_fromfile
($)
{
my
$file
=
shift
;
my
$file
=
shift
;
...
@@ -181,5 +184,16 @@ sub mtr_appendfile_to_file ($$) {
...
@@ -181,5 +184,16 @@ sub mtr_appendfile_to_file ($$) {
close
TOFILE
;
close
TOFILE
;
}
}
# Read a whole file verbatim.
sub
mtr_grab_file
($)
{
my
$file
=
shift
;
open
(
FILE
,
'
<
',
$file
)
or
return
undef
;
local
$/
=
undef
;
my
$data
=
scalar
(
<
FILE
>
);
close
FILE
;
return
$data
;
}
1
;
1
;
mysql-test/mysql-test-run.pl
View file @
f007ff64
...
@@ -1603,9 +1603,17 @@ sub environment_setup () {
...
@@ -1603,9 +1603,17 @@ sub environment_setup () {
# impossible to add correct supressions, that means if "/usr/lib/debug"
# impossible to add correct supressions, that means if "/usr/lib/debug"
# is available, it should be added to
# is available, it should be added to
# LD_LIBRARY_PATH
# LD_LIBRARY_PATH
#
# But pthread is broken in libc6-dbg on Debian <= 3.1 (see Debian
# bug 399035, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=399035),
# so don't change LD_LIBRARY_PATH on that platform.
# --------------------------------------------------------------------------
# --------------------------------------------------------------------------
my
$debug_libraries_path
=
"
/usr/lib/debug
";
my
$debug_libraries_path
=
"
/usr/lib/debug
";
if
(
$opt_valgrind
and
-
d
$debug_libraries_path
)
my
$deb_version
;
if
(
$opt_valgrind
and
-
d
$debug_libraries_path
and
(
!
-
e
'
/etc/debian_version
'
or
(
$deb_version
=
mtr_grab_file
('
/etc/debian_version
'))
==
0
or
$deb_version
>
3.1
)
)
{
{
push
(
@ld_library_paths
,
$debug_libraries_path
);
push
(
@ld_library_paths
,
$debug_libraries_path
);
}
}
...
...
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