Commit Graph

15021 Commits

Author SHA1 Message Date
Derick Rethans
ff1687731d - Fixed bug #32021: Crash caused by range('', 'z') 2005-02-18 13:37:23 +00:00
Rob Richards
b1157ff8d9 Fragment must have associated document to append xml otherwise it is read-only 2005-02-18 11:57:24 +00:00
Rob Richards
e46e7309f8 Fixed bug #32011 (Fragments which replaced Nodes are not globaly useable) 2005-02-18 11:47:20 +00:00
Wez Furlong
3f0f701639 Update for pending PEAR release. 2005-02-18 01:39:36 +00:00
Ilia Alshanetsky
6af3197b90 Improved search paths. 2005-02-17 22:56:47 +00:00
Andi Gutmans
27b13ba47c - Fix Bug #31960: msql_fetch_row() and msql_fetch_array() dropping columns with NULL values 2005-02-17 20:11:20 +00:00
Ilia Alshanetsky
f2eb0acfcf Fixed bug #27633 (Double \r\r problem on ftp_get in ASCII mode on Win32). 2005-02-17 15:37:24 +00:00
Joe Orton
4f4cb65300 Declare error_mapping array as static and more const. 2005-02-17 15:05:16 +00:00
Anantha Kesari H Y
5f243d7af7 NetWare LibC has pwd.h 2005-02-17 13:57:21 +00:00
Anantha Kesari H Y
67a2998335 NetWare libc has pwd.h 2005-02-17 13:56:49 +00:00
Wez Furlong
9296eb0fd2 George too 2005-02-17 04:50:49 +00:00
Wez Furlong
ede312933c ran ./scripts/dev/credits to update credits to reflect recent removals and
additions.
2005-02-17 04:49:52 +00:00
Wez Furlong
55f53a5a96 symlinked pdo drivers under ext.
Enabled PDO and PDO_SQLITE by default.
Fixup PDO header detection so that it searches in the correct order, and
correctly picks up the headers when building from outside of the source
tree.

