Commit f7086bc3 authored by Carla Guillen Carias's avatar Carla Guillen Carias
Browse files

Fixing tabs which were not lined...

parent edfc7d5e
...@@ -206,7 +206,7 @@ bool PerSystDB::getCurrentSuffixAggregateTable(std::string & suffix){ ...@@ -206,7 +206,7 @@ bool PerSystDB::getCurrentSuffixAggregateTable(std::string & suffix){
while((row = result.fetch_row())){ while((row = result.fetch_row())){
if(row[0] && row[1]){ if(row[0] && row[1]){
suffix = std::string(row[0]); suffix = std::string(row[0]);
_current_table_suffix = suffix; _current_table_suffix = suffix;
std::string row1(row[1]); std::string row1(row[1]);
_end_aggregate_timestamp = std::stoull(row1) * 1e9; _end_aggregate_timestamp = std::stoull(row1) * 1e9;
return true; return true;
......
...@@ -195,11 +195,11 @@ void PerSystSqlOperator::compute(U_Ptr unit, qeJobData& jobData) { ...@@ -195,11 +195,11 @@ void PerSystSqlOperator::compute(U_Ptr unit, qeJobData& jobData) {
auto search = job_map.find(job_id_string); auto search = job_map.find(job_id_string);
if(search == job_map.end()){ //Not found if(search == job_map.end()){ //Not found
int job_id_db; int job_id_db;
if(_persystdb->insertIntoJob(job_id_string, jobData.userId, job_id_db, table_suffix)){ if(_persystdb->insertIntoJob(job_id_string, jobData.userId, job_id_db, table_suffix)){
agg_info.job_id_db = std::to_string(job_id_db); agg_info.job_id_db = std::to_string(job_id_db);
} else { //Todo: error message? } else { //Todo: error message?
continue; continue;
} }
} else { //found } else { //found
agg_info.job_id_db = search->second; agg_info.job_id_db = search->second;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment