Dan Scott
12f1993f8e
Next batch of tests for PDO_ODBC (tested against DB2 V8.2).
2005-03-03 13:53:55 +00:00
Dan Scott
49d1349b9a
Begin porting standard PDO tests to PDO_ODBC, testing against DB2.
2005-03-03 11:49:35 +00:00
Rasmus Lerdorf
99f832a206
If pdo is disabled, skip all the pdo extensions.
2005-02-28 08:18:47 +00:00
Wez Furlong
55f53a5a96
symlinked pdo drivers under ext.
...
Enabled PDO and PDO_SQLITE by default.
Fixup PDO header detection so that it searches in the correct order, and
correctly picks up the headers when building from outside of the source
tree.
TODO: make pdo_XXX auto-enable when XXX is enabled. Volunteers welcome.
2005-02-17 04:23:15 +00:00
Hartmut Holzgraefe
1f98a966c5
fix aclocal "underquoted argument" warnings
2005-02-13 07:31:02 +00:00
Wez Furlong
427c5e0e4f
tidy up error case
2005-02-13 07:00:29 +00:00
Wez Furlong
2a32b478f9
typo-fix error message
2005-02-13 06:27:03 +00:00
Wez Furlong
5edd570b94
Correct the pdo header search order
2005-02-13 06:26:48 +00:00
Wez Furlong
44cec3d456
disable dep for pecl release
2005-02-09 05:12:41 +00:00
Wez Furlong
201ec3dc02
prep for release
2005-02-09 05:04:40 +00:00
Wez Furlong
dbcf51b5a8
a working implementation of LOB input parameters for ODBC.
...
however: when sending in a string from the script, we get a 1 byte overflow
of the pdo parameter structure... Need to install valgrind on the test box
2005-02-07 04:13:32 +00:00
Wez Furlong
ac018c38a8
This might allow piecewise sending of LOB data for input parameters.
2005-02-07 03:27:54 +00:00
Wez Furlong
501000f129
Implement input/output parameters
2005-02-07 01:16:16 +00:00
Wez Furlong
7279fe8ab0
centralize this define
2005-02-07 00:02:51 +00:00
Wez Furlong
3130ed3066
make configure smarter.
...
Update for new get_col() signature
2005-02-06 22:25:33 +00:00
Wez Furlong
c56419ed78
support getting some more attributes
2005-02-06 17:49:48 +00:00
Wez Furlong
0162d0093d
picky picky.
...
Lets make those OUTPUT rather than INPUT-OUTPUT.
We need some flag from the user if they want that.
2005-01-21 06:11:10 +00:00
Wez Furlong
e5b6b0dbee
Allow static build (better detection of PDO headers).
...
Copy error code into driver code, so PDO can handle it correctly.
Less leaks
2005-01-21 04:43:06 +00:00
Wez Furlong
bc55e7f3e2
make use of the query rewriter (even though it doesn't do anything yet)
2005-01-21 04:22:06 +00:00
Wez Furlong
26f97a911b
Eliminate unused parameter.
...
Don't start a transaction when asking for a cursor with pgsql.
Fix parameter binding for sqlite3
2005-01-21 00:39:03 +00:00
Wez Furlong
e28d2c8032
Take a stab at implementing out parameters for odbc
2005-01-19 05:27:15 +00:00
Wez Furlong
769d399be5
add dep
2005-01-19 03:50:32 +00:00
Wez Furlong
ffd35bb63d
allow static linkage.
...
Avoid segv when no username is passed
2005-01-19 03:45:21 +00:00
Wez Furlong
434d068994
*compile before commit *
...
*compile before commit *
*compile before commit *
2005-01-19 01:17:13 +00:00
Wez Furlong
af8bb16ec1
implement nextRowset for ODBC
...
# this might even work first time
2005-01-19 01:13:39 +00:00
Wez Furlong
a9d98544de
Allow drivers to select bind emulation on a per statement basis
2005-01-18 04:58:50 +00:00
Wez Furlong
b234f1e415
tidy up a few things
2005-01-17 05:28:13 +00:00
Wez Furlong
44e77380fb
Missing 1
2005-01-17 01:31:14 +00:00
Wez Furlong
b2fe675636
Support scrollable cursors
2005-01-12 05:58:19 +00:00
Wez Furlong
f9d3469e4f
Add configure support for ODBCRouter and generic ODBC libs.
...
Note that ODBCRouter doesn't directly implement ODBC 3.0, so
using it here won't really work.
Expand the ODBC 3 check to better explain what happened and
how to make progress (e.g.: use an ODBC manager library like
unixODBC).
2005-01-12 02:19:30 +00:00
Wez Furlong
166ca20bed
Fix build
2005-01-11 14:28:37 +00:00
Wez Furlong
70da739031
remove error map; odbc speaks SQLSTATE natively
2005-01-07 05:25:35 +00:00
Wez Furlong
72040f7f2a
more method table adjustments.
...
mysql driver needs work with the error message stuff.
Other drivers need a bit more auditing...
2004-09-23 20:43:11 +00:00
Wez Furlong
2e73bbfdc1
Allow use of scrollable cursor for ODBC
2004-05-25 18:57:50 +00:00
Wez Furlong
70bd032076
Use the correct label for the error message
2004-05-25 18:34:46 +00:00
Wez Furlong
d13d9c6047
Allow setting the cursor name for ODBC statements, so that:
...
UPDATE foo set .... WHERE CURRENT OF <NAME>
statements will work.
2004-05-25 18:33:51 +00:00
Wez Furlong
4d232fb17c
Add flag to control the use of the ODBC cursor emulation library.
...
The default (which should be safe) is to use the cursor library if it is needed.
If for some reason either the driver or the emulation is broken, you may
override this from your script.
2004-05-25 17:44:36 +00:00
Wez Furlong
055848d83a
prep for release
2004-05-22 20:58:36 +00:00
Wez Furlong
d39117c234
Fix buglet in dbh closing.
2004-05-22 15:04:26 +00:00
Wez Furlong
35494bb569
Enable ODBC Connection Pooling.
...
Theoretically better than PHP persistent connections, since ODBC itself takes
care of resetting the connections back to a "ground" state.
Connection pooling defaults to ON, since this is generally useful.
You can turn it off by using:
pdo_odbc.connection_pooling=off
in your php.ini file.
You may configure how ODBC matches connection details to existing connections
by setting this value to "strict" (the default) or "relaxed". You are
encouraged to read the ODBC specs before changing this value.
2004-05-22 14:51:26 +00:00
Wez Furlong
ce5e317cc5
ok MSVC, why didn't you spot *that* one??
2004-05-22 00:38:11 +00:00
Wez Furlong
8d9c384f7f
Fix doer()
...
Implement error handling for ODBC
2004-05-22 00:30:00 +00:00
Wez Furlong
dc57cff2a6
Prep for release
2004-05-21 21:20:00 +00:00
Ilia Alshanetsky
3a5e5ca4d4
Implement ODBC doer.
2004-05-21 16:17:22 +00:00
Wez Furlong
798d437b05
Fix return type here too
2004-05-21 15:33:18 +00:00
Wez Furlong
64f0ec7bde
Update for placeholder flags
2004-05-21 14:15:03 +00:00
Edin Kadribasic
7a214b66ae
Cosmetics
2004-05-19 13:28:05 +00:00
Wez Furlong
777484b561
update prototype
2004-05-19 12:40:50 +00:00
Wez Furlong
5a9864ed2b
Update to match new prototype
2004-05-18 08:47:10 +00:00
Wez Furlong
12acb64696
package.xml
2004-05-18 00:45:58 +00:00
Wez Furlong
d4c5556b8b
Let is build under unix.
...
Tested against IBM DB2 and unixODBC.
Could work with others.
2004-05-17 22:20:11 +00:00
Wez Furlong
d6c4dee168
ODBC (v3 ish) driver for PDO.
...
Will not build under unix yet.
2004-05-17 15:43:01 +00:00