Basically it wants a non-empty catch statement

Co-authored-by: Austin Huang <im@austinhuang.me>
This commit is contained in:
El RIDO 2022-01-24 21:36:18 +01:00 committed by GitHub
parent 0b6af67b99
commit b8e8755fb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -833,7 +833,9 @@ class Database extends AbstractData
begin begin
execute immediate \'create index "comment_parent" on "' . self::_sanitizeIdentifier('comment') . '" ("pasteid")\'; execute immediate \'create index "comment_parent" on "' . self::_sanitizeIdentifier('comment') . '" ("pasteid")\';
exception exception
end' when already_exists or columns_indexed then
NULL;
end;'
); );
} else { } else {
self::$_db->exec( self::$_db->exec(