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
31e1b12e
Commit
31e1b12e
authored
Oct 08, 2010
by
Davi Arnaut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#45288: pb2 returns a lot of compilation warnings on linux
Fix assorted compiler warnings.
parent
c57244fb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
7 deletions
+6
-7
sql/mysqld.cc
sql/mysqld.cc
+3
-4
storage/innobase/include/ibuf0ibuf.h
storage/innobase/include/ibuf0ibuf.h
+1
-1
storage/innobase/include/row0row.h
storage/innobase/include/row0row.h
+1
-1
strings/my_vsnprintf.c
strings/my_vsnprintf.c
+1
-1
No files found.
sql/mysqld.cc
View file @
31e1b12e
...
...
@@ -3244,12 +3244,11 @@ static int init_common_variables()
desired page sizes.
*/
int
nelem
;
int
max_desired_page_size
;
int
max_page_size
;
size_t
max_desired_page_size
;
if
(
opt_super_large_pages
)
max_page_size
=
SUPER_LARGE_PAGESIZE
;
max_
desired_
page_size
=
SUPER_LARGE_PAGESIZE
;
else
max_page_size
=
LARGE_PAGESIZE
;
max_
desired_
page_size
=
LARGE_PAGESIZE
;
nelem
=
getpagesizes
(
NULL
,
0
);
if
(
nelem
>
0
)
{
...
...
storage/innobase/include/ibuf0ibuf.h
View file @
31e1b12e
...
...
@@ -43,7 +43,7 @@ typedef enum {
IBUF_OP_DELETE
=
2
,
/* Number of different operation types. */
IBUF_OP_COUNT
=
3
,
IBUF_OP_COUNT
=
3
}
ibuf_op_t
;
/** Combinations of operations that can be buffered. Because the enum
...
...
storage/innobase/include/row0row.h
View file @
31e1b12e
...
...
@@ -267,7 +267,7 @@ enum row_search_result {
secondary index leaf page was not in
the buffer pool, and the operation was
enqueued in the insert/delete buffer */
ROW_NOT_DELETED_REF
,
/*!< BTR_DELETE was specified, and
ROW_NOT_DELETED_REF
/*!< BTR_DELETE was specified, and
row_purge_poss_sec() failed */
};
...
...
strings/my_vsnprintf.c
View file @
31e1b12e
...
...
@@ -513,7 +513,7 @@ static char *process_args(CHARSET_INFO *cs, char *to, char *end,
arg_count
=
max
(
arg_count
,
arg_index
);
goto
start
;
}
DBUG_ASSERT
(
0
);
return
0
;
}
...
...
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