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
510c1238
Commit
510c1238
authored
17 years ago
by
monty@mysql.com/narttu.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Portability fix
Suppress compiler warnings from bdb and (for the moment) warnings from ndb
parent
e5cc397f
Branches unavailable
Tags unavailable
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
client/mysqltest.c
client/mysqltest.c
+1
-1
support-files/compiler_warnings.supp
support-files/compiler_warnings.supp
+14
-0
No files found.
client/mysqltest.c
View file @
510c1238
...
@@ -1864,7 +1864,7 @@ void do_chmod_file(struct st_command *command)
...
@@ -1864,7 +1864,7 @@ void do_chmod_file(struct st_command *command)
die
(
"You must write a 4 digit octal number for mode"
);
die
(
"You must write a 4 digit octal number for mode"
);
DBUG_PRINT
(
"info"
,
(
"chmod %o %s"
,
(
uint
)
mode
,
ds_file
.
str
));
DBUG_PRINT
(
"info"
,
(
"chmod %o %s"
,
(
uint
)
mode
,
ds_file
.
str
));
handle_command_error
(
command
,
chmod
(
ds_file
.
str
,
(
mode_t
)
mode
));
handle_command_error
(
command
,
chmod
(
ds_file
.
str
,
mode
));
dynstr_free
(
&
ds_mode
);
dynstr_free
(
&
ds_mode
);
dynstr_free
(
&
ds_file
);
dynstr_free
(
&
ds_file
);
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
...
...
This diff is collapsed.
Click to expand it.
support-files/compiler_warnings.supp
View file @
510c1238
...
@@ -4,9 +4,23 @@ DbdihMain.cpp : .*unused variable.* : 6666-6705
...
@@ -4,9 +4,23 @@ DbdihMain.cpp : .*unused variable.* : 6666-6705
DbtupExecQuery.cpp : .*unused variable.* : 1448-1449
DbtupExecQuery.cpp : .*unused variable.* : 1448-1449
sql_yacc.cc : .*switch statement contains 'default' but no 'case' labels.*
sql_yacc.cc : .*switch statement contains 'default' but no 'case' labels.*
#
# bdb is not critical to keep up to date
#
.*/bdb/.* : .*discards qualifiers from pointer target type.*
.*/bdb/.* : .*unused parameter.*
.*/bdb/.* : .*may be used uninitialized.*
.*/bdb/.* : .*empty body in an if-statement.*
db_vrfy.c : .*comparison is always false due to limited range of data type.*
#
#
# Ignore all conversion warnings on windows 64
# Ignore all conversion warnings on windows 64
# (Is safe as we are not yet supporting strings >= 2G)
# (Is safe as we are not yet supporting strings >= 2G)
#
#
.* : conversion from 'size_t' to .*int'.*
.* : conversion from 'size_t' to .*int'.*
.* : conversion from '__int64' to .*int'.*
.* : conversion from '__int64' to .*int'.*
#
# The following should be fixed by the ndb team
#
.*/ndb/.* : .*used uninitialized in this function.*
This diff is collapsed.
Click to expand it.
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