Skip to content

Commit

Permalink
else
Browse files Browse the repository at this point in the history
  • Loading branch information
joente committed Jun 1, 2023
1 parent bb8bf47 commit fe5260c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/check/innodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,10 @@ def get_stats_from_innodb_status(innodb_status_text):
innodb_buffer_pool_pages_used /
results['buffer_pool_pages_total']
)
else:
# Ensure float
results['buffer_pool_pages_total'] = \
float(results['buffer_pool_pages_total'])

if 'buffer_pool_bytes_used' not in results:
results['buffer_pool_bytes_used'] = \
Expand Down

0 comments on commit fe5260c

Please sign in to comment.