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
c0248983
Commit
c0248983
authored
Feb 26, 2009
by
Magnus Svensson
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
c7d0de37
b3b9f348
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
+6
-8
.bzr-mysql/default.conf
.bzr-mysql/default.conf
+1
-1
configure.in
configure.in
+1
-1
mysql-test/lib/My/Platform.pm
mysql-test/lib/My/Platform.pm
+4
-6
No files found.
.bzr-mysql/default.conf
View file @
c0248983
[
MYSQL
]
post_commit_to
=
"commits@lists.mysql.com"
post_push_to
=
"commits@lists.mysql.com"
tree_name
=
"mysql-5.1"
tree_name
=
"mysql-5.1
-mtr
"
configure.in
View file @
c0248983
...
...
@@ -10,7 +10,7 @@ AC_CANONICAL_SYSTEM
#
# When changing major version number please also check switch statement
# in mysqlbinlog::check_master_version().
AM_INIT_AUTOMAKE
(
mysql, 5.1.3
2
)
AM_INIT_AUTOMAKE
(
mysql, 5.1.3
3
)
AM_CONFIG_HEADER
([
include/config.h:config.h.in]
)
PROTOCOL_VERSION
=
10
...
...
mysql-test/lib/My/Platform.pm
View file @
c0248983
...
...
@@ -113,8 +113,8 @@ sub check_socket_path_length {
# Create a tempfile name with same length as "path"
my
$tmpdir
=
tempdir
(
CLEANUP
=>
0
);
my
$len
=
length
(
$path
)
-
length
(
$tmpdir
);
my
$testfile
=
$tmpdir
.
"
x
"
x
(
$len
>
0
?
$len
:
1
);
my
$len
=
length
(
$path
)
-
length
(
$tmpdir
)
-
1
;
my
$testfile
=
$tmpdir
.
"
/
"
.
"
x
"
x
(
$len
>
0
?
$len
:
1
);
my
$sock
;
eval
{
$sock
=
new
IO::Socket::
UNIX
...
...
@@ -126,17 +126,15 @@ sub check_socket_path_length {
die
"
Could not create UNIX domain socket: $!
"
unless
defined
$sock
;
die
"
UNIX domain socket pat
c
h was truncated
"
die
"
UNIX domain socket path was truncated
"
unless
(
$testfile
eq
$sock
->
hostpath
());
$truncated
=
0
;
# Yes, it worked!
};
#print "check_socket_path_length, failed: ", $@, '\n' if ($@);
$sock
=
undef
;
# Close socket
unlink
(
$testfile
);
# Remove the physical file
rmdir
(
$tmpdir
);
# Remove the tempdir
rmtree
(
$tmpdir
);
# Remove the tempdir and any socket file created
return
$truncated
;
}
...
...
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