help develop
This commit is contained in:
parent
18077e263c
commit
d03c79ad8c
|
@ -1707,6 +1707,9 @@ Database::join(vector<int*>& _result_list, int _var_id, int _pre_id, \
|
|||
itr_result[_var_num] = -1;
|
||||
continue;
|
||||
}
|
||||
#ifdef DEBUG
|
||||
printf("id_list size and can_list size: %d\t%d\n", id_list_len, _can_list.size());
|
||||
#endif
|
||||
// cout << "\t\tid_list_len: " << id_list_len << endl << "\t\t";
|
||||
// for(int i = 0; i < id_list_len; i ++){
|
||||
// cout << "[" << id_list[i] << "] ";
|
||||
|
@ -1724,7 +1727,7 @@ Database::join(vector<int*>& _result_list, int _var_id, int _pre_id, \
|
|||
|
||||
bool no_any_match_yet = true;
|
||||
stringstream _tmp_ss;
|
||||
for (int i = 0; i < id_list_len; i++)
|
||||
for(int i = 0; i < id_list_len; i++)
|
||||
{
|
||||
bool found_in_id_list = _can_list.bsearch_uporder(id_list[i]) >= 0;
|
||||
bool should_add_this_literal = shouldAddLiteral && !this->objIDIsEntityID(id_list[i]);
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#define STREAM_ON 1
|
||||
#define READLINE_ON 1
|
||||
//indicate that in debug mode
|
||||
//#define DEBUG 1 //set this if any debug, except DEBUG_PRECISE
|
||||
#define DEBUG 1 //set this if any debug, except DEBUG_PRECISE
|
||||
//#define DEBUG_PRECISE 1 //all information
|
||||
//#define DEBUG_KVSTORE 1 //in KVstore
|
||||
//#define DEBUG_DATABASE 1 //in Database
|
||||
|
|
Loading…
Reference in New Issue