Antony Dovgal
5aa42a202a
fix typos in error messages & resource name
2005-01-20 09:57:57 +00:00
Dmitry Stogov
56025c6a1a
Support for HTTPS with digital certificates.
2005-01-20 06:08:04 +00:00
Wez Furlong
1312fe469e
Fix segfault on stmt close.
...
Make scrollable cursors actually work
2005-01-20 06:06:26 +00:00
Wez Furlong
e21e1c65e3
Juggle/enhance mssql library detection
2005-01-20 05:09:06 +00:00
Wez Furlong
84aa902015
Generate pdo_oci.dll for modern SDKs and pdo_oci8.dll for ye-olde oci805 libs.
...
I'm told that oci805 is required for connectivity to oci805 servers, which are
no longer supported in more recent SDK releases.
Edin: please grab:
http://download.oracle.com/otn/nt/instantclient/instantclient-basic-win32-10.1.0.3-20050113.zip
http://download.oracle.com/otn/nt/instantclient/instantclient-sdk-win32-10.1.0.3-20050113.zip
and extract them under php_build, so that you end up with php_build/instantclient10_1
2005-01-20 03:33:17 +00:00
Wez Furlong
9fe37737f9
generate dblib and mssql variants in the same build
2005-01-20 03:29:53 +00:00
foobar
2c65e09a4b
- Revert the weird change of ZEND_STRS() macro and use the correct
...
ZEND_STRL() macro.
# ZEND_STRS was changed to be same as ZEND_STRL..someone on crack? :)
2005-01-20 02:02:09 +00:00
Wez Furlong
e28d2c8032
Take a stab at implementing out parameters for odbc
2005-01-19 05:27:15 +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
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
a536e31fb1
leak/segv less
2005-01-19 03:44:49 +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
544d61873d
proto bool PDOStatement::nextRowset()
...
Advances to the next rowset in a multi-rowset statement handle. Returns true if
it succeded, false otherwise
2005-01-19 01:12:52 +00:00
Wez Furlong
9b36089838
let it compile again
2005-01-19 00:33:56 +00:00
foobar
c245e1f0f7
- ldap_start_tls() requires ldapv3 protocol -> force it
2005-01-19 00:27:21 +00:00
Ilia Alshanetsky
c78db34489
Fixed bug #31142 (crash, memory leak and data loss by imap_mail_compose).
2005-01-18 23:36:08 +00:00
Frank M. Kromann
736ff0319a
Set the MSSQL_VERSION to FreeTDS when that lib is used
2005-01-18 22:39:01 +00:00
Frank M. Kromann
4b4cde0702
Rename php_freetds.dll to php_dblib.dll (still using the freetds libs).
...
Allow the build of both versions in the same process
2005-01-18 22:38:24 +00:00
Antony Dovgal
84fe72612e
add checks for libs & headers required by IBM DB2
2005-01-18 21:16:32 +00:00
Ilia Alshanetsky
023c1bccb3
Fixed bug #31480 (Possible infinite loop in imap_mail_compose()).
2005-01-18 16:32:53 +00:00
Ilia Alshanetsky
1e6454a67b
Fixed bug #31479 (Fixed crash in chunk_split(), when chunklen > strlen).
2005-01-18 15:47:57 +00:00
foobar
64e40c2271
- Make sure FD_CLOEXEC is always defined.
2005-01-18 15:44:33 +00:00
Antony Dovgal
63fbc27466
fix bug #30430 (odbc_next_result() doesn't bind values and that results in segfault)
...
fix protos
2005-01-18 15:03:51 +00:00
foobar
197711bb7d
Add test for bug #31402
2005-01-18 11:36:44 +00:00
foobar
bed68d8828
Touch the generated file.
2005-01-18 10:57:05 +00:00
Dmitry Stogov
ea6ea21939
Fixed bug #31190 (exceptions in call_user_func_array())
2005-01-18 10:38:04 +00:00
Frank M. Kromann
25917d5885
Make this compile with the generic ntwdblib from Microsoft
2005-01-18 07:17:01 +00:00
Frank M. Kromann
14821bb8cf
use the static dblib.lib to avoid the need for extra dll's
2005-01-18 06:42:08 +00:00
Frank M. Kromann
008d859df9
add --with-freetds option to win32 build.
...
TODO make it work when both mssql and freetds is included or bail out with an error
2005-01-18 06:32:11 +00:00
Frank M. Kromann
01b426c452
make the mssql extension work with freetds on win32
2005-01-18 06:29:45 +00:00
Frank M. Kromann
d56b42bec4
make the mssql extension work with freetds on win32
2005-01-18 06:09:48 +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
d911f19862
doh
2005-01-18 04:35:47 +00:00
Wez Furlong
505fbb1966
nice and fluffy error handling
2005-01-18 02:42:52 +00:00
Wez Furlong
8b35436cb1
remove error and hook up rowCount
2005-01-18 00:58:15 +00:00
Wez Furlong
37ea5fbeb5
Tidy up driver specific method handling
2005-01-17 23:59:16 +00:00
Antony Dovgal
7c152b6a8e
fix weird DB2 issue:
...
DB2's SQLDataSources() returns _max available_ length of result string instead of
_real_ length and that results in strings a-la "\0 "
2005-01-17 18:08:54 +00:00
foobar
e82eb93cf2
- Added some sanity checks by changing to the parameter parsing API
2005-01-17 17:07:28 +00:00
Christian Stocker
8d10b52ddf
fix protos (by Mehdi Achour )
2005-01-17 15:56:17 +00:00
Antony Dovgal
acbdbe1e65
fix leak appearing when odbc_errormsg() got invalid resource
2005-01-17 15:05:11 +00:00
Stefan Esser
da7001a6c3
Fix compiler warning.
2005-01-17 11:45:09 +00:00
Edin Kadribasic
095a6f1eb3
Use PQescapeBytea() for quoting. Need to think how to add binary safe
...
quoting for blobls (pgsql bytea type).
Fixes #2818
2005-01-17 10:37:41 +00:00
Wez Furlong
3a751f37c6
don't raise errors for the no-error case
2005-01-17 05:28:46 +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
ca98805935
Add a PDO driver for Sybase style DB-lib (including MS SQL).
...
Only the basics are here right now.
2005-01-17 01:15:14 +00:00
Zak Greant
f3d39ff406
Added standard emacs and vim modelines
2005-01-16 19:28:55 +00:00
Moriyoshi Koizumi
b1ddbcbef9
- Fix a critical bug that request-local settings leak to another request.
2005-01-16 15:55:17 +00:00
Stefan Esser
135fee7f10
and use it...
2005-01-15 18:30:16 +00:00
Stefan Esser
2c25b9d866
Restore unserialize() speed
2005-01-15 18:18:08 +00:00
foobar
58c6ed3583
CS fix
2005-01-15 04:50:26 +00:00
foobar
0e9866bfd6
ws fix
2005-01-15 04:34:30 +00:00
foobar
330746480e
- Fixed bug #31060 (imageftbbox() does not use linespacing parameter)
2005-01-14 23:07:46 +00:00
foobar
68ca0ed6d8
- Fixed bug #30120 (imagettftext() and imagettfbbox() accept too many parameters)
2005-01-14 22:43:15 +00:00
Dmitry Stogov
9de934c210
Fixed SIGSEGV in ext/standard/tests/network/tcp4loop.phpt and ext/standard/tests/network/unixloop.phpt
2005-01-14 09:02:02 +00:00
Wez Furlong
10eb5a1098
fix compile.
...
Someone with firebird needs to sit down and give this extension some love
2005-01-13 18:02:13 +00:00
Wez Furlong
d056f96a2f
Add configure support for Oracle InstantClient SDK
2005-01-13 04:55:56 +00:00
Wez Furlong
f17311c9dd
Add support for ODBCRouter
2005-01-13 02:06:39 +00:00
Wez Furlong
ef0de01b62
Take a blind stab at implementing scrollable cursors for pgsql.
...
We allocate a unique cursor name for each statement, so that we
don't interfere with other open statement handles on the same dbh.
Note, however, that we force a new transaction for each open scrollable cursor
(postgres requires cursors to be used inside a transaction). This is okay,
except for the case where a scrollable cursor is opened, an update is made and
the cursor is closed; closing the cursor commits the transaction that was begun
when it was opened.
It might well be better to avoid the transaction in PDO and force the user to
be aware of the requirements of cursors and explicitly initiate the transaction
themselves.
This is all untested code; it compiles and looks like it will work, but I
encourage someone with a real postgres setup to actually sit down and try to
use it.
2005-01-13 01:59:39 +00:00
Wez Furlong
0db373883f
detect funky kerberos deps that chain on from openssl deps on RH distros
2005-01-13 01:12:34 +00:00
Wez Furlong
222e5f9cbc
stub out scrollable cursors here too
2005-01-12 06:12:26 +00:00
Wez Furlong
d3ab27f7cc
stub out scrollable cursors
2005-01-12 06:11:33 +00:00
Wez Furlong
be616317c7
stub out scrollable cursor change
2005-01-12 06:10:31 +00:00
Wez Furlong
c77bd71315
be aware of scrollable cursors; sqlite doesn't support them
2005-01-12 06:08:59 +00:00
Wez Furlong
4d5c40cd9a
touch generated file to avoid implicit yacc rule from eating it
2005-01-12 06:08:36 +00:00
Wez Furlong
81664bd2db
Remove bogus scroll attribute.
...
Expose cursor constants to the script
2005-01-12 05:59:27 +00:00
Wez Furlong
7552fe23ff
make scrollable cursors consistent with odbc; removing bogus attribute
2005-01-12 05:58:58 +00:00
Wez Furlong
b2fe675636
Support scrollable cursors
2005-01-12 05:58:19 +00:00
Wez Furlong
459b4f85d3
Add support for scrollable cursors.
...
Enable PDO_ATTR_PREFETCH and default it to 100Kb of prefetch buffer.
2005-01-12 05:47:03 +00:00
Wez Furlong
dd842e4bf4
API support for scrollable cursors
2005-01-12 04:49:12 +00:00
Wez Furlong
076bc75c01
add theoretical support for returning ints as ints and bools as bools.
...
individual drivers need to support returning data in these formats.
2005-01-12 03:26:46 +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
Moriyoshi Koizumi
20a5a1d61c
- Fix the fix :)
2005-01-11 20:58:46 +00:00
Moriyoshi Koizumi
ee18958f98
- Fix htmlentities() / html_decode_entity() UTF-8 related bugs
...
initially reported by Kamesh Jayachandran
2005-01-11 20:44:04 +00:00
Wez Furlong
166ca20bed
Fix build
2005-01-11 14:28:37 +00:00
Rob Richards
a3335dba69
revert fix for bug #28817 - fix is bad
2005-01-11 10:36:08 +00:00
foobar
b298098307
- Added check for IMAP 2005 version
2005-01-11 04:56:06 +00:00
Wez Furlong
c55b4ab516
update for recent adjustments
2005-01-11 02:59:52 +00:00
Antony Dovgal
6074423330
fix Konstantin's last name Chugeuv -> Chuguev
2005-01-10 21:37:17 +00:00
foobar
32d86482cc
update test to include negative floats as strings too
2005-01-10 16:00:08 +00:00
foobar
71ea389f74
Missing $Id$ tag
2005-01-10 15:20:53 +00:00
foobar
2b407ef934
- Update credits
2005-01-10 15:11:17 +00:00
Joe Orton
9a8114e388
Don't scribble over the stack; icc compiler warning fix
...
from dcb314@hotmail.com via Red Hat bugzilla #143795 .
2005-01-10 11:26:56 +00:00
Marcus Boerger
4a76003201
- Fix proto
2005-01-10 07:19:08 +00:00
Marcus Boerger
0f44e8a722
- Bugfix #31342 : SQLite OO interface with Exceptions (hugo dot pl at gmail dot com)
2005-01-10 07:16:25 +00:00
Marcus Boerger
4494f0892b
- Implement iterator interface in sqlite
2005-01-10 07:13:56 +00:00
foobar
a139dbf9cc
- Fix outside-source-tree builds. Always include generated header files
...
with #include <some_header.h> to make sure the correct file is used.
2005-01-09 21:05:06 +00:00
Antony Dovgal
37d3ea836e
add skipif section
2005-01-09 18:22:12 +00:00
Antony Dovgal
68d73f8cf9
add test for bug #31454
2005-01-09 18:15:49 +00:00
Antony Dovgal
d7072f8a9d
efree(name)
2005-01-09 17:49:51 +00:00
Antony Dovgal
c644b2a5a1
fix bug #31454 (session_set_save_handler crashes PHP when supplied non-existent object ref)
2005-01-09 17:42:02 +00:00
foobar
6ffb0dcaf2
- Fix leaks with registered shutdown functions.
2005-01-09 16:30:09 +00:00
foobar
4db9db0cc7
- Fix possible crash (PR#26223). Leaks remain.
2005-01-08 20:44:23 +00:00
Georg Richter
6b49e2d9e7
fixed compile bug under Windows (libmysql.def currently doesn't export mysql_server_init/end).
...
Thanks to Sebastian Bergmann for reporting
2005-01-08 15:11:37 +00:00
Marcus Boerger
5516915115
- Add new test
2005-01-08 13:47:05 +00:00
Marcus Boerger
344d2210c2
- Unify
2005-01-08 13:46:18 +00:00
Marcus Boerger
01d6db92fc
- Fix shared build
2005-01-08 13:36:17 +00:00
Marcus Boerger
8045f834d4
- Remove double destroy (which is definitively wrong and prevents php from
...
normal execution).
2005-01-08 13:34:03 +00:00