DRESSIPI BUILD #2; some queries are hardcoded + bug fixes (still in progress)

This commit is contained in:
Marko Budiselic
2016-11-29 14:08:29 +01:00
parent 21788d003a
commit 5eb90f9e52
20 changed files with 834 additions and 18 deletions

View File

@@ -33,10 +33,11 @@ public:
"Unable to execute query (executor returned false)");
}
return result;
} catch (CypherLexicalError &e) {
logger.error("CypherLexicalError: {}", std::string(e.what()));
throw e;
} catch (QueryEngineException &e) {
// in this case something fatal went wrong
logger.error("QueryEngineException: {}", std::string(e.what()));
// return false;
throw e;
} catch (std::exception &e) {
throw e;

View File

@@ -46,7 +46,7 @@ std::string code_line(const std::string &format_str, const Args &... args)
}
using name_properties_t = std::vector<std::pair<std::string, Property>>;
using indices_t = std::map<std::string, int>;
using indices_t = std::map<std::string, long>;
auto query_properties(indices_t &indices, properties_t &values)
{