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
Ilia Alshanetsky
28aca30c13
Free vars before calling E_ERROR.
2004-05-20 00:11:23 +00:00
Wez Furlong
04c35e3d91
re-jig error handling, and make it co-operate with the PDO error handling system.
...
Implement $dbh->exec() for OCI.
2004-05-20 00:06:30 +00:00
Wez Furlong
e7c72f8455
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.
2004-05-20 00:05:22 +00:00
Wez Furlong
08ce920c9e
Fix win32 build
2004-05-19 21:36:22 +00:00
Marcus Boerger
0a242a52b3
- Allow to build with ext/mysqli
2004-05-19 20:57:02 +00:00
Marcus Boerger
fd90645613
- Allow to compile as builtin module
2004-05-19 20:56:06 +00:00
Ilia Alshanetsky
862247693f
Row count cannot be calculated in MySQL without buffering the query.
2004-05-19 20:44:28 +00:00
Ilia Alshanetsky
c98a99c263
Added fetchAll and fetchSingle methods for data retrieval.
2004-05-19 20:38:53 +00:00
Ilia Alshanetsky
676dfcf581
Timeout stuff.
2004-05-19 20:38:25 +00:00
Ilia Alshanetsky
f4b5abc948
Added support for setting timeout value.
2004-05-19 20:34:57 +00:00
Ilia Alshanetsky
56abe4de4a
Prevent possible crash when working with column containing NULL.
2004-05-19 20:34:01 +00:00
George Schlossnagle
38a409c02f
exec() now returns affected row count
2004-05-19 19:31:33 +00:00
George Schlossnagle
129997216b
exec() now returns row count
2004-05-19 19:27:53 +00:00
George Schlossnagle
ee1241ab1a
builds on stock rh9 now
2004-05-19 18:51:01 +00:00
Frank M. Kromann
7c5c0fbbea
Set correct Win32 line endings and fix ZTS compilation
2004-05-19 18:04:47 +00:00