Add a missing space which seemed not to affect PostgreSQL but upsets SQLite.
Showing the changes to tools/perf/scripts/python (1 of 1 file). Show all
Unified · Split
| @@ -160,7 +160,7 @@ class TreeItem(): · 159 unmodified lines | ||
| 160 | 160 | '( SELECT short_name FROM dsos WHERE id = ( SELECT dso_id FROM symbols WHERE id = ( SELECT symbol_id FROM call_paths WHERE id = call_path_id ) ) ), ' |
| 161 | 161 | '( SELECT ip FROM call_paths where id = call_path_id ) ' |
| 162 | 162 | 'FROM calls WHERE parent_call_path_id = ' + str(self.call_path_id) + ' AND comm_id = ' + str(self.comm_id) + ' AND thread_id = ' + str(self.thread_id) + |
| 163 | − 'ORDER BY call_path_id') | |
| 163 | + ' ORDER BY call_path_id') | |
| 164 | 164 | if not ret: |
| 165 | 165 | raise Exception("Query failed: " + query.lastError().text()) |
| 166 | 166 | last_call_path_id = 0 |