Skip to content

Commit 481d65f

Browse files
committed
Merge pull request #36 from spilgames/thijsdezoete-patch-1
quickfix #35
2 parents 9de67b5 + 78c8538 commit 481d65f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql_statsd/preprocessors/innodb_preprocessor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def process_line(self, line):
204204
# Purge done for trx's n:o < 861B135D undo n:o < 0
205205
if innorow[7] == 'undo':
206206
innorow[7] = 0
207-
self.tmp_stats['unpurged_txns'] = self.tmp_stats['innodb_transactions'] - self.make_bigint(innorow[6], innorow[7])
207+
self.tmp_stats['unpurged_txns'] = int(self.tmp_stats['innodb_transactions']) - self.make_bigint(innorow[6], innorow[7])
208208

209209
elif line.startswith('History list length'):
210210
# History list length 132

0 commit comments

Comments
 (0)