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
8b91756b
Commit
8b91756b
authored
Feb 19, 2008
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-merge fix
parent
13791914
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
18 deletions
+3
-18
sql/sql_connect.cc
sql/sql_connect.cc
+2
-17
sql/stacktrace.c
sql/stacktrace.c
+1
-1
No files found.
sql/sql_connect.cc
View file @
8b91756b
...
@@ -39,22 +39,7 @@
...
@@ -39,22 +39,7 @@
#endif
/* HAVE_OPENSSL */
#endif
/* HAVE_OPENSSL */
#ifdef __WIN__
#ifdef __WIN__
static
void
test_signal
(
int
sig_ptr
)
extern
void
win_install_sigabrt_handler
();
{
#if !defined( DBUG_OFF)
MessageBox
(
NULL
,
"Test signal"
,
"DBUG"
,
MB_OK
);
#endif
#if defined(OS2)
fprintf
(
stderr
,
"Test signal %d
\n
"
,
sig_ptr
);
fflush
(
stderr
);
#endif
}
static
void
init_signals
(
void
)
{
int
signals
[
7
]
=
{
SIGINT
,
SIGILL
,
SIGFPE
,
SIGSEGV
,
SIGTERM
,
SIGBREAK
,
SIGABRT
}
;
for
(
int
i
=
0
;
i
<
7
;
i
++
)
signal
(
signals
[
i
],
test_signal
)
;
}
#endif
#endif
/*
/*
...
@@ -626,7 +611,7 @@ bool init_new_connection_handler_thread()
...
@@ -626,7 +611,7 @@ bool init_new_connection_handler_thread()
{
{
pthread_detach_this_thread
();
pthread_detach_this_thread
();
#if defined(__WIN__)
#if defined(__WIN__)
init_signals
();
win_install_sigabrt_handler
();
#else
#else
/* Win32 calls this in pthread_create */
/* Win32 calls this in pthread_create */
if
(
my_thread_init
())
if
(
my_thread_init
())
...
...
sql/stacktrace.c
View file @
8b91756b
...
@@ -341,7 +341,7 @@ void set_exception_pointers(EXCEPTION_POINTERS *ep)
...
@@ -341,7 +341,7 @@ void set_exception_pointers(EXCEPTION_POINTERS *ep)
#define SYMOPT_NO_PROMPTS 0
#define SYMOPT_NO_PROMPTS 0
#endif
#endif
void
print_stacktrace
(
gptr
unused1
,
ulong
unused2
)
void
print_stacktrace
(
uchar
*
unused1
,
ulong
unused2
)
{
{
HANDLE
hProcess
=
GetCurrentProcess
();
HANDLE
hProcess
=
GetCurrentProcess
();
HANDLE
hThread
=
GetCurrentThread
();
HANDLE
hThread
=
GetCurrentThread
();
...
...
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