PHP mysqli release_savepoint() Method
The PHP mysqli::release_savepoint() / mysqli_release_savepoint() function is used to remove the named savepoint from the set of savepoints of the current transaction. This function is identical to executing $mysqli->query("RELEASE SAVEPOINT `$name`");. This function does not trigger commit or rollback.
Syntax
//Object-oriented style public mysqli::release_savepoint(name) //Procedural style mysqli_release_savepoint(mysql, name)
Parameters
mysql |
Required. For procedural style only: Specify a mysqli object returned by mysqli_connect() or mysqli_init(). |
name |
Required. Specify the identifier of the savepoint. |
Return Value
Returns true on success or false on failure.
❮ PHP MySQLi Reference