From d0ce4904ff32a178d459de2ab37b1518998d5ba4 Mon Sep 17 00:00:00 2001 From: baffo32 Date: Sat, 24 Oct 2015 17:58:20 -0400 Subject: [PATCH] Stray semicolon causes SQL error also normalized space around '=' --- db/zm_update-1.28.108.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/zm_update-1.28.108.sql b/db/zm_update-1.28.108.sql index b22fccaba..bbdcab32c 100644 --- a/db/zm_update-1.28.108.sql +++ b/db/zm_update-1.28.108.sql @@ -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`)"