TODO: make pdo_XXX auto-enable when XXX is enabled.  Volunteers welcome.
2005-02-17 04:23:15 +00:00
foobar
4585c15cb0 - Fixed bug #29554 (compile failure when using --with-pspell=/usr/local) 2005-02-17 03:51:19 +00:00
Marcus Boerger
80af3ac83d - Add version information 2005-02-17 00:24:57 +00:00
Marcus Boerger
e9b635b6e7 - For now we need the simple way 2005-02-17 00:16:00 +00:00
foobar
3f9dc8814e PHP_WIN32 is defined or not defined. 2005-02-16 23:47:38 +00:00
Wez Furlong
7215b2b8fb use a number here, fixes PECL #3493 2005-02-16 18:09:26 +00:00
Edin Kadribasic
d388e4dc16 Enable mbstring use on windows. We were linking against mbstring for
some time now, but have never actually used it on Windows.
Fixes #31980.
2005-02-16 09:53:26 +00:00
Ilia Alshanetsky
43d1785ea1 Fixed bug #31986 (Max nesting limit set too low). 2005-02-15 21:56:17 +00:00
Marcus Boerger
7956ca0211 - SQLite depends on SPL if it is present
- Add SQLiteResult::count()
- SQLiteResult implements Countable if present
2005-02-15 21:09:42 +00:00
Edin Kadribasic
2c306869c5 Fixed bug #3478: handling of 64bit return values on 32bit machine 2005-02-15 12:41:24 +00:00
foobar
67a965a7e0 No tabs here 2005-02-15 01:44:10 +00:00
foobar
b6b3659224 - More sock->error resets 2005-02-14 23:44:23 +00:00
Edin Kadribasic
4a133ae725 ws fix 2005-02-14 23:40:24 +00:00
Edin Kadribasic
70e0849416 Added pg_field_type_oid() function 2005-02-14 23:36:16 +00:00
Edin Kadribasic
84a6e90b7d Added missing defines (#31751) 2005-02-14 23:01:57 +00:00
foobar
a66b053ac9 - Removed duplicate error + reset error in new sockets 2005-02-14 22:16:06 +00:00
Marcus Boerger
3ab88a4718 - Disallow illegal class names (.c part) 2005-02-14 21:03:09 +00:00
Marcus Boerger
ff8055fc5c - Disallow illegal class names 2005-02-14 20:58:22 +00:00
Wez Furlong
6c1c64c2e7 experimental hooks for alan.
Off limits to everyone else... pretend they are not there :)
2005-02-14 15:52:06 +00:00
Antony Dovgal
47e1961561 add markers for nice vim foldings 2005-02-14 13:38:09 +00:00
Antony Dovgal
7d4bf3ccd9 free errmsg & prevent leaks 2005-02-14 13:31:34 +00:00
Antony Dovgal
ff23184893 fix indentation and add check for PDO includes 2005-02-14 12:52:34 +00:00
foobar
28f0397803 Nuke unused code 2005-02-14 08:21:34 +00:00
Edin Kadribasic
6ff3368e1b Simplify 2005-02-13 23:40:30 +00:00
Edin Kadribasic
14819d0f14 Allow pdo to be statically compiled in, while modules remain dynamic 2005-02-13 23:19:00 +00:00
Wez Furlong
06cf185298 fix pdo_mssql.dll build 2005-02-13 23:13:14 +00:00
Marcus Boerger
a57b6bad69 - Be more gracious in reflection API 2005-02-13 23:04:49 +00:00
Ilia Alshanetsky
cd0435b15a Fixed test. 2005-02-13 19:23:53 +00:00
Marcus Boerger
21705a45bf - Little code reordering 2005-02-13 18:30:26 +00:00
Marcus Boerger
f04134aee0 - Drop unneccessary rinit/rshutown,mshutdown
- Add protos
2005-02-13 18:14:34 +00:00
Marcus Boerger
ef2b59f772 - Expand tests to have it work inside PHP 5.0 2005-02-13 18:13:44 +00:00
foobar
3ca8ad73a4 - Missing $Id$ tags 2005-02-13 17:54:04 +00:00
Ilia Alshanetsky
f57b8d6dc5 Set auto-commit after establishing the connection, otherwise we have a crash. 2005-02-13 17:16:24 +00:00
Marcus Boerger
f860c70362 - In fetch mode PDO_FETCH_CLASS handle constructor args
- Add PDOStatement::fetchObject
2005-02-13 17:04:04 +00:00
Marcus Boerger
746d5490cf - Use runtimeException as base if present (synch with other dbs) 2005-02-13 15:40:15 +00:00
Hartmut Holzgraefe
aedea8539c no need to check for all functions of a group,
added check for prepared statement functions
2005-02-13 14:42:46 +00:00
Marcus Boerger
d308d6d462 - Rename 2005-02-13 13:57:51 +00:00
Marcus Boerger
0a9e940ab7 - Add new test 2005-02-13 13:50:30 +00:00
foobar
7281cd8082 MFB_4_3: cvs diff -r1.84.2.5 -r1.84.2.6 php_session.h 2005-02-13 07:55:27 +00:00
Hartmut Holzgraefe
1f98a966c5 fix aclocal "underquoted argument" warnings 2005-02-13 07:31:02 +00:00
Hartmut Holzgraefe
fc20765c5e fix aclocal warning (newer versions are more strict about this) 2005-02-13 07:17:06 +00:00
Hartmut Holzgraefe
e087455493 add function existance check 2005-02-13 07:15:02 +00:00
Wez Furlong
427c5e0e4f tidy up error case 2005-02-13 07:00:29 +00:00
Wez Furlong
0be93c95c9 prep for release 2005-02-13 06:56:16 +00:00
Hartmut Holzgraefe
b6828f5949 Fixed domain socket / named pipe handling 2005-02-13 06:52:45 +00:00
Wez Furlong
81999fdeba Fix variable declaration 2005-02-13 06:42:19 +00:00
Wez Furlong
f2d2da300f zts 2005-02-13 06:41:46 +00:00
Wez Furlong
47d1c2ad65 autocommit flag gets set always by PDO before invoking this method;
we should unconditionally inspect it here.
2005-02-13 06:37:29 +00:00
Wez Furlong
078b77619a commit generated version of the .re 2005-02-13 06:30:36 +00:00
Wez Furlong
0da6a84edf implement mapping of :name to ? parameters for drivers that only support ?
placeholders.
The current restriction is that you may not use the same named parameter
more than one in a given query, as there is a danger of scary things happen
with the zval if it gets bound multiple times.
2005-02-13 06:29:35 +00:00
Wez Furlong
2a32b478f9 typo-fix error message 2005-02-13 06:27:03 +00:00
Wez Furlong
5edd570b94 Correct the pdo header search order 2005-02-13 06:26:48 +00:00
Wez Furlong
fc51fd11b6 it's only an error in emulation mode; rewrite happens in prepare, which
happens before bindParam
2005-02-13 04:00:22 +00:00
Edin Kadribasic
ab9821d8c3 Do not shout :) 2005-02-13 03:27:48 +00:00
Wez Furlong
1051e7076f Fixes the crash part of PECL Bug #3434. 2005-02-13 03:26:43 +00:00
Wez Furlong
0aa82c3c83 same fix here 2005-02-13 03:15:11 +00:00
Wez Furlong
bee7f3d0ac correct backwards logic 2005-02-13 03:01:38 +00:00
Wez Furlong
08f683a645 Probably fix pecl vs bundled-shared build 2005-02-13 02:51:11 +00:00
Wez Furlong
4d80aaf47a try to handle OSX issues more gracefully 2005-02-13 01:54:59 +00:00
Wez Furlong
4dc3b75569 possible fix for snaps box 2005-02-13 01:32:27 +00:00
Antony Dovgal
175bf7e9a3 set username && password only if they were specified 2005-02-13 00:57:48 +00:00
Hartmut Holzgraefe
486370dc7c autocommit setting done right 2005-02-13 00:55:16 +00:00
Hartmut Holzgraefe
5d4fb518ae added MySQL transaction support 2005-02-13 00:51:17 +00:00
Ilia Alshanetsky
5904d59ffd Fixed compiler warnings. 2005-02-12 20:58:29 +00:00
Ilia Alshanetsky
9b394af973 Simplify code and fix compiler warning. 2005-02-12 20:55:28 +00:00
Ilia Alshanetsky
e5a906dcb9 Updated version without compiler warnings. 2005-02-12 20:34:20 +00:00
Marcus Boerger
1a35bcfcbc - Add new test 2005-02-12 18:40:19 +00:00
foobar
f485fc1a83 Missed one place.. 2005-02-12 18:29:42 +00:00
foobar
751712628a This was not good idea. 2005-02-12 18:27:22 +00:00
foobar
30deea4d30 Remove unused set_h_errno 2005-02-12 18:14:03 +00:00
Wez Furlong
9e31b10531 prep for release 2005-02-12 08:23:32 +00:00
Wez Furlong
002545fffb Fix bundled sqlite build (doh!) 2005-02-12 08:20:17 +00:00
Wez Furlong
91eab3e5bc typo 2005-02-11 02:05:05 +00:00
Wez Furlong
1f06eb1c5c update in anticipation of a release later tonight 2005-02-11 01:22:44 +00:00
Wez Furlong
ccd242665b Fix PDO::query() for drivers that emulate bound parameters. 2005-02-11 01:20:59 +00:00
Rob Richards
bb9ba8e36e fix segfault when retval_ptr is empty - such as when exception thrown 2005-02-10 22:59:26 +00:00
Hartmut Holzgraefe
2c6b600a90 test case for Bug #30266 2005-02-10 22:55:52 +00:00
Antony Dovgal
5b78e4c025 hm..
fix #28324 _properly_
2005-02-10 20:22:07 +00:00
Antony Dovgal
94982058b6 fix bug #28324 (HTTP_SESSION_VARS appear when register_long_arrays is Off) 2005-02-10 19:38:11 +00:00
Rob Richards
4967138514 initial cut of new error handling 2005-02-10 15:52:38 +00:00
Pierre Joye
162b91136c - fix #30745 and #31853 (php-bugs at demark dot org, pierre) 2005-02-10 14:31:32 +00:00
Ilia Alshanetsky
f257e10d48 Removed unused vars. 2005-02-10 14:11:06 +00:00
Wez Furlong
877a2bd690 prep for release 2005-02-10 02:06:49 +00:00
Wez Furlong
69cbb7f958 prep for release 2005-02-10 01:56:20 +00:00
Wez Furlong
e9f5fb53f3 only do this magic on non-win32 platforms 2005-02-10 01:34:39 +00:00
Wez Furlong
3b857ea987 rename ancient method 2005-02-09 23:34:53 +00:00
Frank M. Kromann
d2ae18d76e change return value from false to true, when a statement was executed with warnings 2005-02-09 19:32:03 +00:00
Frank M. Kromann
4b0d9e2319 Check for warnings and return the warning texts 2005-02-09 18:49:38 +00:00
Ilia Alshanetsky
ee0e2d0ea3 Touch file. 2005-02-09 17:06:13 +00:00
Ilia Alshanetsky
cd6d5fb18f Fixed compile warnings. 2005-02-09 16:33:00 +00:00
Rasmus Lerdorf
4909775f04 Fix for bug #31901 2005-02-09 16:22:48 +00:00
Ilia Alshanetsky
2196c4335b kill unused var 2005-02-09 16:14:50 +00:00
Ilia Alshanetsky
1b3dd5db8b remove unused vars. 2005-02-09 15:56:27 +00:00
Wez Furlong
94d5261f73 cosmetic changes 2005-02-09 15:12:41 +00:00
Wez Furlong
ad60999858 proper fix for PECL Bug #3412 2005-02-09 14:32:04 +00:00
Rob Richards
08592b38da Fixed bug #31878 (Segmentation fault using clone keyword on nodes) 2005-02-09 11:46:43 +00:00
Wez Furlong
1cdde9e3ed update with changes 2005-02-09 07:02:00 +00:00
Wez Furlong
211206b2e4 Add PDO_ATTR_TIMEOUT support.
Fix PECL Bug #3391
2005-02-09 07:00:00 +00:00
Wez Furlong
f6aa8f5d90 keep a log here for now 2005-02-09 06:44:08 +00:00
Wez Furlong
902ca8c1cf Expose the quoter method of the driver as PDO::quote().
Closes PECL Bug #3393
2005-02-09 06:43:15 +00:00
Wez Furlong
d57a169500 typo fix 2005-02-09 06:14:48 +00:00
Wez Furlong
dbaa3bfdfa hope it works! 2005-02-09 05:26:38 +00:00
Wez Furlong
c28a0b9fcb disable dep 2005-02-09 05:18:02 +00:00
Wez Furlong
44cec3d456 disable dep for pecl release 2005-02-09 05:12:41 +00:00
Wez Furlong
201ec3dc02 prep for release 2005-02-09 05:04:40 +00:00
Wez Furlong
3047ced496 prep for possible release 2005-02-09 05:00:58 +00:00
Wez Furlong
229ea4bbfc update ready for release.
Disable dependency macro for compatibility with existing PHP 5.0.x releases.
2005-02-09 04:57:32 +00:00
Wez Furlong
b9a951aa1a be realistic... 2005-02-09 04:56:10 +00:00
Wez Furlong
5a2cb4154a update ready for release
# includes big hack to help guide people into running "make install" so
# that the headers get installed; works around a pear bug.
2005-02-09 04:54:56 +00:00
Wez Furlong
5304374fc5 fix typo 2005-02-09 00:38:11 +00:00
Marcus Boerger
3fb1c65a41 - Initial Observer implementation 2005-02-08 20:42:48 +00:00
Marcus Boerger
2e8b9c005b - Update to 2005 2005-02-08 19:10:06 +00:00
Marcus Boerger
2f9662d156 - Fix year and speling 2005-02-08 19:05:25 +00:00
Marcus Boerger
e5fe40eac9 - Actually these are private 2005-02-08 19:00:19 +00:00
Ilia Alshanetsky
891745776e Removed pointless operations/declarations. 2005-02-08 15:30:42 +00:00
Ilia Alshanetsky
55fd7ac601 Added optional maxlen parameter to file_get_contents(). 2005-02-08 15:25:45 +00:00
Antony Dovgal
bc27a2af7a move ext/cpdf to PECL 2005-02-08 13:40:37 +00:00
Rasmus Lerdorf
bf7cb1179a Don't need MSHUTDOWN either here 2005-02-08 05:25:48 +00:00
Rasmus Lerdorf
3baf795c17 Get rid of more useless RINIT/RSHUTDOWN calls 2005-02-07 23:04:00 +00:00
Ilia Alshanetsky
aa6cb1055b Fixed bug #31527 (crash in msg_send() when non-string is stored without
being serialized).
2005-02-07 22:31:19 +00:00
Rasmus Lerdorf
9c530d79e7 No reason to call empty RINIT, RSHUTDOWN and MSHUTDOWN functions here 2005-02-07 22:16:46 +00:00
Marcus Boerger
a8552cb2f9 - Add missing '?>' 2005-02-07 16:27:41 +00:00
Antony Dovgal
96610aee08 fix leaks on shutdown
fix leaks appearing when trying to open several "databases"
2005-02-07 13:30:45 +00:00
Wez Furlong
dbcf51b5a8 a working implementation of LOB input parameters for ODBC.
however: when sending in a string from the script, we get a 1 byte overflow
of the pdo parameter structure... Need to install valgrind on the test box
2005-02-07 04:13:32 +00:00
Wez Furlong
ac018c38a8 This might allow piecewise sending of LOB data for input parameters. 2005-02-07 03:27:54 +00:00
Wez Furlong
ae5958570b update 2005-02-07 01:21:58 +00:00
Wez Furlong
29380a8e54 update for input/output parameters change 2005-02-07 01:17:24 +00:00
Wez Furlong
501000f129 Implement input/output parameters 2005-02-07 01:16:16 +00:00
Wez Furlong
36e3ea8cb2 add input/output parameter type flag 2005-02-07 01:12:49 +00:00
Wez Furlong
504afcfc5a and the generated file 2005-02-07 00:26:38 +00:00
Wez Furlong
2bd3536041 handle input LOBs (which are passed as streams) in bound parameter emulation.
Update error handling.
2005-02-07 00:26:22 +00:00
Wez Furlong
af162668e5 fix pointer indirection (and thus leak) 2005-02-07 00:04:20 +00:00
Wez Furlong
7279fe8ab0 centralize this define 2005-02-07 00:02:51 +00:00
Wez Furlong
61981912f8 hmmm 2005-02-06 23:58:53 +00:00
Wez Furlong
d134fb2a8d update for api changes 2005-02-06 23:22:37 +00:00
Wez Furlong
1069cefada support sucking data from streams in file_put_contents() 2005-02-06 23:05:24 +00:00
Ilia Alshanetsky
917648a232 Fixed possible un-initialized var on error. 2005-02-06 22:58:46 +00:00
Edin Kadribasic
22ff90f7ba Adjust for the new get_col api 2005-02-06 22:48:35 +00:00