History log of /PHP-7.0/ext/pdo/pdo_stmt.c (Results 226 – 250 of 364)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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).


Revision tags: RELEASE_1_0RC2
# 24a80c3e 31-Oct-2005 Marcus Boerger

- Fix remaining memleaks
# all tests pass for me now for the first time in:
# pgsql, mysql, sqlite, sqlite2


# b74698f1 31-Oct-2005 Wez Furlong

fix misinterpretation of data when overriding types via bindColumn.
Very slightly modified patch from Marcus.


# 40c24a65 31-Oct-2005 Wez Furlong

improve test portability.
improve infrastructure for LOB support.


# e7494a7e 30-Oct-2005 Marcus Boerger

- Fix memleak


Revision tags: php-4.4.1
# 0139cd0e 29-Oct-2005 Wez Furlong

Closes PECL Bug #5772; FETCH_FUNC broken for mixed case function names


# 7af80890 29-Oct-2005 Wez Furlong

Closes PECL #5809; PDOStatement::execute(array(...)) would modify its args.
It should behave like bindValue() not bindParam().


Revision tags: php-5.1.0RC4, RELEASE_0_9_2, RELEASE_0_9_1
# 6b46a441 25-Oct-2005 Ilia Alshanetsky

Fixed compiler warning


Revision tags: php-5.1.0RC3, php-5.1.0RC2
# a5fe9808 10-Oct-2005 Ilia Alshanetsky

MFH: Fixed bug #34809 (FETCH_INTO in PDO crashes without a destination object).


Revision tags: php-4.4.1RC1, RELEASE_0_9_0
# f3c44f60 21-Sep-2005 Marcus Boerger

- MFH Fixed Bug #34590 User defined PDOStatement class can't implement
methods
- Reimplement Traversable interface
# If there is a problem with this i need a backtrace. As far as i can

- MFH Fixed Bug #34590 User defined PDOStatement class can't implement
methods
- Reimplement Traversable interface
# If there is a problem with this i need a backtrace. As far as i can
# tell by gdb/valgrind/logic there is no error here. But missuse leads to
# the same error report casing the exclusion of interface Traversable.

show more ...


# 8dc3e7b1 11-Sep-2005 Wez Furlong

When populating bound columns, override the returned type with the type
specified by the user in their bind.


# 81151a5d 11-Sep-2005 Wez Furlong

remove traversable interface; apparently it's not enough, and this stuff is too
magical to figure out wtf should be added.


Revision tags: RELEASE_1_0RC1
# 9c252b4b 10-Sep-2005 Wez Furlong

closes PECL #5027; PDO_FETCH_NAMED not handled via setFetchMode().


# efe24c02 10-Sep-2005 Wez Furlong

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


# 0730fa2a 10-Sep-2005 Wez Furlong

Add PDOStatement::bindValue(), which is similar to bindParam(), except that
it binds the value of the zval at the time it is called, rather than keeping
a reference to the zval and taking the

Add PDOStatement::bindValue(), which is similar to bindParam(), except that
it binds the value of the zval at the time it is called, rather than keeping
a reference to the zval and taking the value at execute() time.

show more ...


Revision tags: PRE_NEW_OCI8_EXTENSION, php-5.1.0RC2_PRE, php-5.0.5
# 248c30da 01-Sep-2005 George Schlossnagle

MFH. Protect against underflow - refs http://pecl.php.net/bugs/bug.php?id=5193


Revision tags: php-5.0.5RC2, php-5.0.5RC1, php-5.1.0RC1, BEFORE_UNICODE_MERGE, RELEASE_2_0_0
# ecc34bdd 03-Aug-2005 Ilia Alshanetsky

Fixed memory leak.


# bf85bf51 27-Jul-2005 Wez Furlong

add sanity checks


Revision tags: RELEASE_0_9
# d8eece2b 22-Jul-2005 Marcus Boerger

- Add missing part to make colon in parameter binding optional


12345678910>>...15