History log of /PHP-7.0/ext/pdo/php_pdo_driver.h (Results 76 – 100 of 134)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 294a44a9 07-Jul-2005 Wez Furlong

add an attribute for returning the 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, php-4.4.0RC1, php-5.1.0b1, php-5.0.1b1
# 49e7b3da 10-Jun-2005 Wez Furlong

Fix a dumb bug that would effecively ignore persistent connections and create a
new one each time.

Add a hook for persistent connections: it is called when the object goes out of
sco

Fix a dumb bug that would effecively ignore persistent connections and create a
new one each time.

Add a hook for persistent connections: it is called when the object goes out of
scope, and offers the driver an opportunity to release per-request scoped data
at the right time.

This hook is used by pdo_sqlite to unregister UDFs, which are dangerous to keep
registered between requests.

show more ...


# fa0e534f 18-May-2005 Ilia Alshanetsky

Various compiler warning fixes.


Revision tags: RELEASE_0_3, php-5.0.4, php-4.3.11, php-5.0.4RC2, php-4.3.11RC2, php-5.0.4RC1, php-4.3.11RC1
# a4521139 28-Feb-2005 Marcus Boerger

- Reserve some bits for flags


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


# cb9658fe 22-Feb-2005 Marcus Boerger

- Revert signature of PDO:prepare()
old: proto object PDO::prepare(string statment [, array driver_options [, string classname ]])
now: proto object PDO::prepare(string statment [, array

- Revert signature of PDO:prepare()
old: proto object PDO::prepare(string statment [, array driver_options [, string classname ]])
now: proto object PDO::prepare(string statment [, array options])
param 'classname' and and 'ctor_args' are now set through options
using index PDO_ATTR_STATEMENT_CLASS
- Change all deriver_options parameters to 'options' to reflect the fact
that they may contain statement as well as driver specific flags

show more ...


# 3c743e3a 22-Feb-2005 Marcus Boerger

- Allow to derive PDOStatement
- Verify fetch modes
- Add last fetch mode PDO_FETCH_FUNC (only valid inside fetchAll()) that
allows to completley customize the way data is treated on th

- Allow to derive PDOStatement
- Verify fetch modes
- Add last fetch mode PDO_FETCH_FUNC (only valid inside fetchAll()) that
allows to completley customize the way data is treated on the fly

show more ...


# d56ce00b 20-Feb-2005 Marcus Boerger

- Add fetch flag PDO_FETCH_CLASSTYPE


# dcf89ff1 20-Feb-2005 Marcus Boerger

- Bump API


# 5a262034 20-Feb-2005 Marcus Boerger

- Fix memleak and optimize PDO_FETCH_CLASS


# b788dc9d 19-Feb-2005 Marcus Boerger

- Add fetch mode PDO_FETCH_UNIQUE


# 474fcab6 19-Feb-2005 Marcus Boerger

- Add PDO_FETCH_GROUP to fetchAll()


Revision tags: RELEASE_0_2_4
# 6c1c64c2 14-Feb-2005 Wez Furlong

experimental hooks for alan.
Off limits to everyone else... pretend they are not there :)


Revision tags: RELEASE_0_2_3
# 0da6a84e 13-Feb-2005 Wez Furlong

implement mapping of :name to ? parameters for drivers that only support ?
placeholders.
The current restriction is that you may not use the same named parameter
more than one in a given

implement mapping of :name to ? parameters for drivers that only support ?
placeholders.
The current restriction is that you may not use the same named parameter
more than one in a given query, as there is a danger of scary things happen
with the zval if it gets bound multiple times.

show more ...


Revision tags: RELEASE_0_2_2, RELEASE_0_2_1, RELEASE_0_2
# 5304374f 09-Feb-2005 Wez Furlong

fix typo


# 36e3ea8c 07-Feb-2005 Wez Furlong

add input/output parameter type flag


# ccf0a6a5 06-Feb-2005 Wez Furlong

add a caller_frees parameter to get_col() to allow drivers that need
to allocate data on demand to do so without worrying about cleaning it up.

Spec out how LOB parameters are returned.


# 15e75420 05-Feb-2005 Wez Furlong

pass param type to quoter functions


# ebaf95b1 23-Jan-2005 Wez Furlong

make this the right size...


# 6ddbfa07 21-Jan-2005 Wez Furlong

Revise query parser so that it can rewrite from one bind syntax to another.
Expose it as PDO_API. No drivers utilize this feature yet.


# dcd3d84d 21-Jan-2005 Wez Furlong

Eliminate unused parameter


# a9d98544 18-Jan-2005 Wez Furlong

Allow drivers to select bind emulation on a per statement basis


# 81664bd2 12-Jan-2005 Wez Furlong

Remove bogus scroll attribute.
Expose cursor constants to the script


123456