Marcus Boerger
001f506533
- MFH SPL example was changed, so change PDO test accordingly
2005-10-13 19:49:59 +00:00
Marcus Boerger
491674bea6
- Do not try to autoload the class, use internal only
2005-10-13 18:37:19 +00:00
Ilia Alshanetsky
a5fe9808aa
MFH: Fixed bug #34809 (FETCH_INTO in PDO crashes without a destination object).
2005-10-10 14:44:16 +00:00
Marcus Boerger
470da4e960
- MFH Add new test
2005-10-07 23:23:44 +00:00
Antony Dovgal
b33c2d9b17
nuke unused variable
2005-10-05 22:17:38 +00:00
Derick Rethans
3abc925a8a
- Committing some changes that make PDO+SPL not crash anymore. These are done
...
by Marcus. and I'm committing them in order to actually use PHP 5.1 without
segfaulting when apache starts. This is not necessary the best solution.
2005-10-05 13:51:46 +00:00
Marcus Boerger
0a50368580
- Add optional dep for SPL under windows too
2005-10-04 07:47:11 +00:00
Marcus Boerger
4d631ec31b
- Add optional dependency to SPL
2005-10-04 07:44:56 +00:00
Antony Dovgal
ffe605f2ed
free cls_methods correctly and fix segfault on shutdown
...
(no bug entry and MFB, though..)
2005-10-03 23:27:26 +00:00
Marcus Boerger
0a2e6f723e
- MFH change require to require_once
2005-10-03 15:06:27 +00:00
Ilia Alshanetsky
9a0bed9863
MFH: Fixed memory leak.
2005-10-03 03:54:06 +00:00
Wez Furlong
612dab64ee
fix type
2005-10-03 00:55:23 +00:00
Wez Furlong
a750f195cd
Fix Bug #34687 ; error information from query() not passed back
2005-10-02 22:11:19 +00:00
Marcus Boerger
991a29cfd6
- MFH PDOException base
2005-10-02 20:38:18 +00:00
Marcus Boerger
ca9dd7d826
- Add PDO::setAttribute(PDO::ATTR_STATEMENT_CLASS)
2005-10-02 20:07:11 +00:00
Wez Furlong
932346c00f
Allow compilation with PHP 5.0.x
...
Closes PECL #5514
2005-10-01 02:48:11 +00:00
Wez Furlong
4f7d14f8d9
a test for bug #34630
2005-09-24 18:54:50 +00:00
Edin Kadribasic
4566f48777
Build PDO and SQLite as shared
2005-09-24 15:13:13 +00:00
Edin Kadribasic
35b7ad00a6
Declare functions used by driver as PDO_API in php_pdo_driver.h
2005-09-24 14:18:01 +00:00
Marcus Boerger
f3c44f6065
- 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.
2005-09-21 22:58:39 +00:00
Marcus Boerger
a72a517e2f
- Add ability to execute .php generated from .phpt on failure without the
...
need to manually set the environment.
2005-09-21 18:40:56 +00:00
Ilia Alshanetsky
4dff36f6b4
MFH: Allow overloading of PDO constructor.
2005-09-20 19:52:24 +00:00
Ilia Alshanetsky
bfe844e41e
MFH: Make PDO use class constants
2005-09-20 00:35:21 +00:00
Antony Dovgal
9a1c6c55b8
fix build (declare extern HashTable pdo_driver_hash)
2005-09-18 18:05:59 +00:00
Wez Furlong
7e762989e7
move pdo_drivers -> PDO::getAvailableDrivers as part of namespacing sweep.
2005-09-18 14:13:08 +00:00
Wez Furlong
8dc3e7b147
When populating bound columns, override the returned type with the type
...
specified by the user in their bind.
2005-09-11 20:32:28 +00:00
Wez Furlong
9e9f413aeb
Fix PECL Bug #5010
2005-09-11 19:44:26 +00:00
Wez Furlong
81151a5dbf
remove traversable interface; apparently it's not enough, and this stuff is too
...
magical to figure out wtf should be added.
2005-09-11 14:27:10 +00:00
Wez Furlong
77d3a41f8a
update package.xml files and version numbers, in anticipation of a big bunch of releases.
2005-09-11 05:27:30 +00:00
Wez Furlong
1e37cc7b82
set version numbers to 1.0
2005-09-11 05:06:30 +00:00
Wez Furlong
5f47b4178e
and touch the generated file
2005-09-10 20:58:57 +00:00
Wez Furlong
e9c81e4983
actually register PDO_PARAM_BOOL as a constant (doh!).
...
When emulating bound parameters, pass booleans via the driver's quoter
method, so that is has an opportunity to tweak it.
Refs #33876 : PDO misquotes/miscasts bool(false)
2005-09-10 20:58:19 +00:00
Wez Furlong
9c252b4b07
closes PECL #5027 ; PDO_FETCH_NAMED not handled via setFetchMode().
2005-09-10 19:32:15 +00:00
Wez Furlong
efe24c0205
add __sleep and __wakeup functions to prevent serialize/deserialize from being used on PDO objects. Refs PECL #5217
2005-09-10 17:48:45 +00:00
Wez Furlong
0730fa2af9
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.
2005-09-10 15:32:04 +00:00
Edin Kadribasic
60b1f64cc7
touch
2005-09-04 00:48:59 +00:00
Edin Kadribasic
4e1b287b82
Fix for #34233
2005-09-04 00:47:59 +00:00
George Schlossnagle
248c30dad7
MFH. Protect against underflow - refs http://pecl.php.net/bugs/bug.php?id=5193
2005-09-01 14:44:11 +00:00
Ilia Alshanetsky
ecc34bddcc
Fixed memory leak.
2005-08-03 18:26:16 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Wez Furlong
bf85bf515e
add sanity checks
2005-07-27 14:18:01 +00:00
Wez Furlong
32cf3cc19f
Yes, I can't count the months, and no, I'm not related to Ilia.
2005-07-27 04:07:44 +00:00
Wez Furlong
163c92510a
Prep for PECL release
2005-07-27 02:39:46 +00:00
Marcus Boerger
d8eece2b43
- Add missing part to make colon in parameter binding optional
2005-07-22 14:31:20 +00:00
Marcus Boerger
e4b07b3ebe
- Test the colon is optional in binding
2005-07-22 14:27:35 +00:00
Wez Furlong
cfe1dc3b46
this looks like a much better fix for refcounting/shutdown in lazy objects.
2005-07-22 04:33:56 +00:00
Wez Furlong
882503110d
fix leak (ugh, this nuance gets me every time)
2005-07-22 02:09:19 +00:00
Wez Furlong
3560bb9c2b
Fixes #33785 for me
2005-07-22 01:34:43 +00:00
Ilia Alshanetsky
3db688c6c9
Added test for PDO_FETCH_LAZY.
...
# This currently fails, see bug 33785
2005-07-21 19:33:48 +00:00
Wez Furlong
08891a1c1b
some drivers want you to say that its ok to use NULL for these columns.
2005-07-20 05:27:00 +00:00