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
ef5ad50c
Commit
ef5ad50c
authored
Apr 26, 2005
by
jimw@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jimw/my/mysql-4.1-9063
into mysql.com:/home/jimw/my/mysql-5.0-build
parents
a27e8303
a296ccfd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
configure.in
configure.in
+2
-0
sql/mysqld.cc
sql/mysqld.cc
+1
-1
No files found.
configure.in
View file @
ef5ad50c
...
@@ -1754,6 +1754,8 @@ AC_C_BIGENDIAN
...
@@ -1754,6 +1754,8 @@ AC_C_BIGENDIAN
MYSQL_TYPE_ACCEPT
MYSQL_TYPE_ACCEPT
#---END:
#---END:
# Figure out what type of struct rlimit to use with setrlimit
MYSQL_TYPE_STRUCT_RLIMIT
# Find where the stack goes
# Find where the stack goes
MYSQL_STACK_DIRECTION
MYSQL_STACK_DIRECTION
# We want to skip alloca on irix unconditionally. It may work on some version..
# We want to skip alloca on irix unconditionally. It may work on some version..
...
...
sql/mysqld.cc
View file @
ef5ad50c
...
@@ -2022,7 +2022,7 @@ static void init_signals(void)
...
@@ -2022,7 +2022,7 @@ static void init_signals(void)
if
(
test_flags
&
TEST_CORE_ON_SIGNAL
)
if
(
test_flags
&
TEST_CORE_ON_SIGNAL
)
{
{
/* Change limits so that we will get a core file */
/* Change limits so that we will get a core file */
struct
rlimit
rl
;
STRUCT_RLIMIT
rl
;
rl
.
rlim_cur
=
rl
.
rlim_max
=
RLIM_INFINITY
;
rl
.
rlim_cur
=
rl
.
rlim_max
=
RLIM_INFINITY
;
if
(
setrlimit
(
RLIMIT_CORE
,
&
rl
)
&&
global_system_variables
.
log_warnings
)
if
(
setrlimit
(
RLIMIT_CORE
,
&
rl
)
&&
global_system_variables
.
log_warnings
)
sql_print_warning
(
"setrlimit could not change the size of core files to 'infinity'; We may not be able to generate a core file on signals"
);
sql_print_warning
(
"setrlimit could not change the size of core files to 'infinity'; We may not be able to generate a core file on signals"
);
...
...
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