]> granicus.if.org Git - php/log
php
20 years agoExport this, so extensions may throw their own exception objects that
Wez Furlong [Thu, 20 May 2004 17:41:09 +0000 (17:41 +0000)]
Export this, so extensions may throw their own exception objects that
they have already instantiated.

20 years agokeys need to be null-terminated (how did this not get committed before???)
George Schlossnagle [Thu, 20 May 2004 17:34:52 +0000 (17:34 +0000)]
keys need to be null-terminated (how did this not get committed before???)
bind-by-name includes the leading : in the name

20 years agoAdd methods for error handling
Wez Furlong [Thu, 20 May 2004 17:22:13 +0000 (17:22 +0000)]
Add methods for error handling

20 years agoiactually support :\w+ as binds
George Schlossnagle [Thu, 20 May 2004 17:04:57 +0000 (17:04 +0000)]
iactually support :\w+ as binds

20 years ago- Removed unused INI sections.
Derick Rethans [Thu, 20 May 2004 17:03:24 +0000 (17:03 +0000)]
- Removed unused INI sections.

20 years agoAllowing user defined SOAP transports with SoapClient::__doRequest()
Dmitry Stogov [Thu, 20 May 2004 16:55:03 +0000 (16:55 +0000)]
Allowing user defined SOAP transports with SoapClient::__doRequest()

20 years agozts fix ;)
Wez Furlong [Thu, 20 May 2004 16:17:37 +0000 (16:17 +0000)]
zts fix ;)

20 years agoCorrectly report errors for statment problems.
Ilia Alshanetsky [Thu, 20 May 2004 16:13:13 +0000 (16:13 +0000)]
Correctly report errors for statment problems.

20 years agoError handling support.
Ilia Alshanetsky [Thu, 20 May 2004 15:51:25 +0000 (15:51 +0000)]
Error handling support.
Fixed possible crash when trying to fetch data from a failed query.

20 years agoFixed typo.
Ilia Alshanetsky [Thu, 20 May 2004 15:45:16 +0000 (15:45 +0000)]
Fixed typo.

20 years agoFixed compiler warnings.
Ilia Alshanetsky [Thu, 20 May 2004 13:57:09 +0000 (13:57 +0000)]
Fixed compiler warnings.

20 years agoDon't dup here either
Wez Furlong [Thu, 20 May 2004 10:30:29 +0000 (10:30 +0000)]
Don't dup here either

20 years agoDon't dup here, PDO will do it as needed
Wez Furlong [Thu, 20 May 2004 10:28:26 +0000 (10:28 +0000)]
Don't dup here, PDO will do it as needed

20 years ago- Allow extra parameters to mail to be forced also from virtual host settings.
Derick Rethans [Thu, 20 May 2004 10:24:39 +0000 (10:24 +0000)]
- Allow extra parameters to mail to be forced also from virtual host settings.

20 years agoFix prototype.
Wez Furlong [Thu, 20 May 2004 10:24:17 +0000 (10:24 +0000)]
Fix prototype.
Use user-supplied path before the default when looking for headers

20 years agoMake it compile on windows
Edin Kadribasic [Thu, 20 May 2004 03:02:58 +0000 (03:02 +0000)]
Make it compile on windows

20 years agoPostgreSQL PDO driver.
Edin Kadribasic [Thu, 20 May 2004 02:27:49 +0000 (02:27 +0000)]
PostgreSQL PDO driver.

20 years agoChangeLog update
<changelog@php.net> [Thu, 20 May 2004 00:33:36 +0000 (00:33 +0000)]
ChangeLog update

20 years agoFree vars before calling E_ERROR.
Ilia Alshanetsky [Thu, 20 May 2004 00:11:23 +0000 (00:11 +0000)]
Free vars before calling E_ERROR.

20 years agore-jig error handling, and make it co-operate with the PDO error handling system.
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.

20 years agoFirst cut at a "unified" error handling API. The main thing that is missing
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.

20 years agoFix win32 build
Wez Furlong [Wed, 19 May 2004 21:36:22 +0000 (21:36 +0000)]
Fix win32 build

20 years ago- Allow to build with ext/mysqli
Marcus Boerger [Wed, 19 May 2004 20:57:02 +0000 (20:57 +0000)]
- Allow to build with ext/mysqli

