Skip to content

Commit 2e01c99

Browse files
committed
Merge remote-tracking branch 'origin/main' into feat-multi-tenant-insert
2 parents 339447d + 65dc514 commit 2e01c99

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Database/Adapter/MariaDB.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -797,8 +797,7 @@ public function createIndex(string $collection, string $id, string $type, array
797797
->prepare($sql)
798798
->execute();
799799
} catch (PDOException $e) {
800-
$this->processException($e);
801-
return false;
800+
throw $this->processException($e);
802801
}
803802
}
804803

src/Database/Adapter/Postgres.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -851,8 +851,7 @@ public function createIndex(string $collection, string $id, string $type, array
851851
->prepare($sql)
852852
->execute();
853853
} catch (PDOException $e) {
854-
$this->processException($e);
855-
return false;
854+
throw $this->processException($e);
856855
}
857856
}
858857

0 commit comments

Comments
 (0)