Commit Graph

129 Commits

Author SHA1 Message Date
Johannes Schlüter
26b08f9857 Remove main/php3_compat.h, for that a few references to function_entry have
to be replaced by `zend_function_entry`.
2010-03-30 23:03:02 +00:00
Ilia Alshanetsky
d2e14e3f20 Fixed bug #50728 (All PDOExceptions hardcode 'code' property to 0) 2010-01-12 12:46:54 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Rasmus Lerdorf
937358ebc7 Revert attempt at supporting both autoconf 2.13 and
modern versions in the same build chain.  There are
simply too many broken things in 2.13 to make it work.
Cache handling is broken as well which is why I need
to revert the pdo_inc_path cache fix as well.

trunk is now 2.60+ only and I'll work on cleaning out
all the legacy cruft from there.
2009-11-29 06:13:22 +00:00
Rasmus Lerdorf
5a2b41a627 Someone strap down Jani and give him a sedative please.
This makes our toolchain work with the latest versions
of autoconf and avoids a lot of end-user grief.
2009-11-25 01:30:06 +00:00
Felipe Pena
aabf4dc30f - MFH: Fixed bug #48913 (Too long error code strings in pdo_odbc driver) 2009-07-15 02:36:08 +00:00
Felipe Pena
0225d5ef80 - MFH: Fixed bug #48913 (Too long error code strings in pdo_odbc driver) 2009-07-15 02:32:43 +00:00
Kalle Sommer Nielsen
5d3972f73a MFH: Cast to SQLUSMALLINT 2009-05-19 10:25:53 +00:00
Pierre Joye
dbddb21668 - wrong var name 2009-04-23 18:03:05 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Jani Taskinen
b17dc14f18 MFH: nuketh C++ comments 2008-08-03 12:15:55 +00:00
Jani Taskinen
281352fe02 MFH: Fix PDO configure dependancy: If --disable-pdo is used, disable all
MFH: enabled-by-default drivers. Also error out if you try to configure
MFH: a driver as static but pdo is disabled.
2008-07-25 13:46:24 +00:00
Pierre Joye
41976c7ab6 - do not enable an ext when a lib/header fails
- use MESSAGE in mysql*
- use correct CFLAGS for ext/libxml headers
2008-06-23 18:40:29 +00:00
Pierre Joye
58fce3a863 - really check for the dependency, libs and header and don't enable the ext if something is missing 2008-06-22 23:17:22 +00:00
Elizabeth Marie Smith
77e914e6dc [DOC] adds new odbc driver specific ODBC_ATTR_ASSUME_UTF8 to deal with unicode coming out of Microsoft SQL Server and is only relevant on windows, use it if unicode output from the server is garbled and it will autoconvert text - original patch by wez 2008-03-13 16:55:09 +00:00
Nuno Lopes
61eb7ae554 remove unused PHP_EXTNAME_API macros.
#in preparation for the gcc 4 visibility patch
2008-01-03 16:20:33 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Wez Furlong
14ec6825a2 add iODBC support to pdo_odbc 2007-10-08 17:55:40 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Jani Taskinen
fb8aedb046 MFH 2007-07-09 12:38:02 +00:00
Jani Taskinen
7c6f0bd42b MFH: - Use $PHP_LIBDIR where appropriate 2007-07-09 12:33:43 +00:00
Jani Taskinen
d56933b179 MFH: Fixed bug #41870 (PDO_ODBC module linking fails with iODBC) 2007-07-09 11:13:56 +00:00
Hannes Magnusson
c0dd1f4d0b MFH 2007-05-28 12:19:41 +00:00
Marcus Boerger
50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Wez Furlong
3028f7465d Fix for PECL #7755; use the displayable column width as the basis for our
buffer size, as the raw column size can be too small when requesting
a string representation.

Also fix up bogus error output when fetching, and another one of the test
cases to make it run against SQL Server 2005.
2006-10-11 03:07:29 +00:00
Wez Furlong
391ed04adb Fix for PECL bug #8944. Could also be the same problem as pecl #7775. 2006-10-11 02:10:56 +00:00
Wez Furlong
30f98ae77b set min pdo dep to 1.0.3, which will be the new pecl release 2006-05-02 02:43:11 +00:00
Wez Furlong
7614368f8a prep for pecl release 2006-05-02 02:32:40 +00:00
Wez Furlong
ea2037a2d3 fix PECL #6544 2006-04-30 01:42:53 +00:00
Wez Furlong
07e11dcc4d Fix #36632 2006-04-30 01:27:33 +00:00
Wez Furlong
aa5dbc8c92 Fix #35552 2006-04-30 00:52:28 +00:00
Wez Furlong
c5df14364b Fix for #36342; ODBC won't let you bind variables by buffer after "long"
columns.

We simply add a flag that indicates if we've seen any long columns and will
continue to bind the columns the slow way.

While we're at it, increase the maximum length of the column names that we can
handle.
2006-03-27 21:04:12 +00:00
Wez Furlong
85a578e029 Possible fixes for #35552, #35592 and #35620. 2005-12-14 04:56:22 +00:00
Wez Furlong
17683295e4 switch to package2.xml 2005-12-04 22:34:26 +00:00
Wez Furlong
85ad81736c set to 1.0 stable. 2005-11-26 20:50:08 +00:00
Wez Furlong
4e4b98a66d Use right define: ZEND_MODULE_API_NO as these are PHP modules, not Zend extensions 2005-11-25 15:42:26 +00:00
Wez Furlong
268ac81e39 Add pdo_odbc.db2_instance_name ini setting when built against DB2.
This is a convenience for setting up the DB2 environment more easily.
2005-11-25 02:33:04 +00:00
Wez Furlong
6070381f9d prep for pecl release 2005-11-01 03:07:41 +00:00
Dan Scott
e89500cdfb Apply patch for #34900, sight unseen. 2005-10-18 01:05:22 +00:00
Wez Furlong
69f0675a35 Fix for PECL #5433 (rowCount() not set) 2005-09-30 04:19:24 +00:00
Wez Furlong
006922ba18 ensure that this size is initialized correctly 2005-09-26 21:37:33 +00:00
Wez Furlong
08a6122f54 MFH: use PDO:: class constants 2005-09-20 00:46:02 +00:00
Wez Furlong
77d3a41f8a update package.xml files and version numbers, in anticipation of a big bunch of releases. 2005-09-11 05:27:30 +00:00
Wez Furlong
eab79e8de6 prep for pecl release 2005-07-27 03:22:03 +00:00
Wez Furlong
d4348d11dd try to make the test a bit more portable 2005-07-19 16:55:48 +00:00
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
6e7a8f10d1 if we didn't detect an error, don't return -1 rows, as that means that we found an error 2005-07-19 16:54:51 +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