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
f4b6234c
Commit
f4b6234c
authored
Oct 04, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge trift2.:/MySQL/M50/mysql-5.0
into trift2.:/MySQL/M50/push-5.0
parents
61e8c538
019c20bf
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 @
f4b6234c
...
...
@@ -772,18 +772,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