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
4ee9e066
Commit
4ee9e066
authored
Aug 23, 2021
by
Eugene Kosov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix clang build
parent
ca894897
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
storage/maria/ma_rt_test.c
storage/maria/ma_rt_test.c
+0
-3
storage/myisam/rt_test.c
storage/myisam/rt_test.c
+0
-3
No files found.
storage/maria/ma_rt_test.c
View file @
4ee9e066
...
...
@@ -133,7 +133,6 @@ static int run_test(const char *filename)
int
key_length
=
8
;
int
null_fields
=
0
;
int
nrecords
=
sizeof
(
rt_data
)
/
(
sizeof
(
double
)
*
4
);
/* 40 */
int
rec_length
=
0
;
int
uniques
=
0
;
int
i
,
max_i
;
int
error
;
...
...
@@ -153,7 +152,6 @@ static int run_test(const char *filename)
recinfo
[
0
].
type
=
FIELD_NORMAL
;
recinfo
[
0
].
length
=
1
;
/* For NULL bits */
rec_length
=
1
;
/* Define 2*ndims columns for coordinates*/
...
...
@@ -161,7 +159,6 @@ static int run_test(const char *filename)
{
recinfo
[
i
].
type
=
FIELD_NORMAL
;
recinfo
[
i
].
length
=
key_length
;
rec_length
+=
key_length
;
}
/* Define a key with 2*ndims segments */
...
...
storage/myisam/rt_test.c
View file @
4ee9e066
...
...
@@ -103,7 +103,6 @@ static int run_test(const char *filename)
int
key_length
=
8
;
int
null_fields
=
0
;
int
nrecords
=
sizeof
(
rt_data
)
/
(
sizeof
(
double
)
*
4
);
/* 3000;*/
int
rec_length
=
0
;
int
uniques
=
0
;
int
i
,
max_i
;
int
error
;
...
...
@@ -123,14 +122,12 @@ static int run_test(const char *filename)
recinfo
[
0
].
type
=
FIELD_NORMAL
;
recinfo
[
0
].
length
=
1
;
/* For NULL bits */
rec_length
=
1
;
/* Define 2*ndims columns for coordinates*/
for
(
i
=
1
;
i
<=
2
*
ndims
;
i
++
){
recinfo
[
i
].
type
=
FIELD_NORMAL
;
recinfo
[
i
].
length
=
key_length
;
rec_length
+=
key_length
;
}
/* Define a key with 2*ndims segments */
...
...
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