Merge "prune-trace: use the first write pilot instead of any"

This commit is contained in:
Michael Lenz
2014-01-22 09:58:44 +01:00
committed by Gerrit Code Review

View File

@ -35,6 +35,7 @@ bool BasicPruner::prune_all() {
" data_address, width, " << m_method_id << " "
"FROM trace "
"WHERE variant_id = " << row[0] << " AND accesstype = 'W' "
"ORDER BY instr2 ASC "
"LIMIT 1";
if (!db->query(ss.str().c_str())) return false;
ss.str("");