Code Duplication    Length = 8-8 lines in 2 locations

src/database/Postgres.php 2 locations

@@ 2516-2523 (lines=8) @@
2513
            }
2514
        }
2515
2516
        if ($comment_sql != '') {
2517
            $status = $this->execute($comment_sql);
2518
            if ($status) {
2519
                $this->rollbackTransaction();
2520
2521
                return -1;
2522
            }
2523
        }
2524
2525
        return $this->endTransaction();
2526
    }
@@ 5947-5954 (lines=8) @@
5944
            }
5945
        }
5946
5947
        if ($comment_sql != '') {
5948
            $status = $this->execute($comment_sql);
5949
            if ($status) {
5950
                $this->rollbackTransaction();
5951
5952
                return -1;
5953
            }
5954
        }
5955
5956
        return $this->endTransaction();
5957
    }