shrink-ibdata1 icon indicating copy to clipboard operation
shrink-ibdata1 copied to clipboard

Observed failure at this point

Open nitinthewiz opened this issue 5 years ago • 0 comments

https://github.com/uberhacker/shrink-ibdata1/blob/48bb09a46a171d134deefd82fa6c2099e4ca47dc/shrink#L344

The entire script works perfectly, but I just shrunk my ibdata file from 5.5 GB to 550 MB and the script crapped out with this error - Size of /var/lib/mysql/ibdata1 before shrinking: 5.5G ./shrink: line 344: "5761040"-"575492": syntax error: operand expected (error token is ""5761040"-"575492"")

Now that it matters! Excellent work on the script! 👍

nitinthewiz avatar Dec 26 '18 20:12 nitinthewiz