Commit Graph

14861 Commits

Author SHA1 Message Date
Wez Furlong
257dfcdde7 touch file 2005-02-06 16:29:33 +00:00
Timm Friebe
5eb673d1cb - Made error handler not output anything if error was not in error_reporting() mask 2005-02-06 14:08:11 +00:00
Timm Friebe
ca250d16dc - Fixed error handler for situations in which an error
was raised in an include file
2005-02-06 14:06:21 +00:00
Timm Friebe
6a4d498af4 - Initial release
# Used for being able to run .phpt-files in a webserver environment
# Incomplete and pretty basic but serves its purpose ATM
2005-02-06 13:35:09 +00:00
Timm Friebe
57fa001979 - Prefixed all temporary names with "phpt_" 2005-02-06 12:59:03 +00:00
Timm Friebe
2a595d116e - Initial release
# Works perfectly with php-cli
2005-02-06 11:58:53 +00:00
Timm Friebe
e47835b90e - "Unified" test name 2005-02-06 11:58:18 +00:00
Edin Kadribasic
accdde8c19 Finalized pgsql LOB support using native pgsql bytea type.
If paramater is bound with type PDO_PARAM_LOB the quoter function
gets a hint that specific LOB type quoting should be used:

$stmt->bindParam(":lob", $lob, PDO_PARAM_LOB);
2005-02-06 01:27:27 +00:00
Edin Kadribasic
0d9b0606b9 Don't segault when we have placeholders but no bound params 2005-02-06 00:46:17 +00:00
Edin Kadribasic
bf77a39349 Decode pgsql LOB objects (bytea type) on fetch 2005-02-05 22:55:23 +00:00
Edin Kadribasic
64e8c3105c Return lobs as strings for now 2005-02-05 22:46:26 +00:00
Wez Furlong
74821473e2 update separately 2005-02-05 21:30:19 +00:00
Wez Furlong
15e754201f pass param type to quoter functions 2005-02-05 21:29:42 +00:00
Edin Kadribasic
95cc208464 Removed unused variebles.
Return OID as int.
2005-02-05 20:38:47 +00:00
Georg Richter
ef6f0f00a6 fix for bug #29329 2005-02-05 10:59:38 +00:00
foobar
71b9c41a6b fix test 2005-02-04 23:23:34 +00:00
Dmitry Stogov
625b79c3ba Fixed bug #31832 (SOAP encoding problem with complex types in WSDL mode with multiple parts) 2005-02-04 15:42:46 +00:00
Derick Rethans
0242ae498e - Fixed bug #31754 (dbase_open() fails for mode = 1). (Mehdi, Derick) 2005-02-04 14:28:50 +00:00
foobar
b61a63d008 - Fixed bug #31842 (*date('r') does not return RFC2822 conforming date string). 2005-02-04 13:08:56 +00:00
Edin Kadribasic
1a962e9d98 Get OID of the last inserted row 2005-02-04 01:48:01 +00:00
Ilia Alshanetsky
779edcb01d Proper fix for bug #31796 . 2005-02-04 00:21:50 +00:00
Ilia Alshanetsky
5879c5cf21 Fixed bug #31796 (readline completion handler does not handle empty return
values).
2005-02-03 22:45:36 +00:00
Ilia Alshanetsky
996b464e30 Use the created connection string. 2005-02-03 22:24:50 +00:00
Magnus M��tt�
fda27b4465 Fix typos. 2005-02-03 17:02:42 +00:00
Zeev Suraski
11339ee42e Removing this file has been long due...
API's and functionality are stable.
2005-02-02 17:22:19 +00:00
foobar
75b4e2c832 - Moved ext/w32api to PECL. 2005-02-02 14:43:26 +00:00
foobar
0741be6f3c - Moved ext/yp to PECL. 2005-02-02 14:33:23 +00:00
foobar
439c5f4f33 - Moved ext/dio to PECL. 2005-02-02 14:29:58 +00:00
Stanislav Malyshev
7b241027fa fix memory leak if function call fails 2005-02-02 10:37:50 +00:00
Dmitry Stogov
3c31410074 Fixed bug #31747 (SOAP Digest Authentication doesn't work with "HTTP/1.1 100 Continue" response) 2005-02-02 10:34:39 +00:00
Dmitry Stogov
83e6e40438 Fixed bug #31755 (Cannot create SOAP header in no namespace) 2005-02-02 09:11:46 +00:00
Ilia Alshanetsky
8c97b9dc73 Fixed bug #31797 (exif_read_data() uses too low nesting limit). 2005-02-01 23:27:33 +00:00
Marcus Boerger
0bb81ce1d6 - Add ReclectionClass:hasProperty(), ReflectionClass::hasConstant()
to complete api (johannes@php.net)
2005-01-31 22:56:01 +00:00
Dmitry Stogov
fea1b5b3a0 Fixed SIGSEGV when restoring WSDL without functions from cache 2005-01-31 15:08:24 +00:00
Antony Dovgal
5e8cd3a2da fix segfault when failed to open magic file 2005-01-31 15:01:47 +00:00
Dmitry Stogov
950632519b Empty "detail" was removed from SoapFault object. 2005-01-31 14:26:06 +00:00
Dmitry Stogov
6e8d3e9023 Fixed memory allocation bug 2005-01-31 14:02:19 +00:00
Ilia Alshanetsky
112eb3b35d Fix handling of INF/NAN in unserialize(). 2005-01-30 16:38:53 +00:00
Georg Richter
32aaa6a7be fixed a bug in mysql_affected_rows and mysql_stmt_affected_rows
in case affected_rows function returns (my_ulonglong) -1 for errors.
(Thanks to Antony Dovgal for reporting this bug)
2005-01-28 17:35:37 +00:00
Antony Dovgal
999c63d9d7 improve CS & error messages 2005-01-28 16:42:26 +00:00
Antony Dovgal
c61ce71a01 MFB: explain why ftok() failed 2005-01-28 16:36:46 +00:00
Dmitry Stogov
d5d127c3ad Memory leak was fixed 2005-01-28 10:33:46 +00:00
Antony Dovgal
f7326d6279 MFB: fix #31732 2005-01-28 02:00:39 +00:00
Antony Dovgal
3ff7f46fd4 change return type from NULL to FALSE when parameter parsing failed
(as was requested by Ilia)
2005-01-28 01:38:56 +00:00
Antony Dovgal
75725c57a5 MFB: fix posix_getsid() & posix_getpgid() 2005-01-28 00:27:48 +00:00
Frank M. Kromann
a13734d2f7 Hack to fix crash caused by FBCAccess not returning errors when creating an index that exists in the database. 2005-01-27 20:13:04 +00:00
Ilia Alshanetsky
42155f6028 Fixed bug #31705 (parse_url() does not recognize http://foo.com#bar) 2005-01-27 16:37:34 +00:00
Antony Dovgal
6ffd569410 MFB: fix leak in mysqli_fetch_array() 2005-01-27 14:41:48 +00:00
Georg Richter
7148919940 fix for bug #31710 (return value for mysql_rollback is reverted)
fixed also same behaviour for mysql_commit and mysql_autocommit
2005-01-27 10:18:28 +00:00
Antony Dovgal
9d9e4379af MFB: fix segfault when invalid field offset is passed to mysqli_fetch_field_direct() 2005-01-27 01:14:43 +00:00
Marcus Boerger
5cabd2f12b - Move tests to proper location now that the tested classes are hardcoded 2005-01-27 00:34:13 +00:00
Marcus Boerger
faba10853f - Unify 2005-01-27 00:26:13 +00:00
Marcus Boerger
f1e34911a9 - Add new test 2005-01-27 00:22:28 +00:00
Marcus Boerger
f18aa85252 - Know whether ew refer to an external array (is_ref) or not 2005-01-27 00:22:06 +00:00
Ilia Alshanetsky
4a5294788e Fixed bug #31699 (unserialize() float problem on non-English locales). 2005-01-26 16:55:17 +00:00
Ilia Alshanetsky
c85a9abc4c Fixed bug #29733 (printf() handles repeated placeholders wrong).
# Original patch by bugs dot php dot net at bluetwanger dot de
2005-01-26 00:01:26 +00:00
Andrei Zmievski
9ab8deb33c Don't depend on empty_string. 2005-01-25 23:58:22 +00:00
Ilia Alshanetsky
8c22d51070 Fixed bug #31465 (False warning in unpack() when working with *). 2005-01-25 22:50:39 +00:00
Andrei Zmievski
27b1a27faf MFB (Fix several egregious leaks in ext/browscap and sapi/embed). 2005-01-25 21:33:58 +00:00
Marcus Boerger
1c2b14b92f - Proto fix 2005-01-25 19:08:38 +00:00
Antony Dovgal
c404bdb9f8 check body for NULL before using and prevent segfaults 2005-01-25 14:20:02 +00:00
foobar
af854a8409 - Fixed bug #31684 (dio_tcsetattr(): misconfigured termios settings) 2005-01-25 13:42:52 +00:00
Dmitry Stogov
2d8e73b963 Fixed bug #28041 (SOAP HTTP Digest Access Authentication was implemented) 2005-01-25 11:03:20 +00:00
Ilia Alshanetsky
25fd4c3bc2 Fixed ZTS build 2005-01-24 23:53:00 +00:00
Marcus Boerger
b570ad759b - Unify 2005-01-24 21:28:56 +00:00
Marcus Boerger
e1737ca88a - Bugfix #31346 2005-01-24 21:27:36 +00:00
Marcus Boerger
06dbcb22a1 - Update 2005-01-24 21:13:52 +00:00
Marcus Boerger
36e6841ef5 - Add new test 2005-01-24 20:22:56 +00:00
Marcus Boerger
3c36e73b95 - bugfix 31348 2005-01-24 20:21:11 +00:00
Marcus Boerger
7ec2fe9dcd - Synch with MYSQLi extension and use RuntimeException as base for
SQLiteException if SPL is present.
2005-01-24 18:46:50 +00:00
Antony Dovgal
5a559e9a57 add test 2005-01-24 14:19:53 +00:00
Antony Dovgal
9e55579cb0 fix msg_recieve() returning TRUE instead of FALSE when unserialize failed
(patch by Andrey Hristov)
2005-01-24 14:12:01 +00:00
Wez Furlong
ebaf95b13a make this the right size... 2005-01-23 15:34:48 +00:00
Sergey Kartashoff
618b7c267c - A bug in mnogosearch module in ispell loading code was fixed 2005-01-23 15:01:20 +00:00
Edin Kadribasic
60f5e66aa9 Add support for fetching meta data 2005-01-23 14:50:06 +00:00
Edin Kadribasic
d8aa131ca0 Store pgsql_type, intval and boolav per column 2005-01-23 10:57:11 +00:00
Edin Kadribasic
902c2b43cb Remove debug stuff 2005-01-22 23:51:09 +00:00
Edin Kadribasic
e58a8671a2 Support for native nulls, bools and ints 2005-01-22 23:31:19 +00:00
Marcus Boerger
1d5c13bdad - Fix #31651 (ReflectionClass::getDefaultProperties segfaults with arrays.) 2005-01-22 12:23:01 +00:00
Marcus Boerger
bad986232b - Update after fixing it 2005-01-22 12:22:01 +00:00
Marcus Boerger
a01e3435de _ Add test for bug 31651 2005-01-22 11:46:56 +00:00
foobar
f8a540d105 - Typofix + removed unnecessary unsets caused by it 2005-01-22 01:31:54 +00:00
Andrei Zmievski
ecb9f8668d MFB (bugfix for 24851) 2005-01-22 00:01:33 +00:00
Stefan Esser
581265f4d1 Correctly initialize ZVAL 2005-01-21 16:03:47 +00:00
Antony Dovgal
5e1b127864 destruct return_value 2005-01-21 10:55:41 +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
e5b6b0dbee Allow static build (better detection of PDO headers).
Copy error code into driver code, so PDO can handle it correctly.
Less leaks
2005-01-21 04:43:06 +00:00
Wez Furlong
7a137a5f84 fix leak 2005-01-21 04:41:52 +00:00
Wez Furlong
8ebcbfdf1b hrmm. Really really really really touch the timestamp in CVS to avoid
crappy makefile annoyance.
2005-01-21 04:34:41 +00:00
Wez Furlong
bc55e7f3e2 make use of the query rewriter (even though it doesn't do anything yet) 2005-01-21 04:22:06 +00:00
Wez Furlong
53af3dc4f2 update 2005-01-21 04:02:41 +00:00
Wez Furlong
dede3c59fe fix encoding nastiness that snuck in from the copy-n-paste of error code
descriptions from a web page.
2005-01-21 03:59:41 +00:00
Wez Furlong
88640832be and check in the generated c file later, to avoid remaking it in fresh checkouts. 2005-01-21 03:58:09 +00:00
Wez Furlong
6ddbfa0733 Revise query parser so that it can rewrite from one bind syntax to another.
Expose it as PDO_API.  No drivers utilize this feature yet.
2005-01-21 03:57:06 +00:00
Wez Furlong
26f97a911b Eliminate unused parameter.
Don't start a transaction when asking for a cursor with pgsql.
Fix parameter binding for sqlite3
2005-01-21 00:39:03 +00:00
Wez Furlong
dcd3d84ddb Eliminate unused parameter 2005-01-21 00:38:09 +00:00
Wez Furlong
08fa032b80 fix backslash 2005-01-21 00:04:50 +00:00
Antony Dovgal
d0427feee4 fix bug #31623 (OCILogin does not support password grace period) 2005-01-20 18:39:48 +00:00
Antony Dovgal
84a8849a3a fix error message 2005-01-20 18:08:08 +00:00
Antony Dovgal
4f3e113e38 fix segfault in imap_sort() - it segfaults when options is less than 0.
it looks like c-client bug, but we still need a workaround.
also, convert_to_string search criteria.
2005-01-20 18:03:35 +00:00
Dmitry Stogov
a343fc848d Support for HTTP error codes 2005-01-20 17:29:16 +00:00
Edin Kadribasic
93e4213bfe Add support for the 'official' build machine layout 2005-01-20 15:54:35 +00:00
Dmitry Stogov
c35353ea20 Fixed bug #30901 (can't send cookies with soap envelop).
void SoapClient::__setCookie(string name [, string value])
2005-01-20 14:29:19 +00:00
Antony Dovgal
9812f55289 fix segfault in imap_headerinfo() when fromlength or subjectlength are less than 0
+ fix protos
2005-01-20 14:04:50 +00:00
Dmitry Stogov
a830b0fc6b Fixed bug #31422 (No Error-Logging on SoapServer-Side). 2005-01-20 12:48:01 +00:00
Rob Richards
dd2f5ed142 Fixed bug #28817 (Var problem when extending domDocument). 2005-01-20 11:47:05 +00:00
Antony Dovgal
6a9579bd7e fix typos in error messages 2005-01-20 09:59:23 +00:00
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