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
ad7b636d
Commit
ad7b636d
authored
Apr 08, 2011
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix CRLF line endings to LF
parent
3fdd0099
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
sql/mysql_install_db.cc
sql/mysql_install_db.cc
+11
-11
No files found.
sql/mysql_install_db.cc
View file @
ad7b636d
...
@@ -114,13 +114,13 @@ static void die(const char *fmt, ...)
...
@@ -114,13 +114,13 @@ static void die(const char *fmt, ...)
fprintf
(
stderr
,
"FATAL ERROR: "
);
fprintf
(
stderr
,
"FATAL ERROR: "
);
vfprintf
(
stderr
,
fmt
,
args
);
vfprintf
(
stderr
,
fmt
,
args
);
fputc
(
'\n'
,
stderr
);
fputc
(
'\n'
,
stderr
);
if
(
verbose_errors
)
if
(
verbose_errors
)
{
{
fprintf
(
stderr
,
fprintf
(
stderr
,
"http://kb.askmonty.org/v/installation-issues-on-windows contains some help
\n
"
"http://kb.askmonty.org/v/installation-issues-on-windows contains some help
\n
"
"for solving the most common problems. If this doesn't help you, please
\n
"
"for solving the most common problems. If this doesn't help you, please
\n
"
"leave a comment in the knowledge base or file a bug report at
\n
"
"leave a comment in the knowledge base or file a bug report at
\n
"
"https://bugs.launchpad.net/maria"
);
"https://bugs.launchpad.net/maria"
);
}
}
fflush
(
stderr
);
fflush
(
stderr
);
va_end
(
args
);
va_end
(
args
);
...
@@ -205,15 +205,15 @@ int main(int argc, char **argv)
...
@@ -205,15 +205,15 @@ int main(int argc, char **argv)
static
void
convert_slashes
(
char
*
s
)
static
void
convert_slashes
(
char
*
s
)
{
{
for
(;
*
s
;
s
++
)
for
(;
*
s
;
s
++
)
if
(
*
s
==
'\\'
)
if
(
*
s
==
'\\'
)
*
s
=
'/'
;
*
s
=
'/'
;
}
}
/**
/**
Calculate basedir from mysqld.exe path.
Calculate basedir from mysqld.exe path.
Basedir assumed to be is one level up from the mysqld.exe directory location.
Basedir assumed to be is one level up from the mysqld.exe directory location.
E.g basedir for C:\my\bin\mysqld.exe would be C:\my
E.g basedir for C:\my\bin\mysqld.exe would be C:\my
*/
*/
...
@@ -377,7 +377,7 @@ static int register_service()
...
@@ -377,7 +377,7 @@ static int register_service()
static
void
clean_directory
(
const
char
*
dir
)
static
void
clean_directory
(
const
char
*
dir
)
{
{
char
dir2
[
MAX_PATH
+
2
];
char
dir2
[
MAX_PATH
+
2
];
*
(
strmake
(
dir2
,
dir
,
MAX_PATH
+
1
)
+
1
)
=
0
;
*
(
strmake
(
dir2
,
dir
,
MAX_PATH
+
1
)
+
1
)
=
0
;
SHFILEOPSTRUCT
fileop
;
SHFILEOPSTRUCT
fileop
;
fileop
.
hwnd
=
NULL
;
/* no status display */
fileop
.
hwnd
=
NULL
;
/* no status display */
...
...
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