summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/mysql_statement.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2005-07-09 03:52:41 +0000
committerWez Furlong <wez@php.net>2005-07-09 03:52:41 +0000
commitd3b653e97b5e226f1f3fad86bb5359557e06f875 (patch)
tree003300d7035caeb19e327722d965aa70d043652b /ext/pdo_mysql/mysql_statement.c
parent5fe5da90ea7bb3c5f88a9a077f09b18b681371aa (diff)
downloadphp-git-d3b653e97b5e226f1f3fad86bb5359557e06f875.tar.gz
Added:
proto bool PDOStatement::closeCursor() Closes the cursor, leaving the statement ready for re-execution. The purpose of the function is to free up the connection to the server so that other queries may be issued, but leaving the statement in a state that it can be re-executed. This is implemented either as an optional driver specific method (allowing for maximum efficiency), or as the generic PDO fallback if no driver specific function is installed. The PDO generic fallback is semantically the same as writing the following code in your PHP script: do { while ($stmt->fetch()) ; if (!$stmt->nextRowset()) break; } while (true);
Diffstat (limited to 'ext/pdo_mysql/mysql_statement.c')
0 files changed, 0 insertions, 0 deletions