debug the ghttp process
This commit is contained in:
parent
62d97af3d3
commit
d60a03b4bd
|
@ -1433,7 +1433,10 @@ Database::query(const string _query, ResultSet& _result_set, FILE* _fp, bool upd
|
|||
string dictionary_store_path = this->store_path + "/dictionary.dc";
|
||||
|
||||
this->stringindex->SetTrie(this->kvstore->getTrie());
|
||||
GeneralEvaluation general_evaluation(this->vstree, this->kvstore, this->stringindex, this->query_cache, this->pre2num, this->pre2sub, this->pre2obj, this->limitID_predicate, this->limitID_literal, this->limitID_entity);
|
||||
//GeneralEvaluation general_evaluation(this->vstree, this->kvstore, this->stringindex, this->query_cache, this->pre2num,
|
||||
// this->pre2sub, this->pre2obj, this->limitID_predicate, this->limitID_literal, this->limitID_entity);
|
||||
GeneralEvaluation general_evaluation = new GeneralEvaluation(this->vstree, this->kvstore, this->stringindex, this->query_cache, this->pre2num,
|
||||
this->pre2sub, this->pre2obj, this->limitID_predicate, this->limitID_literal, this->limitID_entity);
|
||||
|
||||
long tv_begin = Util::get_cur_time();
|
||||
cout << "lock the query_parse_lock ." << endl;
|
||||
|
|
|
@ -692,6 +692,7 @@ int main(int argc, char* argv[])
|
|||
if (WIFEXITED(status)) {
|
||||
return 0;
|
||||
} else {
|
||||
cout << "Status Code:" << status << endl;
|
||||
cout << "Server stopped abnormally, restarting server..." << endl;
|
||||
//break;
|
||||
}
|
||||
|
|
|
@ -73,7 +73,9 @@ bool GeneralEvaluation::parseQuery(const string& _query)
|
|||
{
|
||||
try
|
||||
{
|
||||
|
||||
printf("begin parse query");
|
||||
fflush(stdout);
|
||||
this->query_parser.SPARQLParse(_query, this->query_tree);
|
||||
}
|
||||
catch (const char* e)
|
||||
|
|
Loading…
Reference in New Issue