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
fbb1e92e
Commit
fbb1e92e
authored
Oct 21, 2021
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-19522 fixup: Integer type mismatch in unit test
parent
1a2308d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
storage/innobase/unittest/innodb_fts-t.cc
storage/innobase/unittest/innodb_fts-t.cc
+2
-2
No files found.
storage/innobase/unittest/innodb_fts-t.cc
View file @
fbb1e92e
...
...
@@ -5,7 +5,7 @@
struct
fts_encode_info
{
const
byte
buf
[
10
];
int32
_t
len
;
size
_t
len
;
doc_id_t
val
;
};
...
...
@@ -40,7 +40,7 @@ int main(int, char**)
{
byte
buf
[
10
];
const
byte
*
fts_buf
=
buf
;
int32
_t
len
=
fts_encode_int
(
fts_info
[
i
].
val
,
buf
)
-
&
buf
[
0
];
size
_t
len
=
fts_encode_int
(
fts_info
[
i
].
val
,
buf
)
-
&
buf
[
0
];
if
(
fts_info
[
i
].
len
==
len
&&
!
memcmp
(
&
fts_info
[
i
].
buf
,
buf
,
len
)
&&
fts_decode_vlc
(
&
fts_buf
)
==
fts_info
[
i
].
val
&&
...
...
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