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
c1946a59
Commit
c1946a59
authored
Mar 27, 2007
by
jonas@perch.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb -
remove compiler warning/error
parent
050dcdee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
storage/ndb/test/ndbapi/testScanFilter.cpp
storage/ndb/test/ndbapi/testScanFilter.cpp
+7
-5
No files found.
storage/ndb/test/ndbapi/testScanFilter.cpp
View file @
c1946a59
...
...
@@ -765,18 +765,20 @@ void ndbapi_tuples(Ndb *ndb, char *str, bool *res)
* str: a random string of scan opearation and condition
* return: true stands for ndbapi ok, false stands for ndbapi failed
*/
template
class
Vector
<
bool
>;
bool
compare_cal_ndb
(
char
*
str
,
Ndb
*
ndb
)
{
bool
res_cal
[
TUPLE_NUM
],
res_ndb
[
TUPLE_NUM
];
Vector
<
bool
>
res_cal
;
Vector
<
bool
>
res_ndb
;
for
(
int
i
=
0
;
i
<
TUPLE_NUM
;
i
++
)
{
res_cal
[
i
]
=
false
;
res_ndb
[
i
]
=
false
;
res_cal
.
push_back
(
false
)
;
res_ndb
.
push_back
(
false
)
;
}
check_all_tuples
(
str
,
res_cal
);
ndbapi_tuples
(
ndb
,
str
,
res_ndb
);
check_all_tuples
(
str
,
res_cal
.
getBase
()
);
ndbapi_tuples
(
ndb
,
str
,
res_ndb
.
getBase
()
);
for
(
int
i
=
0
;
i
<
TUPLE_NUM
;
i
++
)
{
...
...
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