mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-12-24 06:49:29 -05:00
Basically it wants a non-empty catch statement
Co-authored-by: Austin Huang <im@austinhuang.me>
This commit is contained in:
parent
0b6af67b99
commit
b8e8755fb1
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user