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
2f6c43c5
Commit
2f6c43c5
authored
Jun 12, 2011
by
Michael Widenius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed warning that sf_malloc_trough_check was not used when compiling without SAFEMALLOC
parent
ff0b3021
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
sql/mysqld.cc
sql/mysqld.cc
+5
-2
No files found.
sql/mysqld.cc
View file @
2f6c43c5
...
...
@@ -427,7 +427,7 @@ static bool volatile ready_to_exit;
static
my_bool
opt_debugging
=
0
,
opt_external_locking
=
0
,
opt_console
=
0
;
static
my_bool
opt_short_log_format
=
0
;
static
my_bool
opt_ignore_wrong_options
=
0
,
opt_expect_abort
=
0
;
static
my_bool
opt_sync
=
0
,
sf_malloc_trough_check
=
0
;
static
my_bool
opt_sync
=
0
;
static
uint
kill_cached_threads
,
wake_thread
;
ulong
thread_created
;
uint
thread_handling
;
...
...
@@ -444,6 +444,9 @@ static const char *optimizer_switch_str="index_merge=on,index_merge_union=on,"
#else
;
#endif
#ifdef SAFEMALLOC
my_bool
sf_malloc_trough_check
=
0
;
#endif
static
char
*
mysqld_user
,
*
mysqld_chroot
,
*
log_error_file_ptr
;
static
char
*
opt_init_slave
,
*
language_ptr
,
*
opt_init_connect
;
static
char
*
default_character_set_name
;
...
...
@@ -6898,7 +6901,7 @@ each time the SQL thread starts.",
{
"skip-networking"
,
OPT_SKIP_NETWORKING
,
"Don't allow connection with TCP/IP."
,
0
,
0
,
0
,
GET_NO_ARG
,
NO_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
#if
!defined(DBUG_OFF) && defined(SAFEMALLOC)
#if
def SAFEMALLOC
{
"safemalloc"
,
OPT_SAFEMALLOC
,
"Check all memory allocation for every malloc/free call."
,
&
sf_malloc_trough_check
,
&
sf_malloc_trough_check
,
0
,
...
...
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