Commit 7acf8bc6 authored by Jean-Benoist Leger's avatar Jean-Benoist Leger

Merge branch 'master' of https://gitlab.crans.org/leger/rv

parents 5e1f1977 9e527abd
......@@ -27,8 +27,8 @@ class database
pqxx::connection dbw;
database(const std::string & s_filename,unsigned int jid_i) : db(s_filename),txn(db),dbw(s_filename),jid(jid_i) {
db.prepare("get_node","SELECT ST_X(geom),ST_Y(geom),height FROM rv_nodes WHERE id=$1;")("bigint");
db.prepare("get_adj","SELECT to_id FROM rv_edges WHERE from_id=$1;")("bigint");
db.prepare("get_node","SELECT ST_X(geom),ST_Y(geom),height FROM rv_nodes WHERE id=$1;");
db.prepare("get_adj","SELECT to_id FROM rv_edges WHERE from_id=$1;");
}
......
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