20 years ago- Allow to compile as builtin module
Marcus Boerger [Wed, 19 May 2004 20:56:06 +0000 (20:56 +0000)]
- Allow to compile as builtin module

20 years agoRow count cannot be calculated in MySQL without buffering the query.
Ilia Alshanetsky [Wed, 19 May 2004 20:44:28 +0000 (20:44 +0000)]
Row count cannot be calculated in MySQL without buffering the query.

20 years agoAdded fetchAll and fetchSingle methods for data retrieval.
Ilia Alshanetsky [Wed, 19 May 2004 20:38:53 +0000 (20:38 +0000)]
Added fetchAll and fetchSingle methods for data retrieval.

20 years agoTimeout stuff.
Ilia Alshanetsky [Wed, 19 May 2004 20:38:25 +0000 (20:38 +0000)]
Timeout stuff.

20 years agoAdded support for setting timeout value.
Ilia Alshanetsky [Wed, 19 May 2004 20:34:57 +0000 (20:34 +0000)]
Added support for setting timeout value.

20 years agoPrevent possible crash when working with column containing NULL.
Ilia Alshanetsky [Wed, 19 May 2004 20:34:01 +0000 (20:34 +0000)]
Prevent possible crash when working with column containing NULL.

20 years agoexec() now returns affected row count
George Schlossnagle [Wed, 19 May 2004 19:31:33 +0000 (19:31 +0000)]
exec() now returns affected row count

20 years agoexec() now returns row count
George Schlossnagle [Wed, 19 May 2004 19:27:53 +0000 (19:27 +0000)]
exec() now returns row count

20 years agobuilds on stock rh9 now
George Schlossnagle [Wed, 19 May 2004 18:51:01 +0000 (18:51 +0000)]
builds on stock rh9 now

20 years agoSet correct Win32 line endings and fix ZTS compilation
Frank M. Kromann [Wed, 19 May 2004 18:04:47 +0000 (18:04 +0000)]
Set correct Win32 line endings and fix ZTS compilation

20 years agoAdded lastInsertId() method for retrieving last insert id.
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.

20 years agoSkip spaces between connection params.
Ilia Alshanetsky [Wed, 19 May 2004 17:09:48 +0000 (17:09 +0000)]
Skip spaces between connection params.

20 years agoFixed unregistered bug (memory leak in printf() & friends)
Ard Biesheuvel [Wed, 19 May 2004 16:46:29 +0000 (16:46 +0000)]
Fixed unregistered bug (memory leak in printf() & friends)

20 years agoBetter include path detection.
Ilia Alshanetsky [Wed, 19 May 2004 16:26:06 +0000 (16:26 +0000)]
Better include path detection.

20 years agoAdd simple error code values and a place to store them
Wez Furlong [Wed, 19 May 2004 16:21:43 +0000 (16:21 +0000)]
Add simple error code values and a place to store them

20 years agoLet it install correctly when built via phpize
Wez Furlong [Wed, 19 May 2004 15:27:27 +0000 (15:27 +0000)]
Let it install correctly when built via phpize

20 years agoMore errno stuff.
Ilia Alshanetsky [Wed, 19 May 2004 15:17:52 +0000 (15:17 +0000)]
More errno stuff.

20 years agoFixed possible crash on connection error.
Ilia Alshanetsky [Wed, 19 May 2004 15:14:55 +0000 (15:14 +0000)]
Fixed possible crash on connection error.

20 years agoSimplify config via the use of mysql_config.
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.

20 years agoCopy the headers
Ilia Alshanetsky [Wed, 19 May 2004 14:27:32 +0000 (14:27 +0000)]
Copy the headers

20 years agoTypo
Edin Kadribasic [Wed, 19 May 2004 14:23:59 +0000 (14:23 +0000)]
Typo

20 years agoFix configure
Edin Kadribasic [Wed, 19 May 2004 14:02:36 +0000 (14:02 +0000)]
Fix configure

20 years agoRevise $dbh->exec().
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.

20 years agoAdd $dbh->exec() method.
Wez Furlong [Wed, 19 May 2004 13:43:07 +0000 (13:43 +0000)]
Add $dbh->exec() method.
Rename $dbh->beginWork() to $dbh->beginTransaction().

20 years agoAbort if driver cannot be registered.
Ilia Alshanetsky [Wed, 19 May 2004 13:34:40 +0000 (13:34 +0000)]
Abort if driver cannot be registered.

