]>
granicus.if.org Git - php/log
Edin Kadribasic [Fri, 21 May 2004 19:09:43 +0000 (19:09 +0000)]
Prepare release
Wez Furlong [Fri, 21 May 2004 17:33:58 +0000 (17:33 +0000)]
Update package/module
Wez Furlong [Fri, 21 May 2004 17:31:49 +0000 (17:31 +0000)]
Add some blurb
Wez Furlong [Fri, 21 May 2004 17:17:55 +0000 (17:17 +0000)]
Ok, so we do need to rinit here after all.
Wez Furlong [Fri, 21 May 2004 17:08:36 +0000 (17:08 +0000)]
Update to reflect recent changes in dl()
Wez Furlong [Fri, 21 May 2004 16:53:32 +0000 (16:53 +0000)]
Update package/module
Wez Furlong [Fri, 21 May 2004 16:38:41 +0000 (16:38 +0000)]
Update package file
Wez Furlong [Fri, 21 May 2004 16:36:37 +0000 (16:36 +0000)]
Better error message to save looking in the wrong place.
Ilia Alshanetsky [Fri, 21 May 2004 16:17:22 +0000 (16:17 +0000)]
Implement ODBC doer.
Wez Furlong [Fri, 21 May 2004 15:33:18 +0000 (15:33 +0000)]
Fix return type here too
Wez Furlong [Fri, 21 May 2004 15:29:09 +0000 (15:29 +0000)]
Fix return type
Wez Furlong [Fri, 21 May 2004 15:25:22 +0000 (15:25 +0000)]
Fix setAttribute for oci.
Fix some compiler warnings
Derick Rethans [Fri, 21 May 2004 15:09:34 +0000 (15:09 +0000)]
- Fixed order (again)
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)
Wez Furlong [Fri, 21 May 2004 14:31:51 +0000 (14:31 +0000)]
Allow lazy fetch to work with numeric offsets.
Fix named parameters...
Ilia Alshanetsky [Fri, 21 May 2004 14:27:48 +0000 (14:27 +0000)]
Fixed compiler warning.
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
Wez Furlong [Fri, 21 May 2004 14:15:03 +0000 (14:15 +0000)]
Update for placeholder flags
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
Wez Furlong [Fri, 21 May 2004 14:09:51 +0000 (14:09 +0000)]
Tidy up placeholder flags
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
Wez Furlong [Fri, 21 May 2004 13:26:58 +0000 (13:26 +0000)]
Version 1 of PDO_FETCH_LAZY
Ard Biesheuvel [Fri, 21 May 2004 13:14:56 +0000 (13:14 +0000)]
Make sure METADATALENGTH is defined (used by IB 7)
Derick Rethans [Fri, 21 May 2004 08:16:13 +0000 (08:16 +0000)]
- Fixed TSRM problem in latest commit.
Derick Rethans [Fri, 21 May 2004 08:11:43 +0000 (08:11 +0000)]
- Fixed bug #28456 (Problem with enclosed / in uploaded file names)
Greg Beaver [Fri, 21 May 2004 03:43:58 +0000 (03:43 +0000)]
fix missing assignment
$this->_errors = array_filter($this->_errors);
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.
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.
<changelog@php.net> [Fri, 21 May 2004 00:39:44 +0000 (00:39 +0000)]
ChangeLog update
Ilia Alshanetsky [Thu, 20 May 2004 23:37:59 +0000 (23:37 +0000)]
Fixed stream leak on error.
Wez Furlong [Thu, 20 May 2004 22:29:26 +0000 (22:29 +0000)]
Specify that OCI returns column names in upper case by default
Wez Furlong [Thu, 20 May 2004 22:28:53 +0000 (22:28 +0000)]
Implement case folding of column names as a portability option.
Ilia Alshanetsky [Thu, 20 May 2004 22:24:30 +0000 (22:24 +0000)]
Kill unused var.
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.
Wez Furlong [Thu, 20 May 2004 21:50:25 +0000 (21:50 +0000)]
Fix build on win32
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.
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)
Ilia Alshanetsky [Thu, 20 May 2004 20:25:22 +0000 (20:25 +0000)]
Make username & password parameters optional.
Ilia Alshanetsky [Thu, 20 May 2004 20:22:07 +0000 (20:22 +0000)]
Fixed parameter order.
Ilia Alshanetsky [Thu, 20 May 2004 20:04:11 +0000 (20:04 +0000)]
Added getAttribute() handler.
Fixed leak inside exec().
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");
George Schlossnagle [Thu, 20 May 2004 19:19:04 +0000 (19:19 +0000)]
sigh... need to include the null byte in hash keys
Ilia Alshanetsky [Thu, 20 May 2004 19:17:32 +0000 (19:17 +0000)]
Added MySQL getAttribute() support.
Wez Furlong [Thu, 20 May 2004 19:16:49 +0000 (19:16 +0000)]
Enable setting the different error modes via PDO::setAttribute()
Ilia Alshanetsky [Thu, 20 May 2004 19:14:44 +0000 (19:14 +0000)]
Fixed typo.
Ilia Alshanetsky [Thu, 20 May 2004 19:12:24 +0000 (19:12 +0000)]
Added missing user-land constants.
Edin Kadribasic [Thu, 20 May 2004 19:09:36 +0000 (19:09 +0000)]
We quote with ' in real databases
Ilia Alshanetsky [Thu, 20 May 2004 19:09:35 +0000 (19:09 +0000)]
Added getAttribute() method.
George Schlossnagle [Thu, 20 May 2004 18:50:21 +0000 (18:50 +0000)]
remove debug
George Schlossnagle [Thu, 20 May 2004 18:44:12 +0000 (18:44 +0000)]
off by one error
George Schlossnagle [Thu, 20 May 2004 18:29:59 +0000 (18:29 +0000)]
set active_query_string to null in case of failure
Ilia Alshanetsky [Thu, 20 May 2004 18:19:03 +0000 (18:19 +0000)]
Make sure that the error string is freed.
Ilia Alshanetsky [Thu, 20 May 2004 18:10:16 +0000 (18:10 +0000)]
Fixed possible crash.
Ilia Alshanetsky [Thu, 20 May 2004 18:05:44 +0000 (18:05 +0000)]
Better error message.
Ilia Alshanetsky [Thu, 20 May 2004 18:00:24 +0000 (18:00 +0000)]
Last insert id (oids) support.
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...
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
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)
}
Ilia Alshanetsky [Thu, 20 May 2004 17:43:56 +0000 (17:43 +0000)]
Make doer() work.
Make error reporting system work.
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.
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
Wez Furlong [Thu, 20 May 2004 17:22:13 +0000 (17:22 +0000)]
Add methods for error handling
George Schlossnagle [Thu, 20 May 2004 17:04:57 +0000 (17:04 +0000)]
iactually support :\w+ as binds
Derick Rethans [Thu, 20 May 2004 17:03:24 +0000 (17:03 +0000)]
- Removed unused INI sections.
Dmitry Stogov [Thu, 20 May 2004 16:55:03 +0000 (16:55 +0000)]
Allowing user defined SOAP transports with SoapClient::__doRequest()
Wez Furlong [Thu, 20 May 2004 16:17:37 +0000 (16:17 +0000)]
zts fix ;)
Ilia Alshanetsky [Thu, 20 May 2004 16:13:13 +0000 (16:13 +0000)]
Correctly report errors for statment problems.
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.
Ilia Alshanetsky [Thu, 20 May 2004 15:45:16 +0000 (15:45 +0000)]
Fixed typo.
Ilia Alshanetsky [Thu, 20 May 2004 13:57:09 +0000 (13:57 +0000)]
Fixed compiler warnings.
Wez Furlong [Thu, 20 May 2004 10:30:29 +0000 (10:30 +0000)]
Don't dup here either
Wez Furlong [Thu, 20 May 2004 10:28:26 +0000 (10:28 +0000)]
Don't dup here, PDO will do it as needed
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.
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
Edin Kadribasic [Thu, 20 May 2004 03:02:58 +0000 (03:02 +0000)]
Make it compile on windows
Edin Kadribasic [Thu, 20 May 2004 02:27:49 +0000 (02:27 +0000)]
PostgreSQL PDO driver.
<changelog@php.net> [Thu, 20 May 2004 00:33:36 +0000 (00:33 +0000)]
ChangeLog update
Ilia Alshanetsky [Thu, 20 May 2004 00:11:23 +0000 (00:11 +0000)]
Free vars before calling E_ERROR.
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.