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
aa67166e
Commit
aa67166e
authored
Aug 25, 2008
by
Mats Kindahl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eliminating some compiler warnings.
sql/sql_class.h: Adding default return clause.
parent
8b637b28
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
sql/sql_class.h
sql/sql_class.h
+4
-0
No files found.
sql/sql_class.h
View file @
aa67166e
...
...
@@ -1001,6 +1001,7 @@ show_system_thread(enum_thread_type thread)
{
#define RETURN_NAME_AS_STRING(NAME) case (NAME): return #NAME
switch
(
thread
)
{
static
char
buf
[
64
];
RETURN_NAME_AS_STRING
(
NON_SYSTEM_THREAD
);
RETURN_NAME_AS_STRING
(
SYSTEM_THREAD_DELAYED_INSERT
);
RETURN_NAME_AS_STRING
(
SYSTEM_THREAD_SLAVE_IO
);
...
...
@@ -1008,6 +1009,9 @@ show_system_thread(enum_thread_type thread)
RETURN_NAME_AS_STRING
(
SYSTEM_THREAD_NDBCLUSTER_BINLOG
);
RETURN_NAME_AS_STRING
(
SYSTEM_THREAD_EVENT_SCHEDULER
);
RETURN_NAME_AS_STRING
(
SYSTEM_THREAD_EVENT_WORKER
);
default:
sprintf
(
buf
,
"<UNKNOWN SYSTEM THREAD: %d>"
,
thread
);
return
buf
;
}
#undef RETURN_NAME_AS_STRING
}
...
...
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