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
268bf557
Commit
268bf557
authored
Mar 06, 2012
by
Tor Didriksen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#11761576 54082: HANDLE_SEGFAULT MAKES USE OF UNSAFE FUNCTIONS
Post-push fixes.
parent
bd5f062f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
5 deletions
+2
-5
mysys/stacktrace.c
mysys/stacktrace.c
+1
-1
sql/mysqld.cc
sql/mysqld.cc
+0
-4
sql/signal_handler.cc
sql/signal_handler.cc
+1
-0
No files found.
mysys/stacktrace.c
View file @
268bf557
...
...
@@ -170,7 +170,7 @@ void my_print_stacktrace(uchar* stack_bottom __attribute__((unused)),
my_safe_printf_stderr
(
"%s"
,
"Error when traversing the stack, stack appears corrupt.
\n
"
);
else
my_safe_printf_stderr
(
"%s"
my_safe_printf_stderr
(
"%s"
,
"Please read "
"http://dev.mysql.com/doc/refman/5.1/en/resolve-stack-dump.html
\n
"
"and follow instructions on how to resolve the stack trace.
\n
"
...
...
sql/mysqld.cc
View file @
268bf557
...
...
@@ -2468,10 +2468,6 @@ static void check_data_home(const char *path)
#endif
/*__WIN__ || __NETWARE */
#ifdef HAVE_LINUXTHREADS
#define UNSAFE_DEFAULT_LINUX_THREADS 200
#endif
#if BACKTRACE_DEMANGLE
#include <cxxabi.h>
...
...
sql/signal_handler.cc
View file @
268bf557
...
...
@@ -131,6 +131,7 @@ extern "C" sig_handler handle_fatal_signal(int sig)
"Hope that's ok; if not, decrease some variables in the equation.
\n\n
"
);
#if defined(HAVE_LINUXTHREADS)
#define UNSAFE_DEFAULT_LINUX_THREADS 200
if
(
sizeof
(
char
*
)
==
4
&&
thread_count
>
UNSAFE_DEFAULT_LINUX_THREADS
)
{
my_safe_printf_stderr
(
...
...
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