Просмотр исходного кода

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

El RIDO 4 лет назад
Родитель
Сommit
e6d606ba88
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      lib/Data/Database.php

+ 2 - 2
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 "' .