From e6d606ba8812b9780f8030238bd17901a7b6f81a Mon Sep 17 00:00:00 2001 From: El RIDO Date: Wed, 29 Jun 2022 22:25:54 +0200 Subject: [PATCH] clarify that it is only unsupported by Oracle MySQL, while supported in MariaDB, Postgres, SQLite, ... --- lib/Data/Database.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Data/Database.php b/lib/Data/Database.php index b42c76b..c34ee13 100644 --- a/lib/Data/Database.php +++ b/lib/Data/Database.php @@ -837,7 +837,7 @@ class Database extends AbstractData end;' ); } else { - // CREATE INDEX IF NOT EXISTS not supported as of MySQL <= 8.0 + // CREATE INDEX IF NOT EXISTS not supported as of Oracle MySQL <= 8.0 self::$_db->exec( 'CREATE INDEX "' . self::_sanitizeIdentifier('comment_parent') . '" ON "' . @@ -953,7 +953,7 @@ class Database extends AbstractData self::_sanitizeIdentifier('comment') . '" ("dataid")' ); } - // CREATE INDEX IF NOT EXISTS not supported as of MySQL <= 8.0 + // CREATE INDEX IF NOT EXISTS not supported as of Oracle MySQL <= 8.0 self::$_db->exec( 'CREATE INDEX "' . self::_sanitizeIdentifier('comment_parent') . '" ON "' .