]> granicus.if.org Git - php/log
php
20 years agoPrepare release
Edin Kadribasic [Fri, 21 May 2004 19:09:43 +0000 (19:09 +0000)]
Prepare release

20 years agoUpdate package/module
Wez Furlong [Fri, 21 May 2004 17:33:58 +0000 (17:33 +0000)]
Update package/module

20 years agoAdd some blurb
Wez Furlong [Fri, 21 May 2004 17:31:49 +0000 (17:31 +0000)]
Add some blurb

20 years agoOk, so we do need to rinit here after all.
Wez Furlong [Fri, 21 May 2004 17:17:55 +0000 (17:17 +0000)]
Ok, so we do need to rinit here after all.

20 years agoUpdate to reflect recent changes in dl()
Wez Furlong [Fri, 21 May 2004 17:08:36 +0000 (17:08 +0000)]
Update to reflect recent changes in dl()

20 years agoUpdate package/module
Wez Furlong [Fri, 21 May 2004 16:53:32 +0000 (16:53 +0000)]
Update package/module

20 years agoUpdate package file
Wez Furlong [Fri, 21 May 2004 16:38:41 +0000 (16:38 +0000)]
Update package file

20 years agoBetter error message to save looking in the wrong place.
Wez Furlong [Fri, 21 May 2004 16:36:37 +0000 (16:36 +0000)]
Better error message to save looking in the wrong place.

20 years agoImplement ODBC doer.
Ilia Alshanetsky [Fri, 21 May 2004 16:17:22 +0000 (16:17 +0000)]
Implement ODBC doer.

20 years agoFix return type here too
Wez Furlong [Fri, 21 May 2004 15:33:18 +0000 (15:33 +0000)]
Fix return type here too

20 years agoFix return type
Wez Furlong [Fri, 21 May 2004 15:29:09 +0000 (15:29 +0000)]
Fix return type

20 years agoFix setAttribute for oci.
Wez Furlong [Fri, 21 May 2004 15:25:22 +0000 (15:25 +0000)]
Fix setAttribute for oci.
Fix some compiler warnings

20 years ago- Fixed order (again)
Derick Rethans [Fri, 21 May 2004 15:09:34 +0000 (15:09 +0000)]
- Fixed order (again)

20 years agoFixed bug #28239 (No results returned on SOAP call, no error given)
Dmitry Stogov [Fri, 21 May 2004 14:50:19 +0000 (14:50 +0000)]
Fixed bug #28239 (No results returned on SOAP call, no error given)

20 years agoAllow lazy fetch to work with numeric offsets.
Wez Furlong [Fri, 21 May 2004 14:31:51 +0000 (14:31 +0000)]
Allow lazy fetch to work with numeric offsets.
Fix named parameters...

20 years agoFixed compiler warning.
Ilia Alshanetsky [Fri, 21 May 2004 14:27:48 +0000 (14:27 +0000)]
Fixed compiler warning.

20 years agoRemoved strcpy() call from most common case
Ard Biesheuvel [Fri, 21 May 2004 14:24:34 +0000 (14:24 +0000)]
Removed strcpy() call from most common case
Added test for hash index generation

20 years agoUpdate for placeholder flags
Wez Furlong [Fri, 21 May 2004 14:15:03 +0000 (14:15 +0000)]
Update for placeholder flags

20 years agostore the name length in the same manner as it is stored in zvals
Wez Furlong [Fri, 21 May 2004 14:14:32 +0000 (14:14 +0000)]
store the name length in the same manner as it is stored in zvals

20 years agoTidy up placeholder flags
Wez Furlong [Fri, 21 May 2004 14:09:51 +0000 (14:09 +0000)]
Tidy up placeholder flags

20 years agoAdded test for duplicate field names when returning rows as hashes or objects
Ard Biesheuvel [Fri, 21 May 2004 13:46:04 +0000 (13:46 +0000)]
Added test for duplicate field names when returning rows as hashes or objects
# This change should be in 5.0.0, as it might break BC

20 years agoVersion 1 of PDO_FETCH_LAZY
Wez Furlong [Fri, 21 May 2004 13:26:58 +0000 (13:26 +0000)]
Version 1 of PDO_FETCH_LAZY

20 years agoMake sure METADATALENGTH is defined (used by IB 7)
Ard Biesheuvel [Fri, 21 May 2004 13:14:56 +0000 (13:14 +0000)]
Make sure METADATALENGTH is defined (used by IB 7)

20 years ago- Fixed TSRM problem in latest commit.
Derick Rethans [Fri, 21 May 2004 08:16:13 +0000 (08:16 +0000)]
- Fixed TSRM problem in latest commit.

20 years ago- Fixed bug #28456 (Problem with enclosed / in uploaded file names)
Derick Rethans [Fri, 21 May 2004 08:11:43 +0000 (08:11 +0000)]
- Fixed bug #28456 (Problem with enclosed / in uploaded file names)

20 years agofix missing assignment
Greg Beaver [Fri, 21 May 2004 03:43:58 +0000 (03:43 +0000)]
fix missing assignment
$this->_errors = array_filter($this->_errors);

20 years agofix for BC break
Greg Beaver [Fri, 21 May 2004 03:33:51 +0000 (03:33 +0000)]
fix for BC break
staticGetErrors adds the parameter $level between $purge and $merge, as it will be as common (or more common) as $purge.

