Commit Graph

28815 Commits

Author SHA1 Message Date
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
dc73af8351 ChangeLog update 2005-01-17 01:40:52 +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
78306883e2 ChangeLog update 2005-01-16 01:34:48 +00:00
Stefan Esser
135fee7f10 and use it... 2005-01-15 18:30:16 +00:00
Stefan Esser
f8787a67ed finally use what we calculated 2005-01-15 18:19:49 +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
0bea91bbcb ChangeLog update 2005-01-15 01:33:59 +00:00
Andi Gutmans
4908642c8c - Unload on MAC OS X (shouldn't be a reason not to) 2005-01-15 00:11:20 +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
foobar
14058c83e6 - Fix another generated header include 2005-01-14 20:44:28 +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
Dmitry Stogov
72d02269a9 Restore behavior of $str["str"]. (Now $str["str"] is equivalent to $str[0] again) 2005-01-14 09:01:22 +00:00
0d6b05eb8d ChangeLog update 2005-01-14 01:36:11 +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
Dmitry Stogov
ce0884c287 Additional fix for fix of bug #29883 2005-01-13 08:49:06 +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
10cba41a70 ChangeLog update 2005-01-13 01:35:42 +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
Dmitry Stogov
6fa37163f2 Fixed bug #31098 (isset false positive) 2005-01-12 09:18:31 +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
c13ec603b8 ChangeLog update 2005-01-12 01:35:50 +00:00
Moriyoshi Koizumi
e5786084e1 - Test renaming 2005-01-11 21:57:01 +00:00
Moriyoshi Koizumi
9b77de63ed - Fix bug #31436 (isset() incorrectly returns true in dereference of a wrong type) 2005-01-11 21:53:11 +00:00
Moriyoshi Koizumi
87ddc9d06b - BFN 2005-01-11 21:10:47 +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
Moriyoshi Koizumi
357b0c34b6 - Fix bug #31478 (segfault with empty()) 2005-01-11 17:17:48 +00:00
Wez Furlong
166ca20bed Fix build 2005-01-11 14:28:37 +00:00