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
d4baeca4
Commit
d4baeca4
authored
Feb 28, 2017
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Windows : Fix server compile errors when compile with /Zc:strictStrings option
parent
fc673a2c
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
11 deletions
+11
-11
client/mysqlbinlog.cc
client/mysqlbinlog.cc
+1
-1
include/my_global.h
include/my_global.h
+3
-4
sql/mysql_install_db.cc
sql/mysql_install_db.cc
+2
-2
sql/mysqld.cc
sql/mysqld.cc
+1
-1
sql/mysqld.h
sql/mysqld.h
+2
-1
sql/nt_servc.cc
sql/nt_servc.cc
+1
-1
sql/nt_servc.h
sql/nt_servc.h
+1
-1
No files found.
client/mysqlbinlog.cc
View file @
d4baeca4
...
...
@@ -106,7 +106,7 @@ static const char* sock= 0;
static
char
*
opt_plugindir
=
0
,
*
opt_default_auth
=
0
;
#ifdef HAVE_SMEM
static
char
*
shared_memory_base_name
=
0
;
static
c
onst
c
har
*
shared_memory_base_name
=
0
;
#endif
static
char
*
user
=
0
;
static
char
*
pass
=
0
;
...
...
include/my_global.h
View file @
d4baeca4
...
...
@@ -1078,10 +1078,9 @@ typedef ulong myf; /* Type of MyFlags in my_funcs */
static
inline
char
*
dlerror
(
void
)
{
static
char
win_errormsg
[
2048
];
if
(
FormatMessage
(
FORMAT_MESSAGE_FROM_SYSTEM
,
0
,
GetLastError
(),
0
,
win_errormsg
,
2048
,
NULL
))
return
win_errormsg
;
return
""
;
FormatMessage
(
FORMAT_MESSAGE_FROM_SYSTEM
,
0
,
GetLastError
(),
0
,
win_errormsg
,
2048
,
NULL
);
return
win_errormsg
;
}
#define HAVE_DLOPEN 1
#define HAVE_DLERROR 1
...
...
sql/mysql_install_db.cc
View file @
d4baeca4
...
...
@@ -386,8 +386,8 @@ static int register_service()
CloseServiceHandle
(
sc_manager
);
die
(
"CreateService failed (%u)"
,
GetLastError
());
}
SERVICE_DESCRIPTION
sd
=
{
"MariaDB database server"
};
char
description
[]
=
"MariaDB database server"
;
SERVICE_DESCRIPTION
sd
=
{
description
};
ChangeServiceConfig2
(
sc_service
,
SERVICE_CONFIG_DESCRIPTION
,
&
sd
);
CloseServiceHandle
(
sc_service
);
CloseServiceHandle
(
sc_manager
);
...
...
sql/mysqld.cc
View file @
d4baeca4
...
...
@@ -1414,7 +1414,7 @@ ulong query_cache_min_res_unit= QUERY_CACHE_MIN_RESULT_DATA_SIZE;
Query_cache
query_cache
;
#endif
#ifdef HAVE_SMEM
char
*
shared_memory_base_name
=
default_shared_memory_base_name
;
c
onst
c
har
*
shared_memory_base_name
=
default_shared_memory_base_name
;
my_bool
opt_enable_shared_memory
;
HANDLE
smem_event_connect_request
=
0
;
#endif
...
...
sql/mysqld.h
View file @
d4baeca4
...
...
@@ -118,7 +118,8 @@ extern my_bool sp_automatic_privileges, opt_noacl;
extern
ulong
use_stat_tables
;
extern
my_bool
opt_old_style_user_limits
,
trust_function_creators
;
extern
uint
opt_crash_binlog_innodb
;
extern
char
*
shared_memory_base_name
,
*
mysqld_unix_port
;
extern
const
char
*
shared_memory_base_name
;
extern
char
*
mysqld_unix_port
;
extern
my_bool
opt_enable_shared_memory
;
extern
ulong
opt_replicate_events_marked_for_skip
;
extern
char
*
default_tz_name
;
...
...
sql/nt_servc.cc
View file @
d4baeca4
...
...
@@ -508,7 +508,7 @@ BOOL NTService::IsService(LPCSTR ServiceName)
}
/* ------------------------------------------------------------------------
-------------------------------------------------------------------------- */
BOOL
NTService
::
got_service_option
(
char
**
argv
,
char
*
service_option
)
BOOL
NTService
::
got_service_option
(
char
**
argv
,
c
onst
c
har
*
service_option
)
{
char
*
option
;
for
(
option
=
argv
[
1
];
*
option
;
option
++
)
...
...
sql/nt_servc.h
View file @
d4baeca4
...
...
@@ -61,7 +61,7 @@ class NTService
BOOL
SeekStatus
(
LPCSTR
szInternName
,
int
OperationType
);
BOOL
Remove
(
LPCSTR
szInternName
);
BOOL
IsService
(
LPCSTR
ServiceName
);
BOOL
got_service_option
(
char
**
argv
,
char
*
service_option
);
BOOL
got_service_option
(
char
**
argv
,
c
onst
c
har
*
service_option
);
BOOL
is_super_user
();
/*
...
...
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