Greg Beaver
aaa7263bdd
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.
2004-05-21 03:33:19 +00:00
3d9c47eed0
ChangeLog update
2004-05-21 00:39:44 +00:00
Ilia Alshanetsky
9cccfa57b6
Fixed stream leak on error.
2004-05-20 23:37:59 +00:00
Wez Furlong
221710e820
Specify that OCI returns column names in upper case by default
2004-05-20 22:29:26 +00:00
Wez Furlong
f0a001a953
Implement case folding of column names as a portability option.
2004-05-20 22:28:53 +00:00
Ilia Alshanetsky
41784bfcff
Kill unused var.
2004-05-20 22:24:30 +00:00
Wez Furlong
e0ac3f66ae
Implement PDO_FETCH_OBJ
...
# todo (after initial release) - specify a particular class, reuse existing
# objects etc.
2004-05-20 22:06:42 +00:00
Wez Furlong
4cdf143184
Fix build on win32
2004-05-20 21:50:25 +00:00
Andrey Hristov
19d0283ce8
for now removing ":public". Waiting for a decision? ":public" will require
...
quite a lot of phpt files changes.
2004-05-20 21:15:42 +00:00
Andrey Hristov
44de5a0e8e
fixing the tests so to work with the new var_dump() (dumping private and
...
protected member variables)
2004-05-20 21:13:14 +00:00
Ilia Alshanetsky
43a04beb46
Make username & password parameters optional.
2004-05-20 20:25:22 +00:00
Ilia Alshanetsky
afb3979882
Fixed parameter order.
2004-05-20 20:22:07 +00:00
Ilia Alshanetsky
ebd608ba18
Added getAttribute() handler.
...
Fixed leak inside exec().
2004-05-20 20:04:11 +00:00
Edin Kadribasic
7f6343e60d
Use native PostgreSQL connect string e.g.
...
$db = new PDO("pgsql:dbname=template1 user=postgres password=secret");
2004-05-20 19:58:51 +00:00
George Schlossnagle
e155ad208a
sigh... need to include the null byte in hash keys
2004-05-20 19:19:04 +00:00
Ilia Alshanetsky
15fb957c61
Added MySQL getAttribute() support.
2004-05-20 19:17:32 +00:00
Wez Furlong
5023a7c61c
Enable setting the different error modes via PDO::setAttribute()
2004-05-20 19:16:49 +00:00
Ilia Alshanetsky
726e188cce
Fixed typo.
2004-05-20 19:14:44 +00:00
Ilia Alshanetsky
42a2b22a4a
Added missing user-land constants.
2004-05-20 19:12:24 +00:00
Edin Kadribasic
9cfeb25667
We quote with ' in real databases
2004-05-20 19:09:36 +00:00
Ilia Alshanetsky
e596466a1f
Added getAttribute() method.
2004-05-20 19:09:35 +00:00
George Schlossnagle
b7b7bedabd
remove debug
2004-05-20 18:50:21 +00:00
George Schlossnagle
c22cb0477c
off by one error
2004-05-20 18:44:12 +00:00
George Schlossnagle
3366916203
set active_query_string to null in case of failure
2004-05-20 18:29:59 +00:00
Ilia Alshanetsky
1c2b47c408
Make sure that the error string is freed.
2004-05-20 18:19:03 +00:00
Ilia Alshanetsky
b7784d96b0
Fixed possible crash.
2004-05-20 18:10:16 +00:00
Ilia Alshanetsky
cf33729c20
Better error message.
2004-05-20 18:05:44 +00:00
Ilia Alshanetsky
f8d045619a
Last insert id (oids) support.
2004-05-20 18:00:24 +00:00
Wez Furlong
3ec72d3ed9
Revert; obviously I missed the function at the bottom of the file...
2004-05-20 17:59:27 +00:00
George Schlossnagle
d16625b803
Support ? as a bind in emulated prepares
...
Throw informative error when pdo_parse_param fails
2004-05-20 17:56:09 +00:00
Andrey Hristov
aafb2b1581
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)
}
2004-05-20 17:46:20 +00:00
Ilia Alshanetsky
38eb52b8a7
Make doer() work.
...
Make error reporting system work.
2004-05-20 17:43:56 +00:00
Wez Furlong
892ec5f535
Export this, so extensions may throw their own exception objects that
...
they have already instantiated.
2004-05-20 17:41:09 +00:00
George Schlossnagle
e3e2370490
keys need to be null-terminated (how did this not get committed before???)
...
bind-by-name includes the leading : in the name
2004-05-20 17:34:52 +00:00
Wez Furlong
04ccc0134d
Add methods for error handling
2004-05-20 17:22:13 +00:00
George Schlossnagle
76b7b5d1e2
iactually support :\w+ as binds
2004-05-20 17:04:57 +00:00
Derick Rethans
ee9cc68848
- Removed unused INI sections.
2004-05-20 17:03:24 +00:00
Dmitry Stogov
38ef28e41b
Allowing user defined SOAP transports with SoapClient::__doRequest()
2004-05-20 16:55:03 +00:00
Wez Furlong
af2aa721df
zts fix ;)
2004-05-20 16:17:37 +00:00
Ilia Alshanetsky
40b04cd54b
Correctly report errors for statment problems.
2004-05-20 16:13:13 +00:00
Ilia Alshanetsky
0d6aa20880
Error handling support.
...
Fixed possible crash when trying to fetch data from a failed query.
2004-05-20 15:51:25 +00:00
Ilia Alshanetsky
fbbb41a53b
Fixed typo.
2004-05-20 15:45:16 +00:00
Ilia Alshanetsky
e770b2b411
Fixed compiler warnings.
2004-05-20 13:57:09 +00:00
Wez Furlong
d55e20660b
Don't dup here either
2004-05-20 10:30:29 +00:00
Wez Furlong
0699938bc4
Don't dup here, PDO will do it as needed
2004-05-20 10:28:26 +00:00
Derick Rethans
dcb0ee6ec4
- Allow extra parameters to mail to be forced also from virtual host settings.
2004-05-20 10:24:39 +00:00
Wez Furlong
d9decf0dfc
Fix prototype.
...
Use user-supplied path before the default when looking for headers
2004-05-20 10:24:17 +00:00
Edin Kadribasic
fa1b0a51d3
Make it compile on windows
2004-05-20 03:02:58 +00:00
Edin Kadribasic
9d6c259988
PostgreSQL PDO driver.
2004-05-20 02:27:49 +00:00
9f5e4a19be
ChangeLog update
2004-05-20 00:33:36 +00:00