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
87303393
Commit
87303393
authored
May 26, 2003
by
monty@narttu.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug when installing mysqld as a service with 2 arguments (option + service-name)
parent
2c4a2cec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
sql/mysqld.cc
sql/mysqld.cc
+5
-2
No files found.
sql/mysqld.cc
View file @
87303393
...
@@ -2230,9 +2230,12 @@ int main(int argc, char **argv)
...
@@ -2230,9 +2230,12 @@ int main(int argc, char **argv)
return
0
;
return
0
;
if
(
Service
.
IsService
(
argv
[
2
]))
if
(
Service
.
IsService
(
argv
[
2
]))
{
{
/* start an optional service */
/*
mysqld was started as
mysqld --defaults-file=my_path\my.ini service-name
*/
use_opt_args
=
1
;
use_opt_args
=
1
;
opt_argc
=
argc
;
opt_argc
=
2
;
// Skip service-name
opt_argv
=
argv
;
opt_argv
=
argv
;
start_mode
=
1
;
start_mode
=
1
;
Service
.
Init
(
argv
[
2
],
mysql_service
);
Service
.
Init
(
argv
[
2
],
mysql_service
);
...
...
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