20 years agoCosmetics
Edin Kadribasic [Wed, 19 May 2004 13:28:05 +0000 (13:28 +0000)]
Cosmetics

20 years agoRemoved unused vars.
Ilia Alshanetsky [Wed, 19 May 2004 13:27:54 +0000 (13:27 +0000)]
Removed unused vars.

20 years agoupdate prototype
Wez Furlong [Wed, 19 May 2004 12:40:50 +0000 (12:40 +0000)]
update prototype

20 years agoUpdate prototype
Wez Furlong [Wed, 19 May 2004 12:40:31 +0000 (12:40 +0000)]
Update prototype

20 years agoUpdate prepare() 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.

20 years agoExpand the prepare() prototype to accept additional options.
Wez Furlong [Wed, 19 May 2004 12:37:31 +0000 (12:37 +0000)]
Expand the prepare() prototype to accept additional options.

20 years agoZTS fix.
Sebastian Bergmann [Wed, 19 May 2004 09:23:15 +0000 (09:23 +0000)]
ZTS fix.

20 years ago- Remove unused blocks
Marcus Boerger [Wed, 19 May 2004 08:56:50 +0000 (08:56 +0000)]
- Remove unused blocks

20 years ago- Remove unused blocks
Marcus Boerger [Wed, 19 May 2004 08:45:46 +0000 (08:45 +0000)]
- Remove unused blocks

20 years agoChangeLog update
<changelog@php.net> [Wed, 19 May 2004 00:34:15 +0000 (00:34 +0000)]
ChangeLog update

20 years agoFixed possible memory leak.
Ilia Alshanetsky [Tue, 18 May 2004 23:26:53 +0000 (23:26 +0000)]
Fixed possible memory leak.

20 years agoBetter header detection.
Ilia Alshanetsky [Tue, 18 May 2004 23:07:22 +0000 (23:07 +0000)]
Better header detection.

20 years agoFixed build.
Ilia Alshanetsky [Tue, 18 May 2004 22:45:53 +0000 (22:45 +0000)]
Fixed build.

20 years agoAllow static builds.
Ilia Alshanetsky [Tue, 18 May 2004 22:31:13 +0000 (22:31 +0000)]
Allow static builds.

20 years agoFix test
Marcus Boerger [Tue, 18 May 2004 21:27:08 +0000 (21:27 +0000)]
Fix test

20 years ago- Need to operate on module pointer in hash table
Marcus Boerger [Tue, 18 May 2004 21:19:15 +0000 (21:19 +0000)]
- Need to operate on module pointer in hash table

20 years agoFix #27638: not cleaning up object files in win32 build
Wez Furlong [Tue, 18 May 2004 21:07:01 +0000 (21:07 +0000)]
Fix #27638: not cleaning up object files in win32 build

20 years agoshould be a strcmp, not a strncmp, thanks, wez
George Schlossnagle [Tue, 18 May 2004 20:57:19 +0000 (20:57 +0000)]
should be a strcmp, not a strncmp, thanks, wez

20 years ago- Make start and length parameter to Limititerator::__construct optional
Marcus Boerger [Tue, 18 May 2004 20:39:35 +0000 (20:39 +0000)]
- Make start and length parameter to Limititerator::__construct optional

20 years agowas leaking query_string's
George Schlossnagle [Tue, 18 May 2004 20:33:30 +0000 (20:33 +0000)]
was leaking query_string's

20 years agosupport the read-only property 'queryString'
George Schlossnagle [Tue, 18 May 2004 20:26:24 +0000 (20:26 +0000)]
support the read-only property 'queryString'

20 years agoFix bug #28438: win32 build fails in non-zts mode
Wez Furlong [Tue, 18 May 2004 20:14:54 +0000 (20:14 +0000)]
Fix bug #28438: win32 build fails in non-zts mode

20 years agoforgotten off the last commit
George Schlossnagle [Tue, 18 May 2004 19:30:43 +0000 (19:30 +0000)]
forgotten off the last commit

20 years agoGive user a nice message when PDO isn't initialized prior to a driver.
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.

20 years agoMinor tweaks
Wez Furlong [Tue, 18 May 2004 19:25:45 +0000 (19:25 +0000)]
Minor tweaks

20 years agotypo..
Wez Furlong [Tue, 18 May 2004 19:25:23 +0000 (19:25 +0000)]
typo..

