Skip to content

Commit 6d98b54

Browse files
committed
Fix comments mentioning nested transactions
1 parent 034c29b commit 6d98b54

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

wp-includes/sqlite-ast/class-wp-pdo-mysql-on-sqlite.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ function ( string $sql, array $params ) {
685685
}
686686

687687
/**
688-
* PDO API: Begin a new transaction or nested transaction.
688+
* PDO API: Begin a transaction.
689689
*
690690
* @return bool True on success, false on failure.
691691
*/
@@ -708,7 +708,7 @@ public function begin_transaction(): void {
708708
}
709709

710710
/**
711-
* PDO API: Commit the current transaction or nested transaction.
711+
* PDO API: Commit a transaction.
712712
*
713713
* @return bool True on success, false on failure.
714714
*/
@@ -721,7 +721,7 @@ public function commit(): bool {
721721
}
722722

723723
/**
724-
* PDO API: Rollback the current transaction or nested transaction.
724+
* PDO API: Rollback a transaction.
725725
*
726726
* @return bool True on success, false on failure.
727727
*/

0 commit comments

Comments
 (0)