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
71cf9ab0
Commit
71cf9ab0
authored
Feb 17, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0
into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0
parents
a2cfc204
b1e6157d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
libmysql/client_settings.h
libmysql/client_settings.h
+2
-2
libmysql/libmysql.c
libmysql/libmysql.c
+3
-3
No files found.
libmysql/client_settings.h
View file @
71cf9ab0
...
@@ -21,7 +21,7 @@ extern my_string mysql_unix_port;
...
@@ -21,7 +21,7 @@ extern my_string mysql_unix_port;
CLIENT_TRANSACTIONS | \
CLIENT_TRANSACTIONS | \
CLIENT_PROTOCOL_41 | CLIENT_SECURE_CONNECTION)
CLIENT_PROTOCOL_41 | CLIENT_SECURE_CONNECTION)
sig_handler
pipe_sig_handler
(
int
sig
);
sig_handler
my_
pipe_sig_handler
(
int
sig
);
void
read_user_name
(
char
*
name
);
void
read_user_name
(
char
*
name
);
my_bool
handle_local_infile
(
MYSQL
*
mysql
,
const
char
*
net_filename
);
my_bool
handle_local_infile
(
MYSQL
*
mysql
,
const
char
*
net_filename
);
...
@@ -32,7 +32,7 @@ my_bool handle_local_infile(MYSQL *mysql, const char *net_filename);
...
@@ -32,7 +32,7 @@ my_bool handle_local_infile(MYSQL *mysql, const char *net_filename);
#if !defined(__WIN__) && defined(SIGPIPE) && !defined(THREAD)
#if !defined(__WIN__) && defined(SIGPIPE) && !defined(THREAD)
#define init_sigpipe_variables sig_return old_signal_handler=(sig_return) 0;
#define init_sigpipe_variables sig_return old_signal_handler=(sig_return) 0;
#define set_sigpipe(mysql) if ((mysql)->client_flag & CLIENT_IGNORE_SIGPIPE) old_signal_handler=signal(SIGPIPE,pipe_sig_handler)
#define set_sigpipe(mysql) if ((mysql)->client_flag & CLIENT_IGNORE_SIGPIPE) old_signal_handler=signal(SIGPIPE,
my_
pipe_sig_handler)
#define reset_sigpipe(mysql) if ((mysql)->client_flag & CLIENT_IGNORE_SIGPIPE) signal(SIGPIPE,old_signal_handler);
#define reset_sigpipe(mysql) if ((mysql)->client_flag & CLIENT_IGNORE_SIGPIPE) signal(SIGPIPE,old_signal_handler);
#else
#else
#define init_sigpipe_variables
#define init_sigpipe_variables
...
...
libmysql/libmysql.c
View file @
71cf9ab0
...
@@ -92,7 +92,7 @@ my_bool net_flush(NET *net);
...
@@ -92,7 +92,7 @@ my_bool net_flush(NET *net);
#define unsigned_field(A) ((A)->flags & UNSIGNED_FLAG)
#define unsigned_field(A) ((A)->flags & UNSIGNED_FLAG)
static
void
append_wild
(
char
*
to
,
char
*
end
,
const
char
*
wild
);
static
void
append_wild
(
char
*
to
,
char
*
end
,
const
char
*
wild
);
sig_handler
pipe_sig_handler
(
int
sig
);
sig_handler
my_
pipe_sig_handler
(
int
sig
);
static
my_bool
mysql_client_init
=
0
;
static
my_bool
mysql_client_init
=
0
;
static
my_bool
org_my_init_done
=
0
;
static
my_bool
org_my_init_done
=
0
;
...
@@ -294,11 +294,11 @@ mysql_debug(const char *debug __attribute__((unused)))
...
@@ -294,11 +294,11 @@ mysql_debug(const char *debug __attribute__((unused)))
**************************************************************************/
**************************************************************************/
sig_handler
sig_handler
pipe_sig_handler
(
int
sig
__attribute__
((
unused
)))
my_
pipe_sig_handler
(
int
sig
__attribute__
((
unused
)))
{
{
DBUG_PRINT
(
"info"
,(
"Hit by signal %d"
,
sig
));
DBUG_PRINT
(
"info"
,(
"Hit by signal %d"
,
sig
));
#ifdef DONT_REMEMBER_SIGNAL
#ifdef DONT_REMEMBER_SIGNAL
(
void
)
signal
(
SIGPIPE
,
pipe_sig_handler
);
(
void
)
signal
(
SIGPIPE
,
my_
pipe_sig_handler
);
#endif
#endif
}
}
...
...
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