about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rwxr-xr-xtools/klee-stats/klee-stats2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/klee-stats/klee-stats b/tools/klee-stats/klee-stats
index f68502f0..7bc1fef6 100755
--- a/tools/klee-stats/klee-stats
+++ b/tools/klee-stats/klee-stats
@@ -209,7 +209,7 @@ def grafana(dirs, host_address, port):
     @app.route('/search', methods=['GET', 'POST'])
     def search():
         conn = sqlite3.connect(dr)
-        cursor = conn.execute('SELECT * FROM stats')
+        cursor = conn.execute('SELECT * FROM stats LIMIT 1')
         names = [description[0] for description in cursor.description]
         return jsonify(names)