Below is the list of changes that have just been committed into a local
5.0 repository of ndbdev. When ndbdev does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2007-10-02 21:21:45+02:00, jmiller@stripped +1 -0
testScanFilter.cpp:
Updated variable size arrays to use vector like Jonas did for 5.1 so that my build would not break
ndb/test/ndbapi/testScanFilter.cpp@stripped, 2007-10-02 21:21:37+02:00, jmiller@stripped +7 -5
Updated variable size arrays to use vector like Jonas did for 5.1 so that my build would not break
diff -Nrup a/ndb/test/ndbapi/testScanFilter.cpp b/ndb/test/ndbapi/testScanFilter.cpp
--- a/ndb/test/ndbapi/testScanFilter.cpp 2007-08-01 04:56:48 +02:00
+++ b/ndb/test/ndbapi/testScanFilter.cpp 2007-10-02 21:21:37 +02:00
@@ -772,18 +772,20 @@ void ndbapi_tuples(Ndb *ndb, char *str,
* 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++)
{
| Thread |
|---|
| • bk commit into 5.0 tree (jmiller:1.2533) | jmiller | 2 Oct |