Skip to content

Commit 87ba712

Browse files
committed
Fix CS
1 parent 615ed83 commit 87ba712

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

system/Database/SQLSRV/Builder.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -635,11 +635,12 @@ protected function _upsertBatch(string $table, array $keys, array $values): stri
635635
$constraints = $this->QBOptions['constraints'] ?? [];
636636

637637
$tableIdentity = $this->QBOptions['tableIdentity'] ?? '';
638-
$sql = "SELECT name from syscolumns where id = Object_ID('" . $table . "') and colstat = 1";
638+
$sql = "SELECT name from syscolumns where id = Object_ID('" . $table . "') and colstat = 1";
639639
if (($query = $this->db->query($sql)) === false) {
640-
throw new DatabaseException('Failed to get table identity');
640+
throw new DatabaseException('Failed to get table identity');
641641
}
642642
$query = $query->getResultObject();
643+
643644
foreach ($query as $row) {
644645
$tableIdentity = '"' . $row->name . '"';
645646
}

0 commit comments

Comments
 (0)