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
4ba198c6
Commit
4ba198c6
authored
Sep 04, 2016
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compiler warning
parent
365f199d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
include/my_pthread.h
include/my_pthread.h
+1
-1
storage/maria/ma_extra.c
storage/maria/ma_extra.c
+1
-1
No files found.
include/my_pthread.h
View file @
4ba198c6
...
...
@@ -266,7 +266,7 @@ struct tm *gmtime_r(const time_t *clock, struct tm *res);
#undef pthread_detach_this_thread
#define pthread_detach_this_thread() { pthread_t tmp=pthread_self() ; pthread_detach(&tmp); }
#else
/* HAVE_PTHREAD_ATTR_CREATE && !HAVE_SIGWAIT */
#define HAVE_PTHREAD_KILL
#define HAVE_PTHREAD_KILL
1
#endif
#endif
/* defined(__WIN__) */
...
...
storage/maria/ma_extra.c
View file @
4ba198c6
...
...
@@ -316,10 +316,10 @@ int maria_extra(MARIA_HA *info, enum ha_extra_function function,
/* Fall trough */
case
HA_EXTRA_PREPARE_FOR_RENAME
:
{
DBUG_ASSERT
(
!
share
->
temporary
);
my_bool
do_flush
=
MY_TEST
(
function
!=
HA_EXTRA_PREPARE_FOR_DROP
);
my_bool
save_global_changed
;
enum
flush_type
type
;
DBUG_ASSERT
(
!
share
->
temporary
);
/*
This share, to have last_version=0, needs to save all its data/index
blocks to disk if this is not for a DROP TABLE. Otherwise they would be
...
...
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