diff --git a/CHANGELOG.MD b/CHANGELOG.MD deleted file mode 100644 index 6c74205..0000000 --- a/CHANGELOG.MD +++ /dev/null @@ -1,8 +0,0 @@ -# Changelog - -## [0.2.0] - 2022-07-26 - -### Added -- Sessions will now print the number of rows obtained from each successfully executed query. -- The tool version is now printed at the beginning of each session to leave a proper trace of what was the running - version for a results file. \ No newline at end of file diff --git a/_version.py b/_version.py index d3ec452..ca70210 100644 --- a/_version.py +++ b/_version.py @@ -1 +1 @@ -__version__ = "0.2.0" +__version__ = "latest" diff --git a/query_performance_gauge.py b/query_performance_gauge.py index 5d00fdf..a93b6a0 100644 --- a/query_performance_gauge.py +++ b/query_performance_gauge.py @@ -61,7 +61,6 @@ def measure_query_runtime( cur = connection.cursor() cur.execute(query_to_measure.query_string) rows = cur.fetchall() - obtained_rows = len(rows) print( - f"Query '{query_to_measure.name}' took {int(time.time() - start_time)} seconds to run and returned {obtained_rows} rows." + f"Query '{query_to_measure.name}' took {int(time.time() - start_time)} seconds to run." )