DB_common::freePrepared()

DB_common::freePrepared() -- Releases resources associated with a prepared SQL statement

Synopsis

boolean freePrepared (resource $stmt [, boolean $free_resource = true])

Descripción

Removes the memory occupied by the internal notations that keep track of prepared SQL statements. Does not delete the DB_result object itself.

Parámetro

resource $stmt

statement resource identifier returned from prepare()

boolean $free_resource

should the PHP resource be freed too? Use false if you need to get data from the result set later.

Parameter available since Release 1.7.0.

Valor devuelto

boolean - Devuelve TRUE si es exitoso, FALSE si falla.

Nota

Esta función no puede ser llamada estáticamente.

Ejemplo

Ver

prepare(), autoPrepare(), free()