]>
granicus.if.org Git - php/log
Wez Furlong [Thu, 20 May 2004 00:06:30 +0000 (00:06 +0000)]
re-jig error handling, and make it co-operate with the PDO error handling system.
Implement $dbh->exec() for OCI.
Wez Furlong [Thu, 20 May 2004 00:05:22 +0000 (00:05 +0000)]
First cut at a "unified" error handling API. The main thing that is missing
currently is a switch in the dbh to indicate what to do with the errors.
Wez Furlong [Wed, 19 May 2004 21:36:22 +0000 (21:36 +0000)]
Fix win32 build
Marcus Boerger [Wed, 19 May 2004 20:57:02 +0000 (20:57 +0000)]
- Allow to build with ext/mysqli
Marcus Boerger [Wed, 19 May 2004 20:56:06 +0000 (20:56 +0000)]
- Allow to compile as builtin module
Ilia Alshanetsky [Wed, 19 May 2004 20:44:28 +0000 (20:44 +0000)]
Row count cannot be calculated in MySQL without buffering the query.
Ilia Alshanetsky [Wed, 19 May 2004 20:38:53 +0000 (20:38 +0000)]
Added fetchAll and fetchSingle methods for data retrieval.
Ilia Alshanetsky [Wed, 19 May 2004 20:38:25 +0000 (20:38 +0000)]
Timeout stuff.
Ilia Alshanetsky [Wed, 19 May 2004 20:34:57 +0000 (20:34 +0000)]
Added support for setting timeout value.
Ilia Alshanetsky [Wed, 19 May 2004 20:34:01 +0000 (20:34 +0000)]
Prevent possible crash when working with column containing NULL.
George Schlossnagle [Wed, 19 May 2004 19:31:33 +0000 (19:31 +0000)]
exec() now returns affected row count
George Schlossnagle [Wed, 19 May 2004 19:27:53 +0000 (19:27 +0000)]
exec() now returns row count
George Schlossnagle [Wed, 19 May 2004 18:51:01 +0000 (18:51 +0000)]
builds on stock rh9 now
Frank M. Kromann [Wed, 19 May 2004 18:04:47 +0000 (18:04 +0000)]
Set correct Win32 line endings and fix ZTS compilation
Ilia Alshanetsky [Wed, 19 May 2004 17:35:39 +0000 (17:35 +0000)]
Added lastInsertId() method for retrieving last insert id.
Made affectedRows() work for MySQL.
Populate error value in MySQL on error.
Ilia Alshanetsky [Wed, 19 May 2004 17:09:48 +0000 (17:09 +0000)]
Skip spaces between connection params.
Ard Biesheuvel [Wed, 19 May 2004 16:46:29 +0000 (16:46 +0000)]
Fixed unregistered bug (memory leak in printf() & friends)
Ilia Alshanetsky [Wed, 19 May 2004 16:26:06 +0000 (16:26 +0000)]
Better include path detection.
Wez Furlong [Wed, 19 May 2004 16:21:43 +0000 (16:21 +0000)]
Add simple error code values and a place to store them
Wez Furlong [Wed, 19 May 2004 15:27:27 +0000 (15:27 +0000)]
Let it install correctly when built via phpize
Ilia Alshanetsky [Wed, 19 May 2004 15:17:52 +0000 (15:17 +0000)]
More errno stuff.
Ilia Alshanetsky [Wed, 19 May 2004 15:14:55 +0000 (15:14 +0000)]
Fixed possible crash on connection error.
Ilia Alshanetsky [Wed, 19 May 2004 15:12:05 +0000 (15:12 +0000)]
Simplify config via the use of mysql_config.
Fixed errno naming conflict.
Ilia Alshanetsky [Wed, 19 May 2004 14:27:32 +0000 (14:27 +0000)]
Copy the headers
Edin Kadribasic [Wed, 19 May 2004 14:23:59 +0000 (14:23 +0000)]
Typo
Edin Kadribasic [Wed, 19 May 2004 14:02:36 +0000 (14:02 +0000)]
Fix configure
Wez Furlong [Wed, 19 May 2004 13:55:41 +0000 (13:55 +0000)]
Revise $dbh->exec().
The driver doer() method should populate dbh->affected_rows if it can determine its value.
Wez Furlong [Wed, 19 May 2004 13:43:07 +0000 (13:43 +0000)]
Add $dbh->exec() method.
Rename $dbh->beginWork() to $dbh->beginTransaction().
Ilia Alshanetsky [Wed, 19 May 2004 13:34:40 +0000 (13:34 +0000)]
Abort if driver cannot be registered.
Edin Kadribasic [Wed, 19 May 2004 13:28:05 +0000 (13:28 +0000)]
Cosmetics
Ilia Alshanetsky [Wed, 19 May 2004 13:27:54 +0000 (13:27 +0000)]
Removed unused vars.
Wez Furlong [Wed, 19 May 2004 12:40:50 +0000 (12:40 +0000)]
update prototype
Wez Furlong [Wed, 19 May 2004 12:40:31 +0000 (12:40 +0000)]
Update prototype
Wez Furlong [Wed, 19 May 2004 12:40:11 +0000 (12:40 +0000)]
Update prepare() prototype.
Attempt to hunt down the cause of a build warning under win32 by adjust the
name of the error function.
Wez Furlong [Wed, 19 May 2004 12:37:31 +0000 (12:37 +0000)]
Expand the prepare() prototype to accept additional options.
Sebastian Bergmann [Wed, 19 May 2004 09:23:15 +0000 (09:23 +0000)]
ZTS fix.
Marcus Boerger [Wed, 19 May 2004 08:56:50 +0000 (08:56 +0000)]
- Remove unused blocks
Marcus Boerger [Wed, 19 May 2004 08:45:46 +0000 (08:45 +0000)]
- Remove unused blocks
<changelog@php.net> [Wed, 19 May 2004 00:34:15 +0000 (00:34 +0000)]
ChangeLog update
Ilia Alshanetsky [Tue, 18 May 2004 23:26:53 +0000 (23:26 +0000)]
Fixed possible memory leak.
Ilia Alshanetsky [Tue, 18 May 2004 23:07:22 +0000 (23:07 +0000)]
Better header detection.
Ilia Alshanetsky [Tue, 18 May 2004 22:45:53 +0000 (22:45 +0000)]
Fixed build.
Ilia Alshanetsky [Tue, 18 May 2004 22:31:13 +0000 (22:31 +0000)]
Allow static builds.
Marcus Boerger [Tue, 18 May 2004 21:27:08 +0000 (21:27 +0000)]
Fix test
Marcus Boerger [Tue, 18 May 2004 21:19:15 +0000 (21:19 +0000)]
- Need to operate on module pointer in hash table
Wez Furlong [Tue, 18 May 2004 21:07:01 +0000 (21:07 +0000)]
Fix #27638: not cleaning up object files in win32 build
George Schlossnagle [Tue, 18 May 2004 20:57:19 +0000 (20:57 +0000)]
should be a strcmp, not a strncmp, thanks, wez
Marcus Boerger [Tue, 18 May 2004 20:39:35 +0000 (20:39 +0000)]
- Make start and length parameter to Limititerator::__construct optional
George Schlossnagle [Tue, 18 May 2004 20:33:30 +0000 (20:33 +0000)]
was leaking query_string's
George Schlossnagle [Tue, 18 May 2004 20:26:24 +0000 (20:26 +0000)]
support the read-only property 'queryString'
Wez Furlong [Tue, 18 May 2004 20:14:54 +0000 (20:14 +0000)]
Fix bug #28438: win32 build fails in non-zts mode
George Schlossnagle [Tue, 18 May 2004 19:30:43 +0000 (19:30 +0000)]
forgotten off the last commit
Wez Furlong [Tue, 18 May 2004 19:30:22 +0000 (19:30 +0000)]
Give user a nice message when PDO isn't initialized prior to a driver.
Wez Furlong [Tue, 18 May 2004 19:25:45 +0000 (19:25 +0000)]
Minor tweaks
Wez Furlong [Tue, 18 May 2004 19:25:23 +0000 (19:25 +0000)]
typo..
Wez Furlong [Tue, 18 May 2004 19:06:47 +0000 (19:06 +0000)]
mySQL, not Oracle ;)
Wez Furlong [Tue, 18 May 2004 19:03:27 +0000 (19:03 +0000)]
Add to win32 build
Ilia Alshanetsky [Tue, 18 May 2004 18:42:36 +0000 (18:42 +0000)]
Fixed search path for MySQL.
George Schlossnagle [Tue, 18 May 2004 18:01:52 +0000 (18:01 +0000)]
initial import of mysql 3.x pdo driver
Stanislav Malyshev [Tue, 18 May 2004 16:13:57 +0000 (16:13 +0000)]
Z_TYPE_P is for zvals
Wez Furlong [Tue, 18 May 2004 15:58:17 +0000 (15:58 +0000)]
Update generated parser
Wez Furlong [Tue, 18 May 2004 15:58:00 +0000 (15:58 +0000)]
Add parser to win32 build
Wez Furlong [Tue, 18 May 2004 15:57:46 +0000 (15:57 +0000)]
Tweaks for win32
George Schlossnagle [Tue, 18 May 2004 15:38:25 +0000 (15:38 +0000)]
for those without re2c
Wez Furlong [Tue, 18 May 2004 15:26:32 +0000 (15:26 +0000)]
Fix dl() and extension=
Wez Furlong [Tue, 18 May 2004 15:26:13 +0000 (15:26 +0000)]
Register according to the type specified by the module.
(Helps to fix dl() bug)
George Schlossnagle [Tue, 18 May 2004 15:22:58 +0000 (15:22 +0000)]
license/copyright block
George Schlossnagle [Tue, 18 May 2004 15:19:31 +0000 (15:19 +0000)]
handle binding/quoting of queries for drivers with emulated prepares
Ilia Alshanetsky [Tue, 18 May 2004 13:43:24 +0000 (13:43 +0000)]
Fixed command line escaping routines for win32.
Edin Kadribasic [Tue, 18 May 2004 12:32:05 +0000 (12:32 +0000)]
Move declarations to the begining of function.
This allows it to actually compile on windows.
Edin Kadribasic [Tue, 18 May 2004 10:53:53 +0000 (10:53 +0000)]
TSRM fix
Edin Kadribasic [Tue, 18 May 2004 10:49:06 +0000 (10:49 +0000)]
No length parameter -> estrdup()
Wez Furlong [Tue, 18 May 2004 10:00:01 +0000 (10:00 +0000)]
Probe for some functions; allows pdo_oci to build on the snap machine again.
Wez Furlong [Tue, 18 May 2004 09:58:45 +0000 (09:58 +0000)]
Primitive support for probing headers for functions using a regexp
Wez Furlong [Tue, 18 May 2004 08:59:27 +0000 (08:59 +0000)]
Skeleton for emulated prepare()
Wez Furlong [Tue, 18 May 2004 08:47:10 +0000 (08:47 +0000)]
Update to match new prototype
Wez Furlong [Tue, 18 May 2004 08:45:28 +0000 (08:45 +0000)]
Quoting here leads to problems with databases that really support bound parameters.
We should do this conditionally based on the emulate_prepare flag.
George Schlossnagle [Tue, 18 May 2004 05:34:52 +0000 (05:34 +0000)]
only rewrite tmp if quoter returns true
George Schlossnagle [Tue, 18 May 2004 05:31:01 +0000 (05:31 +0000)]
auto-quote values before binding them in at execute time
George Schlossnagle [Tue, 18 May 2004 05:01:16 +0000 (05:01 +0000)]
use new prototype
George Schlossnagle [Tue, 18 May 2004 05:00:52 +0000 (05:00 +0000)]
we need the source string length for binary safe string handling
Wez Furlong [Tue, 18 May 2004 00:45:58 +0000 (00:45 +0000)]
package.xml
Wez Furlong [Tue, 18 May 2004 00:40:01 +0000 (00:40 +0000)]
Skeleton package file
<changelog@php.net> [Tue, 18 May 2004 00:35:47 +0000 (00:35 +0000)]
ChangeLog update
Sara Golemon [Tue, 18 May 2004 00:04:22 +0000 (00:04 +0000)]
Bugfix#28404 When type is double we need to access dval, not lval
Wez Furlong [Mon, 17 May 2004 22:20:11 +0000 (22:20 +0000)]
Let is build under unix.
Tested against IBM DB2 and unixODBC.
Could work with others.
George Schlossnagle [Mon, 17 May 2004 21:12:30 +0000 (21:12 +0000)]
include guard
Ilia Alshanetsky [Mon, 17 May 2004 20:58:57 +0000 (20:58 +0000)]
Correct output.
Sara Golemon [Mon, 17 May 2004 20:31:59 +0000 (20:31 +0000)]
BugFix# 27982: Provide error message when trying to overwrite an existant file without overwrite context option.
Andrei Zmievski [Mon, 17 May 2004 20:09:37 +0000 (20:09 +0000)]
Revert the .ini vars patch. Will have to try again next Christmas
apparently.
Wez Furlong [Mon, 17 May 2004 18:17:39 +0000 (18:17 +0000)]
Allow PDO OCI to build under unix.
Don't build by default under win32.
Wez Furlong [Mon, 17 May 2004 18:13:03 +0000 (18:13 +0000)]
Allow PDO to build as a self-contained extension.
Install headers so that other self-contained extensions may them.
Andrei Zmievski [Mon, 17 May 2004 17:12:07 +0000 (17:12 +0000)]
Fix the apparent bug (; at the end of parse rule block).
Wez Furlong [Mon, 17 May 2004 17:00:35 +0000 (17:00 +0000)]
Some pedantic fixes for gcc.
Derick Rethans [Mon, 17 May 2004 16:30:22 +0000 (16:30 +0000)]
- Document the smtp_port setting in php.ini
Wez Furlong [Mon, 17 May 2004 15:43:01 +0000 (15:43 +0000)]
ODBC (v3 ish) driver for PDO.
Will not build under unix yet.
Wez Furlong [Mon, 17 May 2004 15:42:33 +0000 (15:42 +0000)]
OCI driver for PDO, supporting bound input and output parameters.
Will not build under unix yet.
Wez Furlong [Mon, 17 May 2004 15:41:51 +0000 (15:41 +0000)]
Hello PDO.
Still more to come. Give it a couple of days before starting to write drivers
for the other databases; a few things might change, so I'd like to coordinate
that, but in a couple of days.
Wez Furlong [Mon, 17 May 2004 11:27:16 +0000 (11:27 +0000)]
As discussed with Andi, add this helper API for setting the object pointer from
within the constructor.
Please read the comment for notes about how to use it; in general, you don't
need it, so don't use it.
<changelog@php.net> [Mon, 17 May 2004 00:33:01 +0000 (00:33 +0000)]
ChangeLog update