History log of /PHP-5.5/ext/pdo/pdo_stmt.c (Results 126 – 150 of 282)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: BEFORE_NEW_OUTPUT_API
# e4a3732c 30-May-2006 Antony Dovgal

no need to call zend_is_callable() if callable is known to be invalid
free fname on failure and plug possible leak


Revision tags: php-4.4.3RC1
# 7bbab026 11-May-2006 Marcus Boerger

- MFH
. Fix iterator based access
. Add new attribute ATTR_DEFAULT_FETCH_MODE: $bdh->setAttribute()
. Add new fetch mode: FETCH_PROPS_LATE, this fills object member
variable

- MFH
. Fix iterator based access
. Add new attribute ATTR_DEFAULT_FETCH_MODE: $bdh->setAttribute()
. Add new fetch mode: FETCH_PROPS_LATE, this fills object member
variables after calling the constructor (fixes #36428).

show more ...


Revision tags: php-5.1.4, RELEASE_1_0_3, php-5.1.3, php-5.1.2, RELEASE_1_3
# ea53739d 22-Apr-2006 Antony Dovgal

MFB: don't segfault if an exception has been thrown from the fetch handler


Revision tags: php-5.1.3RC3
# 687e6ffc 09-Apr-2006 Wez Furlong

Add "ATTR_EMULATE_PREPARES" general attribute to replace the custom
attributes employed by mysql and postgres drivers.
No functional change.


Revision tags: php-5.1.3RC2
# 08e6fded 28-Mar-2006 Antony Dovgal

prevent possible NULL dereference


# fb7d5bd7 27-Mar-2006 Wez Furlong

The fix for #35332 caused #35671 (and thus PECL #6504).

Partially back out that fix and introduce an extra optional step for drivers to
canonicalize the "name" that is used for registeri

The fix for #35332 caused #35671 (and thus PECL #6504).

Partially back out that fix and introduce an extra optional step for drivers to
canonicalize the "name" that is used for registering parameters.

show more ...


# 4ccd89d1 19-Mar-2006 Ilia Alshanetsky

Properly calculate the size of the result array.


# 5c7c11c4 18-Mar-2006 Antony Dovgal

MFH: check stream for NULL before writing to it
remove unnecessary semicolons


# 92ba7ccc 15-Mar-2006 Ilia Alshanetsky

Fixed memory leak on unused bind var.


Revision tags: php-5.1.3RC1, RELEASE_1_2, RELEASE_0_9_4
# 1d461a6b 22-Jan-2006 Marcus Boerger

- MFH


Revision tags: RELEASE_1_0_4, php-4.4.2, php-5.1.2RC2, php-4.4.2RC2
# 64a7e465 01-Jan-2006 Ilia Alshanetsky

Fixed bug #35797 (segfault on PDOStatement::execute() with
zend.ze1_compatibility_mode = On).


# 5bd93221 01-Jan-2006 foobar

bump year and license version


Revision tags: php-5.1.2RC1
# b83a0eb1 17-Dec-2005 Ilia Alshanetsky

Fixed memory corruption when FETCH_LAZY mode is being used.


# bdf9c4d1 15-Dec-2005 Ilia Alshanetsky

Fixed bug #35694 (Improved error message for invalid fetch mode).


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

MFH: nuke php3 legacy


# 06c57b7d 01-Dec-2005 Antony Dovgal

tweak fix a bit
(by request of Wez)


# 59087fee 01-Dec-2005 Antony Dovgal

MFH: fix #35508 (PDO fails when unknown fetch mode specified)


Revision tags: RELEASE_2_0_2
# 63dae4ee 27-Nov-2005 Wez Furlong

Fix #35431; LAZY fetch and fetchAll == crash.
Lazy makes no sense with fetchAll; disallow it.


# 6543134d 27-Nov-2005 Antony Dovgal

MFH: fix #35430 (PDO crashes on incorrect FETCH_FUNC use)


Revision tags: php-5.1.1
# 426fb96c 26-Nov-2005 Wez Furlong

Doh, need to canonicalize parameter names (by prefixing with :) before
attempting to remap them to positional args.


# 26183225 25-Nov-2005 Wez Furlong

Bug: when stringify fetch mode is on, and the driver returns a string instead
of a stream for a LOB parameter, PDO would incorrectly return NULL for that
column.


# c2d53719 25-Nov-2005 Wez Furlong

Fix for #35332.
The problem is caused by the user mixing positional and named parameters.
PDO was blindly adding the parameters, unaware that the same parameters were
already allocated by

Fix for #35332.
The problem is caused by the user mixing positional and named parameters.
PDO was blindly adding the parameters, unaware that the same parameters were
already allocated by position.

What we do now is register the parameter with the driver before adding it to
any hash. This gives the driver an opportunity to normalize the name and
parameter number. PDO can then ensure that only one entry is occupied in the
hash for a given parameter.

show more ...


# 8e49bacf 24-Nov-2005 Ilia Alshanetsky

Fixed bug #35358 (Incorrect error messages for PDO class constants).


Revision tags: php-5.1.0, php-4.4.2RC1, RELEASE_0_9_3, php-5.1.0RC6, php-5.1.0RC5
# 0bd9518f 16-Nov-2005 Wez Furlong

Closes PECL #5944; binding an invalid parameter can lead to segfaults.
Modified patch provided by curt@php.net.


Revision tags: RELEASE_2_0_1
# 8e2de517 07-Nov-2005 Ilia Alshanetsky

Fixed bug #35135 (PDOStatment without related PDO object may crash).


12345678910>>...12