mysqli::release_savepoint

mysqli_release_savepoint

(PHP 5 >= 5.5.0, PHP 7, PHP 8)

mysqli::release_savepoint -- mysqli_release_savepointRemoves the named savepoint from the set of savepoints of the current transaction

Description

Object-oriented style

public mysqli::release_savepoint(string $name): bool

Procedural style:

mysqli_release_savepoint(mysqli $mysql, string $name): bool

This function is identical to executing $mysqli->query("RELEASE SAVEPOINT `$name`");. This function does not trigger commit or rollback.

Parameters

mysql

Procedural style only: A mysqli object returned by mysqli_connect() or mysqli_init()

name

The identifier of the savepoint.

Return Values

Returns true on success or false on failure.

See Also