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
99ceb8fd
Commit
99ceb8fd
authored
Jun 03, 2003
by
venu@myvenu.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Windows build fixups (Fix for slave_net_timeout)
parent
45fc8cc2
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
11 deletions
+8
-11
VC++Files/libmysqld/libmysqld.dsp
VC++Files/libmysqld/libmysqld.dsp
+0
-8
sql-common/client.c
sql-common/client.c
+1
-1
sql/client_settings.h
sql/client_settings.h
+2
-1
sql/slave.h
sql/slave.h
+5
-1
No files found.
VC++Files/libmysqld/libmysqld.dsp
View file @
99ceb8fd
...
@@ -87,10 +87,6 @@ LINK32=link.exe
...
@@ -87,10 +87,6 @@ LINK32=link.exe
# Name "libmysqld - Win32 Debug"
# Name "libmysqld - Win32 Debug"
# Begin Source File
# Begin Source File
SOURCE=..\sql\convert.cpp
# End Source File
# Begin Source File
SOURCE=..\sql\derror.cpp
SOURCE=..\sql\derror.cpp
# End Source File
# End Source File
# Begin Source File
# Begin Source File
...
@@ -236,10 +232,6 @@ SOURCE=..\sql\mf_iocache.cpp
...
@@ -236,10 +232,6 @@ SOURCE=..\sql\mf_iocache.cpp
# End Source File
# End Source File
# Begin Source File
# Begin Source File
SOURCE=..\sql\mini_client.cpp
# End Source File
# Begin Source File
SOURCE=..\sql\net_serv.cpp
SOURCE=..\sql\net_serv.cpp
# End Source File
# End Source File
# Begin Source File
# Begin Source File
...
...
sql-common/client.c
View file @
99ceb8fd
...
@@ -1023,7 +1023,7 @@ unpack_fields(MYSQL_DATA *data,MEM_ROOT *alloc,uint fields,
...
@@ -1023,7 +1023,7 @@ unpack_fields(MYSQL_DATA *data,MEM_ROOT *alloc,uint fields,
bzero
((
char
*
)
field
,
(
uint
)
sizeof
(
MYSQL_FIELD
)
*
fields
);
bzero
((
char
*
)
field
,
(
uint
)
sizeof
(
MYSQL_FIELD
)
*
fields
);
#ifdef MYSQL_SERVER
#ifdef MYSQL_SERVER
unpack_fields_40
(
data
->
data
,
field
,
alloc
,
lengths
,
default_value
?
6
:
5
,
unpack_fields_40
(
data
->
data
,
field
,
alloc
,
lengths
,
default_value
?
6
:
5
,
default_value
,
server_capabilities
&
CLIENT_LONG_FLAG
);
default_value
,
(
my_bool
)(
server_capabilities
&
CLIENT_LONG_FLAG
)
);
#else
#else
if
(
server_capabilities
&
CLIENT_PROTOCOL_41
)
if
(
server_capabilities
&
CLIENT_PROTOCOL_41
)
{
{
...
...
sql/client_settings.h
View file @
99ceb8fd
...
@@ -23,11 +23,12 @@ extern char *mysql_unix_port;
...
@@ -23,11 +23,12 @@ extern char *mysql_unix_port;
| CLIENT_LOCAL_FILES | CLIENT_SECURE_CONNECTION)
| CLIENT_LOCAL_FILES | CLIENT_SECURE_CONNECTION)
extern
ulong
slave_net_timeout
;
#define init_sigpipe_variables
#define init_sigpipe_variables
#define set_sigpipe(mysql)
#define set_sigpipe(mysql)
#define reset_sigpipe(mysql)
#define reset_sigpipe(mysql)
extern
ulong
slave_net_timeout
;
#ifdef HAVE_SMEM
#ifdef HAVE_SMEM
#undef HAVE_SMEM
#undef HAVE_SMEM
#endif
#endif
sql/slave.h
View file @
99ceb8fd
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
*****************************************************************************/
*****************************************************************************/
extern
ulong
slave_net_timeout
,
master_retry_count
;
extern
ulong
master_retry_count
;
extern
MY_BITMAP
slave_error_mask
;
extern
MY_BITMAP
slave_error_mask
;
extern
bool
use_slave_mask
;
extern
bool
use_slave_mask
;
extern
char
*
slave_load_tmpdir
;
extern
char
*
slave_load_tmpdir
;
...
@@ -43,6 +43,10 @@ extern my_bool opt_log_slave_updates;
...
@@ -43,6 +43,10 @@ extern my_bool opt_log_slave_updates;
extern
ulonglong
relay_log_space_limit
;
extern
ulonglong
relay_log_space_limit
;
struct
st_master_info
;
struct
st_master_info
;
extern
"C"
{
extern
ulong
slave_net_timeout
;
};
/*
/*
TODO: this needs to be redone, but for now it does not matter since
TODO: this needs to be redone, but for now it does not matter since
we do not have multi-master yet.
we do not have multi-master yet.
...
...
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