Added missing end quote on query used for inspectdb management command, refs http://bugs.mysql.com/bug.php?id=72391