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
ff537698
Commit
ff537698
authored
Mar 01, 2007
by
jani@a88-113-38-195.elisa-laajakaista.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disabled compiler warnings.
parent
bcbc0031
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
sql/ha_archive.cc
sql/ha_archive.cc
+3
-1
support-files/compiler_warnings.supp
support-files/compiler_warnings.supp
+1
-0
No files found.
sql/ha_archive.cc
View file @
ff537698
...
...
@@ -749,10 +749,12 @@ int ha_archive::write_row(byte *buf)
DBUG_PRINT
(
"archive"
,(
"MyPack is %d
\n
"
,
(
*
field
)
->
data_length
((
char
*
)
buf
+
(
*
field
)
->
offset
())));
if
((
*
field
)
->
real_type
()
==
MYSQL_TYPE_VARCHAR
)
{
#ifndef DBUG_OFF
uint
actual_length
=
(
*
field
)
->
data_length
((
char
*
)
buf
+
(
*
field
)
->
offset
());
IF_DBUG
(
uint
offset
=
)
(
*
field
)
->
offset
()
+
actual_length
+
uint
offset
=
(
*
field
)
->
offset
()
+
actual_length
+
(
actual_length
>
255
?
2
:
1
);
DBUG_PRINT
(
"archive"
,(
"Offset is %d -> %d
\n
"
,
actual_length
,
offset
));
#endif
/*
if ((*field)->pack_length() + (*field)->offset() != offset)
bzero(buf + offset, (size_t)((*field)->pack_length() + (actual_length > 255 ? 2 : 1) - (*field)->data_length));
...
...
support-files/compiler_warnings.supp
View file @
ff537698
...
...
@@ -30,6 +30,7 @@ pars0lex.l: .*conversion from 'ulint' to 'int', possible loss of data.*
.*/bdb/.* : .*empty body in an if-statement.*
.*/bdb/.* : .*conversion from 'u?lint' to 'int', possible loss of data.*
db_vrfy.c : .*comparison is always false due to limited range of data type.*
dbm.c : .*'item.dsize' is used uninitialized in this function.*
#
# Ignore all conversion warnings on windows 64
...
...
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