Merge "prune-trace: use the first write pilot instead of any"
This commit is contained in:
@ -35,6 +35,7 @@ bool BasicPruner::prune_all() {
|
|||||||
" data_address, width, " << m_method_id << " "
|
" data_address, width, " << m_method_id << " "
|
||||||
"FROM trace "
|
"FROM trace "
|
||||||
"WHERE variant_id = " << row[0] << " AND accesstype = 'W' "
|
"WHERE variant_id = " << row[0] << " AND accesstype = 'W' "
|
||||||
|
"ORDER BY instr2 ASC "
|
||||||
"LIMIT 1";
|
"LIMIT 1";
|
||||||
if (!db->query(ss.str().c_str())) return false;
|
if (!db->query(ss.str().c_str())) return false;
|
||||||
ss.str("");
|
ss.str("");
|
||||||
|
|||||||
Reference in New Issue
Block a user