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
82767a0a
Commit
82767a0a
authored
Oct 04, 2007
by
joerg@trift2
Browse files
Options
Browse Files
Download
Plain Diff
Merge trift2.:/MySQL/M50/mysql-5.0
into trift2.:/MySQL/M50/push-5.0
parents
583a3ef3
6515a7f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
ndb/test/ndbapi/testScanFilter.cpp
ndb/test/ndbapi/testScanFilter.cpp
+7
-5
No files found.
ndb/test/ndbapi/testScanFilter.cpp
View file @
82767a0a
...
@@ -772,18 +772,20 @@ void ndbapi_tuples(Ndb *ndb, char *str, bool *res)
...
@@ -772,18 +772,20 @@ void ndbapi_tuples(Ndb *ndb, char *str, bool *res)
* str: a random string of scan opearation and condition
* str: a random string of scan opearation and condition
* return: true stands for ndbapi ok, false stands for ndbapi failed
* return: true stands for ndbapi ok, false stands for ndbapi failed
*/
*/
template
class
Vector
<
bool
>;
bool
compare_cal_ndb
(
char
*
str
,
Ndb
*
ndb
)
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
++
)
for
(
int
i
=
0
;
i
<
TUPLE_NUM
;
i
++
)
{
{
res_cal
[
i
]
=
false
;
res_cal
.
push_back
(
false
)
;
res_ndb
[
i
]
=
false
;
res_ndb
.
push_back
(
false
)
;
}
}
check_all_tuples
(
str
,
res_cal
);
check_all_tuples
(
str
,
res_cal
.
getBase
()
);
ndbapi_tuples
(
ndb
,
str
,
res_ndb
);
ndbapi_tuples
(
ndb
,
str
,
res_ndb
.
getBase
()
);
for
(
int
i
=
0
;
i
<
TUPLE_NUM
;
i
++
)
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