Marcus Boerger
ef2b59f772
- Expand tests to have it work inside PHP 5.0
2005-02-13 18:13:44 +00:00
Marcus Boerger
f860c70362
- In fetch mode PDO_FETCH_CLASS handle constructor args
...
- Add PDOStatement::fetchObject
2005-02-13 17:04:04 +00:00
Marcus Boerger
746d5490cf
- Use runtimeException as base if present (synch with other dbs)
2005-02-13 15:40:15 +00:00
Wez Furlong
0be93c95c9
prep for release
2005-02-13 06:56:16 +00:00
Wez Furlong
81999fdeba
Fix variable declaration
2005-02-13 06:42:19 +00:00
Wez Furlong
078b77619a
commit generated version of the .re
2005-02-13 06:30:36 +00:00
Wez Furlong
0da6a84edf
implement mapping of :name to ? parameters for drivers that only support ?
...
placeholders.
The current restriction is that you may not use the same named parameter
more than one in a given query, as there is a danger of scary things happen
with the zval if it gets bound multiple times.
2005-02-13 06:29:35 +00:00
Wez Furlong
fc51fd11b6
it's only an error in emulation mode; rewrite happens in prepare, which
...
happens before bindParam
2005-02-13 04:00:22 +00:00
Edin Kadribasic
ab9821d8c3
Do not shout :)
2005-02-13 03:27:48 +00:00
Wez Furlong
1051e7076f
Fixes the crash part of PECL Bug #3434 .
2005-02-13 03:26:43 +00:00
Wez Furlong
4d80aaf47a
try to handle OSX issues more gracefully
2005-02-13 01:54:59 +00:00
Ilia Alshanetsky
e5a906dcb9
Updated version without compiler warnings.
2005-02-12 20:34:20 +00:00
Wez Furlong
91eab3e5bc
typo
2005-02-11 02:05:05 +00:00
Wez Furlong
1f06eb1c5c
update in anticipation of a release later tonight
2005-02-11 01:22:44 +00:00
Wez Furlong
ccd242665b
Fix PDO::query() for drivers that emulate bound parameters.
2005-02-11 01:20:59 +00:00
Wez Furlong
69cbb7f958
prep for release
2005-02-10 01:56:20 +00:00
Wez Furlong
3b857ea987
rename ancient method
2005-02-09 23:34:53 +00:00
Ilia Alshanetsky
ee0e2d0ea3
Touch file.
2005-02-09 17:06:13 +00:00
Ilia Alshanetsky
2196c4335b
kill unused var
2005-02-09 16:14:50 +00:00
Ilia Alshanetsky
1b3dd5db8b
remove unused vars.
2005-02-09 15:56:27 +00:00
Wez Furlong
94d5261f73
cosmetic changes
2005-02-09 15:12:41 +00:00
Wez Furlong
f6aa8f5d90
keep a log here for now
2005-02-09 06:44:08 +00:00
Wez Furlong
902ca8c1cf
Expose the quoter method of the driver as PDO::quote().
...
Closes PECL Bug #3393
2005-02-09 06:43:15 +00:00
Wez Furlong
d57a169500
typo fix
2005-02-09 06:14:48 +00:00
Wez Furlong
b9a951aa1a
be realistic...
2005-02-09 04:56:10 +00:00
Wez Furlong
5a2cb4154a
update ready for release
...
# includes big hack to help guide people into running "make install" so
# that the headers get installed; works around a pear bug.
2005-02-09 04:54:56 +00:00
Wez Furlong
5304374fc5
fix typo
2005-02-09 00:38:11 +00:00
Wez Furlong
36e3ea8cb2
add input/output parameter type flag
2005-02-07 01:12:49 +00:00
Wez Furlong
504afcfc5a
and the generated file
2005-02-07 00:26:38 +00:00
Wez Furlong
2bd3536041
handle input LOBs (which are passed as streams) in bound parameter emulation.
...
Update error handling.
2005-02-07 00:26:22 +00:00
Wez Furlong
ccf0a6a557
add a caller_frees parameter to get_col() to allow drivers that need
...
to allocate data on demand to do so without worrying about cleaning it up.
Spec out how LOB parameters are returned.
2005-02-06 22:11:12 +00:00
Wez Furlong
e3ba31e899
better handling of pdo-level errors
2005-02-06 21:05:59 +00:00
Wez Furlong
ec98e744be
touch again
2005-02-06 21:05:28 +00:00
Wez Furlong
ca4dc0361c
this one too
2005-02-06 17:33:12 +00:00
Wez Furlong
9ba84360e3
handle some generic attributes here
2005-02-06 17:25:09 +00:00
Wez Furlong
b2126a848a
This will probably fix PECL Bug #3273
2005-02-06 16:46:18 +00:00
Wez Furlong
257dfcdde7
touch file
2005-02-06 16:29:33 +00:00
Edin Kadribasic
0d9b0606b9
Don't segault when we have placeholders but no bound params
2005-02-06 00:46:17 +00:00
Edin Kadribasic
64e8c3105c
Return lobs as strings for now
2005-02-05 22:46:26 +00:00
Wez Furlong
74821473e2
update separately
2005-02-05 21:30:19 +00:00
Wez Furlong
15e754201f
pass param type to quoter functions
2005-02-05 21:29:42 +00:00
Wez Furlong
ebaf95b13a
make this the right size...
2005-01-23 15:34:48 +00:00
Wez Furlong
7a137a5f84
fix leak
2005-01-21 04:41:52 +00:00
Wez Furlong
8ebcbfdf1b
hrmm. Really really really really touch the timestamp in CVS to avoid
...
crappy makefile annoyance.
2005-01-21 04:34:41 +00:00
Wez Furlong
53af3dc4f2
update
2005-01-21 04:02:41 +00:00
Wez Furlong
dede3c59fe
fix encoding nastiness that snuck in from the copy-n-paste of error code
...
descriptions from a web page.
2005-01-21 03:59:41 +00:00
Wez Furlong
88640832be
and check in the generated c file later, to avoid remaking it in fresh checkouts.
2005-01-21 03:58:09 +00:00
Wez Furlong
6ddbfa0733
Revise query parser so that it can rewrite from one bind syntax to another.
...
Expose it as PDO_API. No drivers utilize this feature yet.
2005-01-21 03:57:06 +00:00
Wez Furlong
dcd3d84ddb
Eliminate unused parameter
2005-01-21 00:38:09 +00:00
Wez Furlong
a39d50c95f
don't propogate an unspecified length to the driver.
...
Drivers will used a 0 length as a hint that the parameter is an in-out or out
parameter.
2005-01-19 05:25:40 +00:00