Stray semicolon causes SQL error
also normalized space around '='
This commit is contained in:
parent
de3e7784d5
commit
d0ce4904ff
|
@ -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`)"
|
||||
|
|
Loading…
Reference in New Issue