20 years agoSeveral issues resolved.
Greg Beaver [Fri, 21 May 2004 03:33:19 +0000 (03:33 +0000)]
Several issues resolved.
fix 1444: PEAR_ErrorStack->push() needs to validate $msg and $code as string/int
add error level checking to hasErrors() and getErrors().
BC break!!:
staticGetErrors adds the parameter $level between $purge and $merge, as it will be as common (or more common) as $purge.

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

20 years agoFixed stream leak on error.
Ilia Alshanetsky [Thu, 20 May 2004 23:37:59 +0000 (23:37 +0000)]
Fixed stream leak on error.

20 years agoSpecify that OCI returns column names in upper case by default
Wez Furlong [Thu, 20 May 2004 22:29:26 +0000 (22:29 +0000)]
Specify that OCI returns column names in upper case by default

20 years agoImplement case folding of column names as a portability option.
Wez Furlong [Thu, 20 May 2004 22:28:53 +0000 (22:28 +0000)]
Implement case folding of column names as a portability option.

20 years agoKill unused var.
Ilia Alshanetsky [Thu, 20 May 2004 22:24:30 +0000 (22:24 +0000)]
Kill unused var.

20 years agoImplement PDO_FETCH_OBJ
Wez Furlong [Thu, 20 May 2004 22:06:42 +0000 (22:06 +0000)]
Implement PDO_FETCH_OBJ

# todo (after initial release) - specify a particular class, reuse existing
# objects etc.

20 years agoFix build on win32
Wez Furlong [Thu, 20 May 2004 21:50:25 +0000 (21:50 +0000)]
Fix build on win32

20 years agofor now removing ":public". Waiting for a decision? ":public" will require
Andrey Hristov [Thu, 20 May 2004 21:15:42 +0000 (21:15 +0000)]
for now removing ":public". Waiting for a decision? ":public" will require
quite a lot of phpt files changes.

20 years agofixing the tests so to work with the new var_dump() (dumping private and
Andrey Hristov [Thu, 20 May 2004 21:13:14 +0000 (21:13 +0000)]
fixing the tests so to work with the new var_dump() (dumping private and
protected member variables)

20 years agoMake username & password parameters optional.
Ilia Alshanetsky [Thu, 20 May 2004 20:25:22 +0000 (20:25 +0000)]
Make username & password parameters optional.

20 years agoFixed parameter order.
Ilia Alshanetsky [Thu, 20 May 2004 20:22:07 +0000 (20:22 +0000)]
Fixed parameter order.

20 years agoAdded getAttribute() handler.
Ilia Alshanetsky [Thu, 20 May 2004 20:04:11 +0000 (20:04 +0000)]
Added getAttribute() handler.
Fixed leak inside exec().

20 years agoUse native PostgreSQL connect string e.g.
Edin Kadribasic [Thu, 20 May 2004 19:58:51 +0000 (19:58 +0000)]
Use native PostgreSQL connect string e.g.
$db = new PDO("pgsql:dbname=template1 user=postgres password=secret");

20 years agosigh... need to include the null byte in hash keys
George Schlossnagle [Thu, 20 May 2004 19:19:04 +0000 (19:19 +0000)]
sigh...  need to include the null byte in hash keys

20 years agoAdded MySQL getAttribute() support.
Ilia Alshanetsky [Thu, 20 May 2004 19:17:32 +0000 (19:17 +0000)]
Added MySQL getAttribute() support.

20 years agoEnable setting the different error modes via PDO::setAttribute()
Wez Furlong [Thu, 20 May 2004 19:16:49 +0000 (19:16 +0000)]
Enable setting the different error modes via PDO::setAttribute()

20 years agoFixed typo.
Ilia Alshanetsky [Thu, 20 May 2004 19:14:44 +0000 (19:14 +0000)]
Fixed typo.

20 years agoAdded missing user-land constants.
Ilia Alshanetsky [Thu, 20 May 2004 19:12:24 +0000 (19:12 +0000)]
Added missing user-land constants.

20 years agoWe quote with ' in real databases
Edin Kadribasic [Thu, 20 May 2004 19:09:36 +0000 (19:09 +0000)]
We quote with ' in real databases

20 years agoAdded getAttribute() method.
Ilia Alshanetsky [Thu, 20 May 2004 19:09:35 +0000 (19:09 +0000)]
Added getAttribute() method.

20 years agoremove debug
George Schlossnagle [Thu, 20 May 2004 18:50:21 +0000 (18:50 +0000)]
remove debug

20 years agooff by one error
George Schlossnagle [Thu, 20 May 2004 18:44:12 +0000 (18:44 +0000)]
off by one error

20 years agoset active_query_string to null in case of failure
George Schlossnagle [Thu, 20 May 2004 18:29:59 +0000 (18:29 +0000)]
set active_query_string to null in case of failure

20 years agoMake sure that the error string is freed.
Ilia Alshanetsky [Thu, 20 May 2004 18:19:03 +0000 (18:19 +0000)]
Make sure that the error string is freed.

20 years agoFixed possible crash.
Ilia Alshanetsky [Thu, 20 May 2004 18:10:16 +0000 (18:10 +0000)]
Fixed possible crash.

20 years agoBetter error message.
Ilia Alshanetsky [Thu, 20 May 2004 18:05:44 +0000 (18:05 +0000)]
Better error message.

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

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

20 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

20 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)
}

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

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.