Documentation Home
Connectors and APIs Manual
Download this Manual

Connectors and APIs Manual  /  ...  /  mysqli::release_savepoint, mysqli_release_savepoint

7.3.8.43 mysqli::release_savepoint, mysqli_release_savepoint

Copyright 1997-2021 the PHP Documentation Group.

  • mysqli::release_savepoint

    mysqli_release_savepoint

    Removes the named savepoint from the set of savepoints of the current transaction

Description

Object oriented style

public bool mysqli::release_savepoint(string name);

Procedural style:

bool mysqli_release_savepoint(mysqli mysql,
                              string name);

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

Parameters

link

Procedural style only: A link identifier 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

mysqli_savepoint