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
6d6d0d98
Commit
6d6d0d98
authored
Sep 06, 2002
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some warning fixes
parent
71257043
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
+10
-9
myisam/rt_test.c
myisam/rt_test.c
+3
-5
myisam/sp_key.c
myisam/sp_key.c
+2
-1
myisam/sp_test.c
myisam/sp_test.c
+5
-3
No files found.
myisam/rt_test.c
View file @
6d6d0d98
...
...
@@ -32,7 +32,7 @@ static void print_record(char * record,my_off_t offs,const char * tail);
static
int
run_test
(
const
char
*
filename
);
int
main
(
int
argc
,
char
*
argv
[]
)
int
main
(
int
argc
__attribute__
((
unused
)),
char
*
argv
[]
__attribute__
((
unused
))
)
{
MY_INIT
(
argv
[
0
]);
exit
(
run_test
(
"rt_test"
));
...
...
@@ -199,7 +199,6 @@ int run_test(const char *filename)
}
}
/*
if
(
!
silent
)
printf
(
"- Updating rows with position
\n
"
);
...
...
@@ -227,8 +226,6 @@ int run_test(const char *filename)
}
}
*/
if
((
error
=
read_with_pos
(
file
,
silent
)))
goto
err
;
...
...
@@ -343,7 +340,8 @@ static int read_with_pos (MI_INFO * file,int silent)
}
static
void
bprint_record
(
char
*
record
,
my_off_t
offs
,
const
char
*
tail
)
static
void
bprint_record
(
char
*
record
,
my_off_t
offs
__attribute__
((
unused
)),
const
char
*
tail
)
{
int
i
;
char
*
pos
;
...
...
myisam/sp_key.c
View file @
6d6d0d98
...
...
@@ -94,7 +94,8 @@ static int sp_mbr_from_wkb(uchar *wkb, uint size, uint n_dims, double *mbr)
Add one point stored in wkb to mbr
*/
static
int
sp_add_point_to_mbr
(
uchar
*
(
*
wkb
),
uchar
*
end
,
uint
n_dims
,
uchar
byte_order
,
double
*
mbr
)
uchar
byte_order
__attribute__
((
unused
)),
double
*
mbr
)
{
double
ord
;
double
*
mbr_end
=
mbr
+
n_dims
*
2
;
...
...
myisam/sp_test.c
View file @
6d6d0d98
...
...
@@ -41,7 +41,7 @@ static void rtree_PrintWKB(uchar *wkb, uint n_dims);
static
char
blob_key
[
MAX_REC_LENGTH
];
int
main
(
int
argc
,
char
*
argv
[]
)
int
main
(
int
argc
__attribute__
((
unused
)),
char
*
argv
[]
__attribute__
((
unused
))
)
{
MY_INIT
(
argv
[
0
]);
exit
(
run_test
(
"sp_test"
));
...
...
@@ -320,14 +320,16 @@ static int read_with_pos (MI_INFO * file,int silent)
}
static
void
bprint_record
(
char
*
record
,
my_off_t
offs
,
const
char
*
tail
)
static
void
bprint_record
(
char
*
record
,
my_off_t
offs
__attribute__
((
unused
)),
const
char
*
tail
)
{
int
i
;
char
*
pos
;
i
=
(
unsigned
char
)
record
[
0
];
printf
(
"%02X "
,
i
);
for
(
pos
=
record
+
1
,
i
=
0
;
i
<
32
;
i
++
,
pos
++
){
for
(
pos
=
record
+
1
,
i
=
0
;
i
<
32
;
i
++
,
pos
++
)
{
int
b
=
(
unsigned
char
)
*
pos
;
printf
(
"%02X"
,
b
);
}
...
...
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