]> granicus.if.org Git - php/log
php
21 years agoBetter error message.
Ilia Alshanetsky [Thu, 20 May 2004 18:05:44 +0000 (18:05 +0000)]
Better error message.

21 years agoLast insert id (oids) support.
Ilia Alshanetsky [Thu, 20 May 2004 18:00:24 +0000 (18:00 +0000)]
Last insert id (oids) support.

21 years agoRevert; obviously I missed the function at the bottom of the file...
Wez Furlong [Thu, 20 May 2004 17:59:27 +0000 (17:59 +0000)]
Revert; obviously I missed the function at the bottom of the file...

21 years agoSupport ? as a bind in emulated prepares
George Schlossnagle [Thu, 20 May 2004 17:56:09 +0000 (17:56 +0000)]
Support ? as a bind in emulated prepares

Throw informative error when pdo_parse_param fails

21 years agovar_dump() now shows private and protected member variables.
Andrey Hristov [Thu, 20 May 2004 17:46:20 +0000 (17:46 +0000)]
var_dump() now shows private and protected member variables.
Not BC is that since now the public variables are explicitly shown as public
Example :

class a{ protected $a=1; private $b=2;var $c=3;} $a=new a(); var_dump($a);

object(a)#1 (3) {
  ["a:protected"]=>
  int(1)
  ["b:private"]=>
  int(2)
  ["c:public"]=>
  int(3)
}

21 years agoMake doer() work.
Ilia Alshanetsky [Thu, 20 May 2004 17:43:56 +0000 (17:43 +0000)]
Make doer() work.
Make error reporting system work.

21 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.

21 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

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

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

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

21 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()

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

21 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.

21 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.

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

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

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

21 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

21 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.

21 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

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

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

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

21 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.

21 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.

21 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.

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

21 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

21 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

21 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.

21 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.

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

21 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.

21 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.

21 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

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

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

21 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

21 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.

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

21 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)

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

21 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

21 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

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

21 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.

21 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.

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

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

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

21 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.

21 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().

21 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.

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

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

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

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

21 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.

21 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.

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

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

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

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

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

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

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

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

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

21 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

21 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

21 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

21 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

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

21 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'

21 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

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

21 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.

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

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

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

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

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

21 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

21 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

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

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

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

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

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

21 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)

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

21 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

21 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.

21 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.

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

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

21 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.

21 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

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