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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
8c7dc101
Commit
8c7dc101
authored
Aug 22, 2011
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql-5.1 to mysql-5.5.
parents
88609db5
06cdf087
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
extra/innochecksum.c
extra/innochecksum.c
+1
-7
storage/innobase/sync/sync0sync.c
storage/innobase/sync/sync0sync.c
+7
-1
No files found.
extra/innochecksum.c
View file @
8c7dc101
...
@@ -25,12 +25,7 @@
...
@@ -25,12 +25,7 @@
Published with a permission.
Published with a permission.
*/
*/
/* needed to have access to 64 bit file functions */
#include <my_global.h>
#define _LARGEFILE_SOURCE
#define _LARGEFILE64_SOURCE
#define _XOPEN_SOURCE 500
/* needed to include getopt.h on some platforms. */
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <time.h>
#include <time.h>
...
@@ -53,7 +48,6 @@
...
@@ -53,7 +48,6 @@
/* another argument to specify page ranges... seek to right spot and go from there */
/* another argument to specify page ranges... seek to right spot and go from there */
typedef
unsigned
long
int
ulint
;
typedef
unsigned
long
int
ulint
;
typedef
unsigned
char
uchar
;
/* innodb function in name; modified slightly to not have the ASM version (lots of #ifs that didn't apply) */
/* innodb function in name; modified slightly to not have the ASM version (lots of #ifs that didn't apply) */
ulint
mach_read_from_4
(
uchar
*
b
)
ulint
mach_read_from_4
(
uchar
*
b
)
...
...
storage/innobase/sync/sync0sync.c
View file @
8c7dc101
...
@@ -1329,7 +1329,13 @@ sync_thread_add_level(
...
@@ -1329,7 +1329,13 @@ sync_thread_add_level(
TRUE
));
TRUE
));
break
;
break
;
case
SYNC_IBUF_TREE_NODE_NEW
:
case
SYNC_IBUF_TREE_NODE_NEW
:
ut_a
(
sync_thread_levels_contain
(
array
,
SYNC_IBUF_MUTEX
));
/* ibuf_add_free_page() allocates new pages for the
change buffer while only holding the tablespace
x-latch. These pre-allocated new pages may only be
taken in use while holding ibuf_mutex, in
btr_page_alloc_for_ibuf(). */
ut_a
(
sync_thread_levels_contain
(
array
,
SYNC_IBUF_MUTEX
)
||
sync_thread_levels_contain
(
array
,
SYNC_FSP
));
break
;
break
;
case
SYNC_IBUF_INDEX_TREE
:
case
SYNC_IBUF_INDEX_TREE
:
if
(
sync_thread_levels_contain
(
array
,
SYNC_FSP
))
{
if
(
sync_thread_levels_contain
(
array
,
SYNC_FSP
))
{
...
...
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