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
fc82d334
Commit
fc82d334
authored
Mar 14, 2006
by
osku
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation problem with non-C99 compilers in btr0sea.c.
parent
675d29fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
btr/btr0sea.c
btr/btr0sea.c
+2
-1
No files found.
btr/btr0sea.c
View file @
fc82d334
...
@@ -1604,12 +1604,13 @@ btr_search_validate(void)
...
@@ -1604,12 +1604,13 @@ btr_search_validate(void)
mem_heap_t
*
heap
=
NULL
;
mem_heap_t
*
heap
=
NULL
;
ulint
offsets_
[
REC_OFFS_NORMAL_SIZE
];
ulint
offsets_
[
REC_OFFS_NORMAL_SIZE
];
ulint
*
offsets
=
offsets_
;
ulint
*
offsets
=
offsets_
;
*
offsets_
=
(
sizeof
offsets_
)
/
sizeof
*
offsets_
;
/* How many cells to check before temporarily releasing
/* How many cells to check before temporarily releasing
btr_search_latch. */
btr_search_latch. */
ulint
chunk_size
=
10000
;
ulint
chunk_size
=
10000
;
*
offsets_
=
(
sizeof
offsets_
)
/
sizeof
*
offsets_
;
rw_lock_x_lock
(
&
btr_search_latch
);
rw_lock_x_lock
(
&
btr_search_latch
);
cell_count
=
hash_get_n_cells
(
btr_search_sys
->
hash_index
);
cell_count
=
hash_get_n_cells
(
btr_search_sys
->
hash_index
);
...
...
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