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
9147ad3a
Commit
9147ad3a
authored
Mar 27, 2007
by
jani@ua141d10.elisa.omakaista.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small fixes.
parent
5475e892
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
12 deletions
+8
-12
sql/mysqld.cc
sql/mysqld.cc
+7
-11
sql/net_serv.cc
sql/net_serv.cc
+1
-1
No files found.
sql/mysqld.cc
View file @
9147ad3a
...
@@ -280,7 +280,11 @@ static TYPELIB tc_heuristic_recover_typelib=
...
@@ -280,7 +280,11 @@ static TYPELIB tc_heuristic_recover_typelib=
};
};
static
const
char
*
thread_handling_names
[]
=
static
const
char
*
thread_handling_names
[]
=
{
"one-thread-per-connection"
,
"no-threads"
,
"pool-of-threads"
,
NullS
};
{
"one-thread-per-connection"
,
"no-threads"
,
#if HAVE_POOL_OF_THREADS == 1
"pool-of-threads"
,
#endif
NullS
};
TYPELIB
thread_handling_typelib
=
TYPELIB
thread_handling_typelib
=
{
{
...
@@ -7860,16 +7864,8 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
...
@@ -7860,16 +7864,8 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
break
;
break
;
case
OPT_THREAD_HANDLING
:
case
OPT_THREAD_HANDLING
:
{
{
if
((
global_system_variables
.
thread_handling
=
global_system_variables
.
thread_handling
=
find_type
(
argument
,
&
thread_handling_typelib
,
2
))
<=
0
||
find_type_or_exit
(
argument
,
&
thread_handling_typelib
,
opt
->
name
);
(
global_system_variables
.
thread_handling
==
SCHEDULER_POOL_OF_THREADS
&&
!
HAVE_POOL_OF_THREADS
))
{
/* purecov: begin tested */
fprintf
(
stderr
,
"Unknown/unsupported thread-handling: %s
\n
"
,
argument
);
exit
(
1
);
/* purecov: end */
}
break
;
break
;
}
}
case
OPT_FT_BOOLEAN_SYNTAX
:
case
OPT_FT_BOOLEAN_SYNTAX
:
...
...
sql/net_serv.cc
View file @
9147ad3a
...
@@ -298,7 +298,7 @@ void net_clear(NET *net, my_bool clear_buffer)
...
@@ -298,7 +298,7 @@ void net_clear(NET *net, my_bool clear_buffer)
{
{
DBUG_PRINT
(
"info"
,(
"skipped %d bytes from file: %s"
,
DBUG_PRINT
(
"info"
,(
"skipped %d bytes from file: %s"
,
count
,
vio_description
(
net
->
vio
)));
count
,
vio_description
(
net
->
vio
)));
#if defined(EXTRA_DEBUG) && (MYSQL_VERSION_ID < 5
10
00)
#if defined(EXTRA_DEBUG) && (MYSQL_VERSION_ID < 5
01
00)
fprintf
(
stderr
,
"Error: net_clear() skipped %d bytes from file: %s
\n
"
,
fprintf
(
stderr
,
"Error: net_clear() skipped %d bytes from file: %s
\n
"
,
count
,
vio_description
(
net
->
vio
));
count
,
vio_description
(
net
->
vio
));
#endif
#endif
...
...
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