uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//for (int i = 0; i < TCLISTNUM(q1res); ++i) {
// void *bsdata = TCLISTVALPTR(q1res, i);
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAIN IDX: 'saddress.zip'"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAIN IDX: 'sname'"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAIN IDX: 'NONE'"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAIN IDX: 'NONE'"));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "ORDER FIELDS: 0"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAIN IDX: 'NONE'"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAIN IDX: 'saddress.street'"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAIN IDX: 'NONE'"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
CU_ASSERT_PTR_NOT_NULL_FATAL(q1);
count = 0;
- q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAIN IDX: 'NONE'"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
CU_ASSERT_TRUE(ejdbsetindex(contacts, "name", JBIDXDROPALL));
count = 0;
- q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAIN IDX: 'NONE'"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
CU_ASSERT_TRUE(ejdbsetindex(contacts, "name", JBIDXDROPALL));
count = 0;
- q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
count = 0;
log = tcxstrnew();
- q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
count = 0;
log = tcxstrnew();
- q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
count = 0;
log = tcxstrnew();
- q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
count = 0;
log = tcxstrnew();
- q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
count = 0;
log = tcxstrnew();
- q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "COUNT ONLY: NO"));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAIN IDX: 'NONE'"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAX: 4294967295"));
count = 0;
log = tcxstrnew();
- q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAX: 2"));
count = 0;
log = tcxstrnew();
- q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAX: 2"));
count = 0;
log = tcxstrnew();
- q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAX: 2"));
count = 0;
log = tcxstrnew();
- q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_EQUAL(count, 1);
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAX: 4294967295"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAX: 4294967295"));
count = 0;
log = tcxstrnew();
- q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAX: 4294967295"));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "SKIP: 0"));
count = 0;
log = tcxstrnew();
- q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAX: 4294967295"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAX: 4294967295"));
count = 0;
log = tcxstrnew();
- q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAX: 4294967295"));
count = 0;
log = tcxstrnew();
- q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAX: 4294967295"));
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(contacts, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(contacts, q1, &count, 0, log);
CU_ASSERT_TRUE(count > 0);
//fprintf(stderr, "%s", TCXSTRPTR(log));
TCXSTR *log2 = tcxstrnew();
EJQ *q2 = ejdbcreatequery(jb, &bsq2, NULL, 0, NULL);
- TCLIST *q2res = ejdbqrysearch(contacts, q2, &count, 0, log2);
+ TCLIST *q2res = ejdbqryexecute(contacts, q2, &count, 0, log2);
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log2), "PRIMARY KEY MATCHING:"));
CU_ASSERT_EQUAL(count, 1);
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(coll, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(coll, q1, &count, 0, log);
CU_ASSERT_TRUE(count == 1);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAIN IDX: 'iname'"));
count = 0;
log = tcxstrnew();
- q1res = ejdbqrysearch(coll, q1, &count, 0, log);
+ q1res = ejdbqryexecute(coll, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_TRUE(count == 2);
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log), "MAIN IDX: 'NONE'"));
CU_ASSERT_PTR_NOT_NULL_FATAL(q1);
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(coll, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(coll, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
CU_ASSERT_TRUE_FATAL(count >= onum);
CU_ASSERT_PTR_NOT_NULL_FATAL(q2);
uint32_t count2 = 0;
TCXSTR *log2 = tcxstrnew();
- TCLIST *q2res = ejdbqrysearch(coll, q2, &count2, 0, log2);
+ TCLIST *q2res = ejdbqryexecute(coll, q2, &count2, 0, log2);
//fprintf(stderr, "\n%s", TCXSTRPTR(log2));
CU_ASSERT_TRUE(count2 == 3);
CU_ASSERT_PTR_NOT_NULL(strstr(TCXSTRPTR(log2), "MAIN IDX: 'NONE'"));
CU_ASSERT_PTR_NOT_NULL_FATAL(q1);
uint32_t count = 0;
TCXSTR *log = tcxstrnew();
- TCLIST *q1res = ejdbqrysearch(coll, q1, &count, 0, log);
+ TCLIST *q1res = ejdbqryexecute(coll, q1, &count, 0, log);
//fprintf(stderr, "%s", TCXSTRPTR(log));
// for (int i = 0; i < TCLISTNUM(q1res); ++i) {