Code Duplication    Length = 8-8 lines in 2 locations

src/database/Postgres.php 2 locations

@@ 2561-2568 (lines=8) @@
2558
            }
2559
        }
2560
2561
        if ($comment_sql != '') {
2562
            $status = $this->execute($comment_sql);
2563
            if ($status) {
2564
                $this->rollbackTransaction();
2565
2566
                return -1;
2567
            }
2568
        }
2569
2570
        return $this->endTransaction();
2571
    }
@@ 6081-6088 (lines=8) @@
6078
            }
6079
        }
6080
6081
        if ($comment_sql != '') {
6082
            $status = $this->execute($comment_sql);
6083
            if ($status) {
6084
                $this->rollbackTransaction();
6085
6086
                return -1;
6087
            }
6088
        }
6089
6090
        return $this->endTransaction();
6091
    }