mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
clarify that it is only unsupported by Oracle MySQL, while supported in MariaDB, Postgres, SQLite, ...
This commit is contained in:
parent
4ad4aed875
commit
e6d606ba88
|
@ -837,7 +837,7 @@ class Database extends AbstractData
|
||||||
end;'
|
end;'
|
||||||
);
|
);
|
||||||
} else {
|
} 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(
|
self::$_db->exec(
|
||||||
'CREATE INDEX "' .
|
'CREATE INDEX "' .
|
||||||
self::_sanitizeIdentifier('comment_parent') . '" ON "' .
|
self::_sanitizeIdentifier('comment_parent') . '" ON "' .
|
||||||
|
@ -953,7 +953,7 @@ class Database extends AbstractData
|
||||||
self::_sanitizeIdentifier('comment') . '" ("dataid")'
|
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(
|
self::$_db->exec(
|
||||||
'CREATE INDEX "' .
|
'CREATE INDEX "' .
|
||||||
self::_sanitizeIdentifier('comment_parent') . '" ON "' .
|
self::_sanitizeIdentifier('comment_parent') . '" ON "' .
|
||||||
|
|
Loading…
Reference in New Issue
Block a user