History log of /PHP-7.4/ext/pdo/php_pdo_driver.h (Results 76 – 100 of 149)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.1.3RC1, RELEASE_1_2, RELEASE_0_9_4, RELEASE_1_0_4, php-4.4.2, php-5.1.2RC2, php-4.4.2RC2
# 5bd93221 01-Jan-2006 foobar

bump year and license version


Revision tags: php-5.1.2RC1, RELEASE_1_1_1, RELEASE_1_1, RELEASE_1_0
# 3e669bc9 06-Dec-2005 foobar

MFH: nuke php3 legacy


Revision tags: RELEASE_2_0_2
# d0ea27b8 28-Nov-2005 Wez Furlong

API for connection dependent objects to add/del refs to dbh's.


Revision tags: php-5.1.1, php-5.1.0, php-4.4.2RC1, RELEASE_0_9_3, php-5.1.0RC6, php-5.1.0RC5, RELEASE_2_0_1, RELEASE_1_0RC2
# 40c24a65 31-Oct-2005 Wez Furlong

improve test portability.
improve infrastructure for LOB support.


Revision tags: php-4.4.1, php-5.1.0RC4
# a9cac895 27-Oct-2005 Antony Dovgal

MFH: commit forgotten part


Revision tags: RELEASE_0_9_2, RELEASE_0_9_1
# 2af3190a 25-Oct-2005 Antony Dovgal

use correct enum type for the arg


Revision tags: php-5.1.0RC3, php-5.1.0RC2, php-4.4.1RC1, RELEASE_0_9_0
# a750f195 02-Oct-2005 Wez Furlong

Fix Bug #34687; error information from query() not passed back


# ca9dd7d8 02-Oct-2005 Marcus Boerger

- Add PDO::setAttribute(PDO::ATTR_STATEMENT_CLASS)


# 35b7ad00 24-Sep-2005 Edin Kadribasic

Declare functions used by driver as PDO_API in php_pdo_driver.h


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


123456