Skip to content

Parse error of SHOW ENGINE INNODB STATUS #1

@towolf

Description

@towolf

Not sure why I got this, but I have this line which cannot be parsed:

 ibuf aio reads:, log i/o's:, sync i/o's:

There are no digits.

Added this for now:

@@ -436,6 +436,8 @@

     for line in status.split("\n"):
         line = line.strip()
+        if line.find("ibuf aio reads:,") != -1:
+            line  = re.sub(r':', ': 0', line)
         row  = re.split(r' +', re.sub(r'[,;] ', ' ', line))
         if line == '': continue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions