History log of /PHP-8.2/ext/pdo/pdo.c (Results 101 – 125 of 163)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 9a1c6c55 18-Sep-2005 Antony Dovgal

fix build (declare extern HashTable pdo_driver_hash)

# 7e762989 18-Sep-2005 Wez Furlong

move pdo_drivers -> PDO::getAvailableDrivers as part of namespacing sweep.

# 9e9f413a 11-Sep-2005 Wez Furlong

Fix PECL Bug #5010

Revision tags: RELEASE_1_0RC1
# 77d3a41f 11-Sep-2005 Wez Furlong

update package.xml files and version numbers, in anticipation of a big bunch of releases.

# 1e37cc7b 11-Sep-2005 Wez Furlong

set version numbers to 1.0

# e9c81e49 10-Sep-2005 Wez Furlong

actually register PDO_PARAM_BOOL as a constant (doh!).
When emulating bound parameters, pass booleans via the driver's quoter
method, so that is has an opportunity to tweak it.
Refs #3387

actually register PDO_PARAM_BOOL as a constant (doh!).
When emulating bound parameters, pass booleans via the driver's quoter
method, so that is has an opportunity to tweak it.
Refs #33876: PDO misquotes/miscasts bool(false)

show more ...

Revision tags: PRE_NEW_OCI8_EXTENSION, php-5.1.0RC2_PRE, php-5.0.5, php-5.0.5RC2, php-5.0.5RC1, php-5.1.0RC1, BEFORE_UNICODE_MERGE, RELEASE_2_0_0, RELEASE_0_9
# 163c9251 27-Jul-2005 Wez Furlong

Prep for PECL release

# 97e8c6f4 20-Jul-2005 Ilia Alshanetsky

Proper handling for databases that need to pre-calculate length of large
columns, which is not normally done for performance reasons.

Revision tags: php-5.1.0b3
# 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 ...

Revision tags: php-4.4.0
# 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 ...

# da7d537d 07-Jul-2005 Wez Furlong

populate the new dbh->driver field.
Implement PDO_ATTR_DRIVER_NAME.

# 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 ...

Revision tags: php-4.4.0RC2, php-5.1.0b2
# 5cf2c9dc 23-Jun-2005 Marcus Boerger

- Add +ifdefs to still allow PHP 5.0 builds of PDO
# PDO is a PECL extension and at the moment is still meant to compile on
# both PHP 5.0 and PHP 5.1.

# f47c7848 17-Jun-2005 Dmitry Stogov

Improved PHP extension loading mechanism with support for module dependencies and conflicts

Revision tags: php-4.4.0RC1, php-5.1.0b1, php-5.0.1b1
# fcff6a07 10-Jun-2005 Wez Furlong

"Fix" PECL #4411
SPL is not initialized before PDO, so inheriting from SPL's runtime exception class gives PDO a broken exception class.
We don't currently have a way to express this kind of

"Fix" PECL #4411
SPL is not initialized before PDO, so inheriting from SPL's runtime exception class gives PDO a broken exception class.
We don't currently have a way to express this kind of "soft" dependency in the build system, so I'm disabling inheriting from the runtime exception for now.

show more ...

Revision tags: RELEASE_0_3, php-5.0.4, php-4.3.11
# e499a1c2 29-Mar-2005 Antony Dovgal

fix segfault & buffer overrun when there is no PDO drivers plugged in
(patch by su1d@phpclub.net)

Revision tags: php-5.0.4RC2, php-4.3.11RC2
# dce82da8 22-Mar-2005 Marcus Boerger

- Add function pdo_drivers()

# 73a6a310 22-Mar-2005 Marcus Boerger

- the driver's key name is not zero terminated, hence we need to either
estrNcpy() it or use the driver struct.
- table headers do not support single column mode so change to two cols
-

- the driver's key name is not zero terminated, hence we need to either
estrNcpy() it or use the driver struct.
- table headers do not support single column mode so change to two cols
- there should be only one table header

show more ...

# c9108bba 21-Mar-2005 Marcus Boerger

- Simplify code (only implement handlers that are necessary)
- Fix handling of read only property 'queryString'
- Fix overloading
- Move class init code to their defining .c files for sim

- Simplify code (only implement handlers that are necessary)
- Fix handling of read only property 'queryString'
- Fix overloading
- Move class init code to their defining .c files for simplification
- Mark class PDORow as final until there's a need to inherit this and
someone implements the handlers correct then.

show more ...

Revision tags: php-5.0.4RC1, php-4.3.11RC1
# 5248f59d 12-Mar-2005 Wez Furlong

show list of PDO drivers in phpinfo.
Highlight a possible problem area; iterator leaks when used in foreach(),
at least with sqlite2 driver.

# de1d8b91 09-Mar-2005 Wez Furlong

prep package file for release.
fix my favourite typo.
fix compile warnings

# fdc3fce3 28-Feb-2005 Marcus Boerger

- Fix missapplied logic inversion

# fef7cb4e 27-Feb-2005 Marcus Boerger

- Disable direct serializing for PHP 5.0

# 03a4a8c1 27-Feb-2005 Marcus Boerger

- Add some fetch column related capailities
- Add direct (classtype based) unserializing capabilities

# 2c5b2fc1 26-Feb-2005 Wez Furlong

Alan: moved your fields away, but reserved you a pointer.

Changed PDO::lastInsertId() to have following proto:

string PDO::lastInsertId([string name])

this allows a

Alan: moved your fields away, but reserved you a pointer.

Changed PDO::lastInsertId() to have following proto:

string PDO::lastInsertId([string name])

this allows arbitrary unique identitifers to be returned from the driver.

The optional name parameter is for databases that require additional contextual
information to be able to return the correct identifier. None currently use
it, but pgsql will be on the list of drivers that do.

show more ...

1234567