#
0730fa2a |
| 10-Sep-2005 |
Wez Furlong |
Add PDOStatement::bindValue(), which is similar to bindParam(), except that it binds the value of the zval at the time it is called, rather than keeping a reference to the zval and taking the
Add PDOStatement::bindValue(), which is similar to bindParam(), except that it binds the value of the zval at the time it is called, rather than keeping a reference to the zval and taking the value at execute() time.
show more ...
|
Revision tags: PRE_NEW_OCI8_EXTENSION, php-5.1.0RC2_PRE, php-5.0.5 |
|
#
248c30da |
| 01-Sep-2005 |
George Schlossnagle |
MFH. Protect against underflow - refs http://pecl.php.net/bugs/bug.php?id=5193 |
Revision tags: php-5.0.5RC2, php-5.0.5RC1, php-5.1.0RC1, BEFORE_UNICODE_MERGE, RELEASE_2_0_0 |
|
#
ecc34bdd |
| 03-Aug-2005 |
Ilia Alshanetsky |
Fixed memory leak. |
#
bf85bf51 |
| 27-Jul-2005 |
Wez Furlong |
add sanity checks |
Revision tags: RELEASE_0_9 |
|
#
d8eece2b |
| 22-Jul-2005 |
Marcus Boerger |
- Add missing part to make colon in parameter binding optional |
#
cfe1dc3b |
| 22-Jul-2005 |
Wez Furlong |
this looks like a much better fix for refcounting/shutdown in lazy objects. |
#
88250311 |
| 22-Jul-2005 |
Wez Furlong |
fix leak (ugh, this nuance gets me every time) |
#
3560bb9c |
| 22-Jul-2005 |
Wez Furlong |
Fixes #33785 for me |
#
be88f5a9 |
| 18-Jul-2005 |
Wez Furlong |
make a start on a debugging function. |
Revision tags: php-5.1.0b3 |
|
#
9240c5f5 |
| 12-Jul-2005 |
Wez Furlong |
remember ? -> :pdox mapping so that binds by position can be mapped to names if required. |
#
664ebfa4 |
| 12-Jul-2005 |
Wez Furlong |
expand oracle null handling compatability by offering the ability to convert NULLs into empty strings as well as the other way around. It still doesn't help a great deal in the long run, but
expand oracle null handling compatability by offering the ability to convert NULLs into empty strings as well as the other way around. It still doesn't help a great deal in the long run, but at least the option is there. Make sure hash tables are nulled out to avoid double freeing them.
show more ...
|
#
b3aa24ff |
| 11-Jul-2005 |
Andrey Hristov |
fix a segfault with the following script: <?php $dbh = new PDO('mysql:dbname=test;host=localhost', "root", "secret"); $what = 1; $stmt = $dbh->prepare('select a, b, c from t123 where
fix a segfault with the following script: <?php $dbh = new PDO('mysql:dbname=test;host=localhost', "root", "secret"); $what = 1; $stmt = $dbh->prepare('select a, b, c from t123 where a=:what'); $stmt->bindParam(1, $what, PDO_PARAM_INT, 12); var_dump($stmt->execute()); var_dump($stmt->fetchObject()); ?>
show more ...
|
Revision tags: php-4.4.0 |
|
#
d3b653e9 |
| 09-Jul-2005 |
Wez Furlong |
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 se
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);
show more ...
|
#
38a02b62 |
| 08-Jul-2005 |
Wez Furlong |
For named-parameter-to-named-parameter rewrites, we need to map the original names to the new names. |
#
8f31f0cf |
| 08-Jul-2005 |
Wez Furlong |
Fix a shutdown order issue I saw in the pgsql driver. Hope this doesn't mess up something in the OCI driver; I think I've been here before. |
#
49c18828 |
| 08-Jul-2005 |
Wez Furlong |
Add a PDO_ATTR_STRINGIFY_FETCHES attribute, which is used to convert integer or floating point values into strings during fetch. This is a compatibility hack for drivers that return native t
Add a PDO_ATTR_STRINGIFY_FETCHES attribute, which is used to convert integer or floating point values into strings during fetch. This is a compatibility hack for drivers that return native types rather than string representations. We use this flag in the test suite to persuade postgres tests to pass.
show more ...
|
#
86028ad1 |
| 07-Jul-2005 |
Ilia Alshanetsky |
Return an empty array rather then FALSE in fetchAll() on no results. |
#
68caaadc |
| 07-Jul-2005 |
Wez Furlong |
Fix bug in bindColumn() for drivers that implement native prepared statements and that use the PDO rewriter to handle non-native parameter syntax. |
#
0eb0b781 |
| 07-Jul-2005 |
Dmitry Stogov |
Fixed memory leaks |
#
d4a15826 |
| 03-Jul-2005 |
Wez Furlong |
Add PDO_FETCH_NAMED; closes PECL #4641 by providing a way to access columns by name, even when multiple columns have the same name: $sql = "SELECT 1 a, 2 a, 3 b, 4 c, 5 d, 6 c, 7 a";
Add PDO_FETCH_NAMED; closes PECL #4641 by providing a way to access columns by name, even when multiple columns have the same name: $sql = "SELECT 1 a, 2 a, 3 b, 4 c, 5 d, 6 c, 7 a"; echo "$sql\n"; print_r($db->query($sql)->fetchAll(PDO_FETCH_NAMED)); Array ( [0] => Array ( [a] => Array ( [0] => 1 [1] => 2 [2] => 7 ) [b] => 3 [c] => Array ( [0] => 4 [1] => 6 ) [d] => 5 ) ) Also added two new attributes for use at prepare time; PDO_ATTR_FETCH_TABLE_NAMES and PDO_ATTR_FETCH_CATALOG_NAMES instruct the driver that the names of the columns that they return to PDO should include the table and catalog names respectively. Both attributes may be used together or independently. The catalog, table and column name components should be separated by a . character.
show more ...
|
#
6fd9e5a6 |
| 02-Jul-2005 |
Ilia Alshanetsky |
Fixed memory leak on PDO_FETCH_OBJ. |
Revision tags: php-4.4.0RC2, php-5.1.0b2, php-4.4.0RC1, php-5.1.0b1, php-5.0.1b1 |
|
#
cf5a6f81 |
| 08-Jun-2005 |
Dmitry Stogov |
Fixed zval_ptr_dtor(&return_value) on uninicialized zval |
#
def27b99 |
| 17-May-2005 |
Ilia Alshanetsky |
As per PDO meeting on PHP|Tropics fetchSingle is being renamed to fetchColumn and now supports specification of the column to retrieve. |
#
d30a9ee9 |
| 27-Apr-2005 |
Ilia Alshanetsky |
removed debug code. |
#
7dd430ff |
| 22-Apr-2005 |
Wez Furlong |
fix bug #32795 |