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
d85cacfa
Commit
d85cacfa
authored
Apr 05, 2002
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/reiser-data/mysql-4.0
parents
4930cfdd
a28f2ca6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
mysys/my_static.h
mysys/my_static.h
+2
-2
mysys/safemalloc.c
mysys/safemalloc.c
+1
-1
sql/mysqld.cc
sql/mysqld.cc
+6
-0
No files found.
mysys/my_static.h
View file @
d85cacfa
...
...
@@ -61,10 +61,10 @@ extern uint my_once_extra;
#ifdef THREAD
/*
These threads are ex
ce
pt from safemalloc leak scrutiny unless
These threads are ex
em
pt from safemalloc leak scrutiny unless
PEDANTIC_SAFEMALLOC is defined
*/
extern
pthread_t
signal_th
read
,
kill_thread
;
extern
pthread_t
signal_th
,
kill_th
,
main_th
;
#endif
#ifndef HAVE_TEMPNAM
...
...
mysys/safemalloc.c
View file @
d85cacfa
...
...
@@ -73,7 +73,7 @@
#include "mysys_err.h"
ulonglong
safemalloc_mem_limit
=
~
(
ulonglong
)
0
;
pthread_t
shutdown_th
=
0
,
main_th
=
0
,
signal_th
=
0
;
pthread_t
shutdown_th
,
main_th
,
signal_th
;
#define pNext tInt._pNext
#define pPrev tInt._pPrev
...
...
sql/mysqld.cc
View file @
d85cacfa
...
...
@@ -1720,6 +1720,12 @@ int main(int argc, char **argv)
my_umask
=
0660
;
// Default umask for new files
my_umask_dir
=
0700
;
// Default umask for new directories
MAIN_THD
;
/* initialize signal_th and shutdown_th to main_th for default value
as we need to initialize them to something safe. They are used
when compiled with safemalloc
*/
SIGNAL_THD
;
SHUTDOWN_THD
;
MY_INIT
(
argv
[
0
]);
// init my_sys library & pthreads
tzset
();
// Set tzname
...
...
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