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
9b832153
Commit
9b832153
authored
May 01, 2006
by
holyfoot@deer.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for Win build
parent
bad7e32a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
.bzrignore
.bzrignore
+1
-0
client/mysql_upgrade.c
client/mysql_upgrade.c
+4
-2
include/config-win.h
include/config-win.h
+1
-0
No files found.
.bzrignore
View file @
9b832153
...
@@ -1281,3 +1281,4 @@ mysql-test/r/udf.log
...
@@ -1281,3 +1281,4 @@ mysql-test/r/udf.log
extra/yassl/taocrypt/benchmark/benchmark
extra/yassl/taocrypt/benchmark/benchmark
extra/yassl/taocrypt/test/test
extra/yassl/taocrypt/test/test
extra/yassl/testsuite/testsuite
extra/yassl/testsuite/testsuite
client/mysql_upgrade
client/mysql_upgrade.c
View file @
9b832153
...
@@ -135,7 +135,9 @@ static int create_check_file(const char *path)
...
@@ -135,7 +135,9 @@ static int create_check_file(const char *path)
if
(
check_file
<
0
)
if
(
check_file
<
0
)
return
1
;
return
1
;
error
=
my_write
(
check_file
,
VERSION
,
strlen
(
VERSION
),
MYF
(
MY_WME
|
MY_FNABP
));
error
=
my_write
(
check_file
,
MYSQL_SERVER_VERSION
,
strlen
(
MYSQL_SERVER_VERSION
),
MYF
(
MY_WME
|
MY_FNABP
));
error
=
my_close
(
check_file
,
MYF
(
MY_FAE
|
MY_WME
))
||
error
;
error
=
my_close
(
check_file
,
MYF
(
MY_FAE
|
MY_WME
))
||
error
;
return
error
;
return
error
;
}
}
...
@@ -243,7 +245,7 @@ int main(int argc, char **argv)
...
@@ -243,7 +245,7 @@ int main(int argc, char **argv)
&&
(
test_file_exists
(
"./bin"
,
"mysqld"
)
||
&&
(
test_file_exists
(
"./bin"
,
"mysqld"
)
||
test_file_exists
(
"./libexec"
,
"mysqld"
)))
test_file_exists
(
"./libexec"
,
"mysqld"
)))
{
{
getcwd
(
bindir
,
sizeof
(
bindir
));
my_getwd
(
bindir
,
sizeof
(
bindir
),
MYF
(
0
));
bindir_end
=
bindir
+
strlen
(
bindir
);
bindir_end
=
bindir
+
strlen
(
bindir
);
}
}
else
else
...
...
include/config-win.h
View file @
9b832153
...
@@ -367,6 +367,7 @@ inline double ulonglong2double(ulonglong value)
...
@@ -367,6 +367,7 @@ inline double ulonglong2double(ulonglong value)
#include <custom_conf.h>
#include <custom_conf.h>
#else
#else
#define DEFAULT_MYSQL_HOME "c:\\mysql"
#define DEFAULT_MYSQL_HOME "c:\\mysql"
#define DATADIR "c:\\mysql\\data"
#define PACKAGE "mysql"
#define PACKAGE "mysql"
#define DEFAULT_BASEDIR "C:\\"
#define DEFAULT_BASEDIR "C:\\"
#define SHAREDIR "share"
#define SHAREDIR "share"
...
...
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