clarify that it is only unsupported by Oracle MySQL, while supported in MariaDB, Postgres, SQLite, ...

pull/945/head
El RIDO 2022-06-29 22:25:54 +02:00
parent 4ad4aed875
commit e6d606ba88
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92
1 changed files with 2 additions and 2 deletions

View File

@ -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 "' .