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
8c6a32b9
Commit
8c6a32b9
authored
Jan 12, 2006
by
jani@ua141d10.elisa.omakaista.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.0
into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1
parents
4d0fd66b
af845f6e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
6 deletions
+24
-6
include/config-netware.h
include/config-netware.h
+3
-0
innobase/os/os0thread.c
innobase/os/os0thread.c
+9
-0
netware/mysqld_safe.c
netware/mysqld_safe.c
+6
-6
sql/mysqld.cc
sql/mysqld.cc
+6
-0
No files found.
include/config-netware.h
View file @
8c6a32b9
...
...
@@ -92,6 +92,9 @@ extern "C" {
/* On NetWare, stack grows towards lower address*/
#define STACK_DIRECTION -1
/* On NetWare, we need to set stack size for threads, otherwise default 16K is used */
#define NW_THD_STACKSIZE 65536
/* On NetWare, to fix the problem with the deletion of open files */
#define CANT_DELETE_OPEN_FILES 1
...
...
innobase/os/os0thread.c
View file @
8c6a32b9
...
...
@@ -147,6 +147,15 @@ os_thread_create(
"InnoDB: Error: pthread_attr_setstacksize returned %d
\n
"
,
ret
);
exit
(
1
);
}
#endif
#ifdef __NETWARE__
ret
=
pthread_attr_setstacksize
(
&
attr
,
(
size_t
)
NW_THD_STACKSIZE
);
if
(
ret
)
{
fprintf
(
stderr
,
"InnoDB: Error: pthread_attr_setstacksize returned %d
\n
"
,
ret
);
exit
(
1
);
}
#endif
os_mutex_enter
(
os_sync_mutex
);
os_thread_count
++
;
...
...
netware/mysqld_safe.c
View file @
8c6a32b9
sql/mysqld.cc
View file @
8c6a32b9
...
...
@@ -3089,6 +3089,12 @@ int main(int argc, char **argv)
}
}
#endif
#ifdef __NETWARE__
/* Increasing stacksize of threads on NetWare */
pthread_attr_setstacksize
(
&
connection_attrib
,
NW_THD_STACKSIZE
);
#endif
thread_stack_min
=
thread_stack
-
STACK_MIN_SIZE
;
(
void
)
thr_setconcurrency
(
concurrency
);
// 10 by default
...
...
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