Commit 4303dcda authored by Brtle's avatar Brtle Committed by Jan Becker
Browse files

[scamp] Fix SQL query (#122)

Make the query work with PostgreSQL.
parent bf0c1115
......@@ -300,7 +300,7 @@ bool AmpTool::run() {
if ( endTime.valid() )
dbQuery += " and Pick." + _T("time_value") + "<'" + endTime.toString("%F %T") + "'";
dbQuery += " group by Amplitude." + _T("pickID");
dbQuery += " group by PPick." + _T("publicID") + ", Pick._oid";
if ( !commandline().hasOption("commit") )
_testMode = true;
......
Supports Markdown
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