[PHP-DOC] cvs: phpdoc /en/reference/pdo/functions PDOStatement-closeCursor.xml PDOStatement-getColumnMeta.xml
dbs Tue Feb 21 16:45:06 2006 UTC Modified files: /phpdoc/en/reference/pdo/functions PDOStatement-closeCursor.xml PDOStatement-getColumnMeta.xml Log: Apply Kohei Yoshida's patch for correct entities inside comments. http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml diff -u phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml:1.5 phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml:1.6 --- phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml:1.5 Sun Nov 27 06:45:14 2005 +++ phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml Tue Feb 21 16:45:06 2006 @@ -1,5 +1,5 @@ - + @@ -67,7 +67,7 @@ &Version; - &Description + &Description; http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/pdo/functions/PDOStatement-getColumnMeta.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/pdo/functions/PDOStatement-getColumnMeta.xml diff -u phpdoc/en/reference/pdo/functions/PDOStatement-getColumnMeta.xml:1.3 phpdoc/en/reference/pdo/functions/PDOStatement-getColumnMeta.xml:1.4 --- phpdoc/en/reference/pdo/functions/PDOStatement-getColumnMeta.xml:1.3 Tue Sep 20 08:22:29 2005 +++ phpdoc/en/reference/pdo/functions/PDOStatement-getColumnMeta.xmlTue Feb 21 16:45:06 2006 @@ -1,5 +1,5 @@ - + @@ -124,7 +124,7 @@ &Version; - &Description + &Description;
[PHP-DOC] cvs: phpdoc /en/reference/pdo/functions PDOStatement-closeCursor.xml
dbs Sun Nov 27 01:45:15 2005 EDT Modified files: /phpdoc/en/reference/pdo/functions PDOStatement-closeCursor.xml Log: Typo -- should create a new, second statement object in example. http://cvs.php.net/diff.php/phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml diff -u phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml:1.4 phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml:1.5 --- phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml:1.4 Sun Sep 11 02:22:26 2005 +++ phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml Sun Nov 27 01:45:14 2005 @@ -1,5 +1,5 @@ - + @@ -103,7 +103,7 @@ $stmt = $dbh->prepare('SELECT foo FROM bar'); /* Create a second PDOStatement object */ -$stmt = $dbh->prepare('SELECT foobaz FROM foobar'); +$otherStmt = $dbh->prepare('SELECT foobaz FROM foobar'); /* Execute the first statement */ $stmt->execute();
[PHP-DOC] cvs: phpdoc /en/reference/pdo/functions PDOStatement-closeCursor.xml
dbs Sun Jul 10 23:28:34 2005 EDT Modified files: /phpdoc/en/reference/pdo/functions PDOStatement-closeCursor.xml Log: More guidance on when closeCursor() is useful. http://cvs.php.net/diff.php/phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml diff -u phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml:1.1 phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml:1.2 --- phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml:1.1 Sat Jul 9 01:19:02 2005 +++ phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml Sun Jul 10 23:28:34 2005 @@ -1,5 +1,5 @@ - + @@ -19,15 +19,19 @@ PDOStatement::closeCursor frees up the connection - to the server so that other queries may be issued, but leaves the + to the server so that other SQL statements may be issued, but leaves the statement in a state that enables it to be executed again. - 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. + This method is useful for database drivers that do not support executing + a PDOStatement object when a previously executed PDOStatement object still + has unfetched rows. If your database driver suffers from this limitation, + the problem may manifest itself in an out-of-sequence error. + PDOStatement::closeCursor 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: @@ -39,6 +43,7 @@ if (!$stmt->nextRowset()) break; } while (true); +?> ]]> @@ -79,38 +84,46 @@ --> - - - &reftitle.seealso;