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
c11e9199
Commit
c11e9199
authored
Sep 05, 2008
by
Magnus Svensson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL#4350 Options in my.cnf style config file should not start with --
parent
ee1c00d9
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
10 deletions
+20
-10
mysql-test/lib/My/Config.pm
mysql-test/lib/My/Config.pm
+10
-0
mysql-test/lib/mtr_cases.pm
mysql-test/lib/mtr_cases.pm
+1
-1
mysql-test/suite/binlog/combinations
mysql-test/suite/binlog/combinations
+3
-3
mysql-test/suite/bugs/combinations
mysql-test/suite/bugs/combinations
+3
-3
mysql-test/suite/rpl/combinations
mysql-test/suite/rpl/combinations
+3
-3
No files found.
mysql-test/lib/My/Config.pm
View file @
c11e9199
...
@@ -27,6 +27,16 @@ sub value {
...
@@ -27,6 +27,16 @@ sub value {
return
$self
->
{
value
};
return
$self
->
{
value
};
}
}
sub
option
{
my
(
$self
)
=
@_
;
my
$name
=
$self
->
{
name
};
my
$value
=
$self
->
{
value
};
my
$opt
=
$name
;
$opt
=
"
$name
=
$value
"
if
(
$value
);
$opt
=
"
--
$opt
"
unless
(
$opt
=~
/^--/
);
return
$opt
;
}
package
My::Config::
Group
;
package
My::Config::
Group
;
...
...
mysql-test/lib/mtr_cases.pm
View file @
c11e9199
...
@@ -397,7 +397,7 @@ sub collect_one_suite($)
...
@@ -397,7 +397,7 @@ sub collect_one_suite($)
my
$comb
=
{};
my
$comb
=
{};
$comb
->
{
name
}
=
$group
->
name
();
$comb
->
{
name
}
=
$group
->
name
();
foreach
my
$option
(
$group
->
options
()
)
{
foreach
my
$option
(
$group
->
options
()
)
{
push
(
@
{
$comb
->
{
comb_opt
}},
$option
->
name
()
.
"
=
"
.
$option
->
value
());
push
(
@
{
$comb
->
{
comb_opt
}},
$option
->
option
());
}
}
push
(
@combinations
,
$comb
);
push
(
@combinations
,
$comb
);
}
}
...
...
mysql-test/suite/binlog/combinations
View file @
c11e9199
[row]
[row]
--
binlog-format=row
binlog-format=row
[stmt]
[stmt]
--
binlog-format=statement
binlog-format=statement
[mix]
[mix]
--
binlog-format=mixed
binlog-format=mixed
mysql-test/suite/bugs/combinations
View file @
c11e9199
[row]
[row]
--
binlog-format=row
binlog-format=row
[stmt]
[stmt]
--
binlog-format=statement
binlog-format=statement
[mix]
[mix]
--
binlog-format=mixed
binlog-format=mixed
mysql-test/suite/rpl/combinations
View file @
c11e9199
[row]
[row]
--
binlog-format=row
binlog-format=row
[stmt]
[stmt]
--
binlog-format=statement
binlog-format=statement
[mix]
[mix]
--
binlog-format=mixed
binlog-format=mixed
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