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
685dba5b
Commit
685dba5b
authored
Nov 05, 2002
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix to get core file on Linux
parent
09d8750f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
1 deletion
+20
-1
BUILD/compile-pentium-valgrind-max
BUILD/compile-pentium-valgrind-max
+13
-0
Docs/manual.texi
Docs/manual.texi
+2
-0
sql/mysqld.cc
sql/mysqld.cc
+4
-0
sql/stacktrace.c
sql/stacktrace.c
+1
-1
No files found.
BUILD/compile-pentium-valgrind-max
0 → 100755
View file @
685dba5b
#! /bin/sh
path
=
`
dirname
$0
`
.
"
$path
/SETUP.sh"
extra_flags
=
"
$pentium_cflags
$debug_cflags
-DHAVE_purify"
c_warnings
=
"
$c_warnings
$debug_extra_warnings
"
cxx_warnings
=
"
$cxx_warnings
$debug_extra_warnings
"
extra_configs
=
"
$pentium_configs
$debug_configs
"
extra_configs
=
"
$extra_configs
"
.
"
$path
/FINISH.sh"
Docs/manual.texi
View file @
685dba5b
...
@@ -46930,6 +46930,8 @@ not yet 100% confident in this code.
...
@@ -46930,6 +46930,8 @@ not yet 100% confident in this code.
@appendixsubsec Changes in release 3.23.54
@appendixsubsec Changes in release 3.23.54
@itemize
@itemize
@item
@item
Fixed that @code{--core-file} works on Linux (at least on kernel 2.4.18).
@item
Fixed a problem with BDB and @code{ALTER TABLE}.
Fixed a problem with BDB and @code{ALTER TABLE}.
@item
@item
Fixed reference to freed memory when doing complicated @code{GROUP BY
Fixed reference to freed memory when doing complicated @code{GROUP BY
sql/mysqld.cc
View file @
685dba5b
...
@@ -1326,7 +1326,11 @@ information that should help you find out what is causing the crash\n");
...
@@ -1326,7 +1326,11 @@ information that should help you find out what is causing the crash\n");
#endif
/* HAVE_STACKTRACE */
#endif
/* HAVE_STACKTRACE */
if
(
test_flags
&
TEST_CORE_ON_SIGNAL
)
if
(
test_flags
&
TEST_CORE_ON_SIGNAL
)
{
fprintf
(
stderr
,
"Writing a core file
\n
"
);
fflush
(
stderr
);
write_core
(
sig
);
write_core
(
sig
);
}
exit
(
1
);
exit
(
1
);
}
}
...
...
sql/stacktrace.c
View file @
685dba5b
...
@@ -206,7 +206,7 @@ resolve it\n");
...
@@ -206,7 +206,7 @@ resolve it\n");
/* Produce a core for the thread */
/* Produce a core for the thread */
#ifdef
HAVE_LINUXTHREADS
#ifdef
NOT_USED
/* HAVE_LINUXTHREADS */
void
write_core
(
int
sig
)
void
write_core
(
int
sig
)
{
{
signal
(
sig
,
SIG_DFL
);
signal
(
sig
,
SIG_DFL
);
...
...
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