20 years agomySQL, not Oracle ;)
Wez Furlong [Tue, 18 May 2004 19:06:47 +0000 (19:06 +0000)]
mySQL, not Oracle ;)

20 years agoAdd to win32 build
Wez Furlong [Tue, 18 May 2004 19:03:27 +0000 (19:03 +0000)]
Add to win32 build

20 years agoFixed search path for MySQL.
Ilia Alshanetsky [Tue, 18 May 2004 18:42:36 +0000 (18:42 +0000)]
Fixed search path for MySQL.

20 years agoinitial import of mysql 3.x pdo driver
George Schlossnagle [Tue, 18 May 2004 18:01:52 +0000 (18:01 +0000)]
initial import of mysql 3.x pdo driver

20 years agoZ_TYPE_P is for zvals
Stanislav Malyshev [Tue, 18 May 2004 16:13:57 +0000 (16:13 +0000)]
Z_TYPE_P is for zvals

20 years agoUpdate generated parser
Wez Furlong [Tue, 18 May 2004 15:58:17 +0000 (15:58 +0000)]
Update generated parser

20 years agoAdd parser to win32 build
Wez Furlong [Tue, 18 May 2004 15:58:00 +0000 (15:58 +0000)]
Add parser to win32 build

20 years agoTweaks for win32
Wez Furlong [Tue, 18 May 2004 15:57:46 +0000 (15:57 +0000)]
Tweaks for win32

20 years agofor those without re2c
George Schlossnagle [Tue, 18 May 2004 15:38:25 +0000 (15:38 +0000)]
for those without re2c

20 years agoFix dl() and extension=
Wez Furlong [Tue, 18 May 2004 15:26:32 +0000 (15:26 +0000)]
Fix dl() and extension=

20 years agoRegister according to the type specified by the module.
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)

20 years agolicense/copyright block
George Schlossnagle [Tue, 18 May 2004 15:22:58 +0000 (15:22 +0000)]
license/copyright block

20 years agohandle binding/quoting of queries for drivers with emulated prepares
George Schlossnagle [Tue, 18 May 2004 15:19:31 +0000 (15:19 +0000)]
handle binding/quoting of queries for drivers with emulated prepares

20 years agoFixed command line escaping routines for win32.
Ilia Alshanetsky [Tue, 18 May 2004 13:43:24 +0000 (13:43 +0000)]
Fixed command line escaping routines for win32.

20 years agoMove declarations to the begining of function.
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.

20 years agoTSRM fix
Edin Kadribasic [Tue, 18 May 2004 10:53:53 +0000 (10:53 +0000)]
TSRM fix

20 years agoNo length parameter -> estrdup()
Edin Kadribasic [Tue, 18 May 2004 10:49:06 +0000 (10:49 +0000)]
No length parameter -> estrdup()

20 years agoProbe for some functions; allows pdo_oci to build on the snap machine again.
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.

20 years agoPrimitive support for probing headers for functions using a regexp
Wez Furlong [Tue, 18 May 2004 09:58:45 +0000 (09:58 +0000)]
Primitive support for probing headers for functions using a regexp

20 years agoSkeleton for emulated prepare()
Wez Furlong [Tue, 18 May 2004 08:59:27 +0000 (08:59 +0000)]
Skeleton for emulated prepare()

20 years agoUpdate to match new prototype
Wez Furlong [Tue, 18 May 2004 08:47:10 +0000 (08:47 +0000)]
Update to match new prototype

20 years agoQuoting here leads to problems with databases that really support bound parameters.
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.

20 years agoonly rewrite tmp if quoter returns true
George Schlossnagle [Tue, 18 May 2004 05:34:52 +0000 (05:34 +0000)]
only rewrite tmp if quoter returns true

20 years agoauto-quote values before binding them in at execute time
George Schlossnagle [Tue, 18 May 2004 05:31:01 +0000 (05:31 +0000)]
auto-quote values before binding them in at execute time

20 years agouse new prototype
George Schlossnagle [Tue, 18 May 2004 05:01:16 +0000 (05:01 +0000)]
use new prototype

20 years agowe need the source string length for binary safe string handling
George Schlossnagle [Tue, 18 May 2004 05:00:52 +0000 (05:00 +0000)]
we need the source string length for binary safe string handling