Stray semicolon causes SQL error

also normalized space around '='
This commit is contained in:
baffo32 2015-10-24 17:58:20 -04:00
parent de3e7784d5
commit d0ce4904ff
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ SET @s = (SELECT IF(
FROM INFORMATION_SCHEMA.STATISTICS
WHERE table_name = 'Frames'
AND table_schema = DATABASE()
AND index_name='EventId_idx';
AND index_name = 'EventId_idx'
) > 0,
"SELECT 'EventId Index already exists on Frames table'",
"CREATE INDEX `EventId_idx` ON `Frames` (`EventId`)"