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
ac7abc66
Commit
ac7abc66
authored
Nov 01, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-5.0-maint
into pilot.mysql.com:/data/msvensson/mysql/mysql-5.0-maint
parents
1c6a97e2
d58971bc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
client/mysqltest.c
client/mysqltest.c
+1
-1
mysql-test/lib/mtr_cases.pl
mysql-test/lib/mtr_cases.pl
+4
-6
No files found.
client/mysqltest.c
View file @
ac7abc66
...
@@ -2675,7 +2675,7 @@ void do_copy_file(struct st_command *command)
...
@@ -2675,7 +2675,7 @@ void do_copy_file(struct st_command *command)
command command handle
command command handle
DESCRIPTION
DESCRIPTION
chmod
_file
<octal> <file_name>
chmod <octal> <file_name>
Change file permission of <file_name>
Change file permission of <file_name>
*/
*/
...
...
mysql-test/lib/mtr_cases.pl
View file @
ac7abc66
...
@@ -32,16 +32,14 @@ my $skip_test;
...
@@ -32,16 +32,14 @@ my $skip_test;
sub
init_pattern
{
sub
init_pattern
{
my
(
$from
,
$what
)
=
@_
;
my
(
$from
,
$what
)
=
@_
;
if
(
$from
=~
/
[a-z0-9]
/
)
{
if
(
$from
=~
/
^[a-z0-9]$
/
)
{
# Does not contain any regex, make the pattern match
# Does not contain any regex, make the pattern match
# beginning of string
# beginning of string
$from
=
"
^
$from
";
$from
=
"
^
$from
";
}
}
else
{
# Check that pattern is a valid regex
# Check that pattern is a valid regex
eval
{
""
=~
/$from/
;
1
}
or
eval
{
""
=~
/$from/
;
1
}
or
mtr_error
("
Invalid regex '
$from
' passed to
$what
\n
Perl says: $@
");
mtr_error
("
Invalid regex '
$from
' passed to
$what
\n
Perl says: $@
");
}
return
$from
;
return
$from
;
}
}
...
...
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