Jani Taskinen
3f73317c79
- Fix PDO configure dependancy: If --disable-pdo is used, disable all enabled-by-default drivers. Also error out if you try to configure a driver as static but pdo is disabled.
2008-07-25 13:38:41 +00:00
Nuno Lopes
1dc0e94e0f
MFB: remove unused PHP_EXTNAME_API macros.
...
#in preparation for the gcc 4 visibility patch
2008-01-03 16:18:29 +00:00
Dmitry Stogov
8146078f7b
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:28:44 +00:00
Jani Taskinen
45c42df6e2
- Better wording
2007-07-09 12:35:37 +00:00
Jani Taskinen
670a2bd367
- Use $PHP_LIBDIR where appropriate
2007-07-09 12:33:27 +00:00
Jani Taskinen
68270b6499
- Fixed bug #41870 (PDO_ODBC module linking fails with iODBC)
2007-07-09 11:13:38 +00:00
Hannes Magnusson
63052d2a85
Remove weird useless entries
2007-05-28 12:18:26 +00:00
Marcus Boerger
20a40063c5
- avoid sprintf
2007-02-24 16:25:58 +00:00
Pierre Joye
26c54d4c42
- build fix the other driver as well (a macro would be nicer)
2006-12-10 03:12:11 +00:00
Antony Dovgal
faf0146281
test. please ignore
2006-12-06 20:21:27 +00:00
Wez Furlong
145bdfa9a4
Use right define: ZEND_MODULE_API_NO as these are PHP modules, not Zend extensions
2005-11-25 15:44:40 +00:00
Dan Scott
887901c35c
Apply patch for #34900 , sight unseen.
2005-10-18 01:01:32 +00:00
Wez Furlong
ed6fa70f49
use PDO:: class constants
2005-09-20 00:45:16 +00:00
Wez Furlong
f6276a2b8a
zts fixes
2005-08-12 23:32:31 +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
Wez Furlong
0d7fa88b4e
Fix #33624 , mysterious crashes on shutdown on win32
2005-07-10 14:56:36 +00:00
Wez Furlong
3d373f86f0
Related to #33624 . Crashes for me on shutdown, but seems ok for the rest of the world.
2005-07-09 18:52:36 +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
fff515bc46
more paranoia about the attribute param here too
2005-07-07 13:56:39 +00:00
Wez Furlong
ce3c90414b
Hmm, these ldflags went AWOL.
2005-07-07 13:42:12 +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
Wez Furlong
e39f37d36b
replace pdo_odbc tests with new redirection thingy
2005-07-06 06:10:52 +00:00
Wez Furlong
372c38a53a
build related adjustments.
...
These need to be included in beta 2
2005-06-22 08:45:22 +00:00
Dan Scott
4187a6e3c7
Bring PDO_ODBC tests in sync with PDO base tests.
2005-06-15 00:17:18 +00:00
foobar
1cd9875465
Partial revert: AC_DEFINE / PHP_HAVE_DEF need to be called once only per macro
2005-06-14 02:18:18 +00:00
foobar
8eeff6d2d4
- Fixed some places which might cause problems
...
- Changed the "general" flavour to have libname parameter (given without the
lib prefix of course)
# bug #33316 should be fixed now too
2005-06-14 01:42:31 +00:00
foobar
15cf2a60b0
- Added PHP_CHECK_PDO_INCLUDES macro (caches the result)
2005-06-14 00:00:53 +00:00
Wez Furlong
986800ce88
hunting for a bug. Looks like it might be yet-another-mysterious-shutdown problem.
2005-06-11 14:48:06 +00:00
Dan Scott
b21bf3d357
PDO_ODBC returns strings for all data types. Bring expected output in line.
2005-06-11 14:01:46 +00:00
Wez Furlong
ecce72aa83
become a better config.m4 citizen
2005-06-11 13:27:50 +00:00
Wez Furlong
183c8aa287
Fix for PECL #3714 : beginTransaction doesn't work if you're in auto-commit mode.
2005-06-11 12:38:12 +00:00
Wez Furlong
f1569c199e
test commit
2005-06-06 17:47:49 +00:00
foobar
a20383ba06
- Unify the "configure --help" texts
2005-05-29 23:17:16 +00:00
Ilia Alshanetsky
acbeba2a50
Removed unused var.
2005-04-19 20:55:02 +00:00
Dan Scott
e90582a990
Add test for PDOStatement::getColumnMeta().
...
Note that PDO_ODBC test fails as it is currently unimplemented.
2005-03-09 00:20:07 +00:00
Dan Scott
83dfcbf3f6
Add simple tests for insert through PDO::prepare/PDOStatement::execute.
...
Tests both question mark placeholders and named parameters.
2005-03-08 18:12:22 +00:00
Dan Scott
570976d236
Add a test for PDOStatement::columnCount().
2005-03-08 17:39:41 +00:00
Dan Scott
48a6151051
Test PDO::beginTransaction and PDO::rollBack.
2005-03-05 21:03:12 +00:00
Dan Scott
fc825e2071
Missed this one...
2005-03-05 15:48:54 +00:00
Dan Scott
5ce920f189
One more PDO_ODBC test (tested with DB2 V8.2).
2005-03-03 20:30:38 +00:00
Dan Scott
dc4501cf99
Next three tests for PDO_ODBC (tested with DB2 V8.2).
2005-03-03 20:23:29 +00:00
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