History log of /PHP-5.6/ext/pdo/pdo_dbh.c (Results 126 – 150 of 212)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 932346c0 01-Oct-2005 Wez Furlong

Allow compilation with PHP 5.0.x
Closes PECL #5514


# 4dff36f6 20-Sep-2005 Ilia Alshanetsky

MFH: Allow overloading of PDO constructor.


# bfe844e4 20-Sep-2005 Ilia Alshanetsky

MFH: Make PDO use class constants


# 7e762989 18-Sep-2005 Wez Furlong

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


Revision tags: RELEASE_1_0RC1
# efe24c02 10-Sep-2005 Wez Furlong

add __sleep and __wakeup functions to prevent serialize/deserialize from being used on PDO objects. Refs PECL #5217


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, 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
# 5fe5da90 09-Jul-2005 Ilia Alshanetsky

Safer way of allowing 'blank' user/pass.

# Thanks Wez.


# 0b1931a8 08-Jul-2005 Ilia Alshanetsky

Fix needed for PostgreSQL driver to allow $user & $pass to be supplied via
DSN as NULL.


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


# 0eb0b781 07-Jul-2005 Dmitry Stogov

Fixed memory leaks


Revision tags: php-4.4.0RC2, php-5.1.0b2, php-4.4.0RC1
# 13ac7169 11-Jun-2005 Wez Furlong

and the lesson is, test everything before you commit at 2am


# f124c208 11-Jun-2005 Wez Furlong

couple of conceptual errors here


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


# 5c16028e 10-Jun-2005 Wez Furlong

initialize type of function


# 9b3929a7 26-May-2005 Marcus Boerger

- Need to make PDO::__construct() final to prevent SEGV it isn't called 1st


# 3be50385 28-Apr-2005 Ilia Alshanetsky

Allocation checks around persistent allocs that can fail.


Revision tags: RELEASE_0_3, php-5.0.4, php-4.3.11, php-5.0.4RC2, php-4.3.11RC2
# 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
# f7ebff80 09-Mar-2005 Wez Furlong

"thou shalt not throw exceptions except in really exceptional circumstances."

The only allowed places to throw them directly are from within the PDO class
constructors or when dealing wi

"thou shalt not throw exceptions except in really exceptional circumstances."

The only allowed places to throw them directly are from within the PDO class
constructors or when dealing with transaction level attributes, where
"hard-failure" is a feature.

All other errors should use the PDO error handling mechanism and respect the
users selected error mode.

show more ...


# de1d8b91 09-Mar-2005 Wez Furlong

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


# eb330a95 28-Feb-2005 Marcus Boerger

- Fix warning


# d072f6de 28-Feb-2005 Marcus Boerger

- Changing handler table definitively results in SEGVs


# bc1c0c2e 28-Feb-2005 Joe Orton

Fix type mismatch.


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


# b786b93b 23-Feb-2005 Marcus Boerger

- Delay ctor call so that it can overwrite everything and the data can
already be accessed from the ctor.


123456789