Wez Furlong
|
d2a8d5a80f
|
get/set attributes for statements
|
2004-05-25 18:32:48 +00:00 |
|
Wez Furlong
|
7a87af3321
|
Some definitions for cursors.
Define a mechanism for driver-specific attributes.
Use a refcount for the stmt structure.
|
2004-05-25 17:43:24 +00:00 |
|
Ilia Alshanetsky
|
cf75eb8a6f
|
Cleanup.
|
2004-05-25 16:49:32 +00:00 |
|
Ilia Alshanetsky
|
402de24fc4
|
One more leak down.
|
2004-05-25 16:40:54 +00:00 |
|
Ilia Alshanetsky
|
b7ecaca17f
|
More leak fixes.
|
2004-05-25 16:38:28 +00:00 |
|
Ilia Alshanetsky
|
0c762dff03
|
More possible leak fixes (Thanks Tony).
|
2004-05-25 14:47:22 +00:00 |
|
Ilia Alshanetsky
|
9280b88a8c
|
One more memory leak.
|
2004-05-25 14:35:49 +00:00 |
|
Ilia Alshanetsky
|
d782abf416
|
More leak fixes.
|
2004-05-25 14:30:07 +00:00 |
|
Ilia Alshanetsky
|
ce3891347f
|
Fixed memory leak.
|
2004-05-25 14:12:15 +00:00 |
|
Wez Furlong
|
758b7f1ad4
|
Bump the version number
|
2004-05-21 22:26:45 +00:00 |
|
George Schlossnagle
|
4d01a5c2d1
|
ok, apprently we _don't_ want to count the nulls.
|
2004-05-21 22:24:20 +00:00 |
|
George Schlossnagle
|
1ee89e1bea
|
remove debugging
|
2004-05-21 22:20:25 +00:00 |
|
George Schlossnagle
|
518cf77f32
|
fix fubar'd emulated bindings
|
2004-05-21 22:19:33 +00:00 |
|
Wez Furlong
|
25049d6cf8
|
Add some blurb
|
2004-05-21 17:31:49 +00:00 |
|
Wez Furlong
|
597124e128
|
Update package/module
|
2004-05-21 16:53:32 +00:00 |
|
Wez Furlong
|
500922f9a2
|
Update package file
|
2004-05-21 16:38:41 +00:00 |
|
Wez Furlong
|
d8d7dd7e14
|
Allow lazy fetch to work with numeric offsets.
Fix named parameters...
|
2004-05-21 14:31:51 +00:00 |
|
Ilia Alshanetsky
|
37d8a82b4d
|
Fixed compiler warning.
|
2004-05-21 14:27:48 +00:00 |
|
Wez Furlong
|
8f5b212612
|
store the name length in the same manner as it is stored in zvals
|
2004-05-21 14:14:32 +00:00 |
|
Wez Furlong
|
ed83c5bee5
|
Tidy up placeholder flags
|
2004-05-21 14:09:51 +00:00 |
|
Wez Furlong
|
bf48daa8d5
|
Version 1 of PDO_FETCH_LAZY
|
2004-05-21 13:26:58 +00:00 |
|
Wez Furlong
|
f0a001a953
|
Implement case folding of column names as a portability option.
|
2004-05-20 22:28:53 +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 |
|
Ilia Alshanetsky
|
43a04beb46
|
Make username & password parameters optional.
|
2004-05-20 20:25:22 +00:00 |
|
George Schlossnagle
|
e155ad208a
|
sigh... need to include the null byte in hash keys
|
2004-05-20 19:19:04 +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 |
|
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
|
cf33729c20
|
Better error message.
|
2004-05-20 18:05:44 +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 |
|
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 |
|
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
|
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 |
|
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 |
|
George Schlossnagle
|
129997216b
|
exec() now returns row count
|
2004-05-19 19:27:53 +00:00 |
|
Frank M. Kromann
|
7c5c0fbbea
|
Set correct Win32 line endings and fix ZTS compilation
|
2004-05-19 18:04:47 +00:00 |
|
Ilia Alshanetsky
|
074ba3fbc0
|
Added lastInsertId() method for retrieving last insert id.
Made affectedRows() work for MySQL.
Populate error value in MySQL on error.
|
2004-05-19 17:35:39 +00:00 |
|
Ilia Alshanetsky
|
5a4c3234b9
|
Skip spaces between connection params.
|
2004-05-19 17:09:48 +00:00 |
|
Wez Furlong
|
1a91f75193
|
Add simple error code values and a place to store them
|
2004-05-19 16:21:43 +00:00 |
|
Wez Furlong
|
641f2c0c40
|
Let it install correctly when built via phpize
|
2004-05-19 15:27:27 +00:00 |
|
Ilia Alshanetsky
|
c11d6ca38b
|
Copy the headers
|
2004-05-19 14:27:32 +00:00 |
|
Wez Furlong
|
fd6b885a19
|
Revise $dbh->exec().
The driver doer() method should populate dbh->affected_rows if it can determine its value.
|
2004-05-19 13:55:41 +00:00 |
|