From 12b98c895f2bac07e3407c5bd07b04649d283cc0 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Mon, 24 Feb 2020 16:21:37 +0000 Subject: [klee-stats] Grafana: Limit number of entries to query for column names --- tools/klee-stats/klee-stats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit 1.4.1