History log of /PHP-7.2/ext/pdo/php_pdo_driver.h (Results 76 – 100 of 140)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: RELEASE_1_0RC1, 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
# 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
# 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 ...


# 7976182b 08-Jul-2005 Wez Furlong

Fix Bug #33111


# ab1ba644 08-Jul-2005 Wez Furlong

add a bit of a hack to cater for pgsql prepared statements.

These are effectively named statements with strong constraints on the naming
format. We cater for this in a fairly generic wa

add a bit of a hack to cater for pgsql prepared statements.

These are effectively named statements with strong constraints on the naming
format. We cater for this in a fairly generic way: allow a driver to replace
the format string we use to generate names from positional parameters. In
addition, if that format is set, we always force a rewrite from regular names
to the strongly enforced names.

show more ...


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


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


123456