Commit Graph

26 Commits

Author SHA1 Message Date
Wez Furlong
3ebfbe6bd2 this should always be a string here, but just in case, convert it. 2005-07-19 16:55:22 +00:00
Wez Furlong
43c1a1b73c Closes #33533 by implementing proper dynamic fetching of long text columns. 2005-07-19 15:26:16 +00:00
Wez Furlong
e568ea3277 Limit the size of columns to 64K, so we don't try to allocate 2GB for each text
column coming out of informix.

Refs Bug #33533.

Not totally closed yet; still need to cater for text fields longer than 64k in a sane manner.
2005-07-19 03:39:49 +00:00
Wez Furlong
f21084cb0b don't free the cols until we know we have another rowset 2005-07-09 05:01:14 +00:00
Wez Furlong
dc09c2ef9c DB2 wants us to use the proper ODBC 3 function for closing a cursor. 2005-07-07 14:20:04 +00:00
Wez Furlong
93024bc268 Fix handling of parameter binding.
We need to guess at parameter sizing in some cases (eg: MS Access) as the
SQLDescribeParam() API is an optional feature.
Tidy up error handling.
Add workaround for a shutdown bug that I see with MS ODBC implementation.
(working to determine the precise cause of this).
PDO core test suite now passes all tests.
2005-07-07 12:49:21 +00:00
Ilia Alshanetsky
acbeba2a50 Removed unused var. 2005-04-19 20:55: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
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
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
e28d2c8032 Take a stab at implementing out parameters for odbc 2005-01-19 05:27:15 +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
b234f1e415 tidy up a few things 2005-01-17 05:28:13 +00:00
Wez Furlong
b2fe675636 Support scrollable cursors 2005-01-12 05:58:19 +00:00
Wez Furlong
70da739031 remove error map; odbc speaks SQLSTATE natively 2005-01-07 05:25:35 +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
8d9c384f7f Fix doer()
Implement error handling for ODBC
2004-05-22 00:30:00 +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