Commit Graph

33988 Commits

Author SHA1 Message Date
Marcus Boerger
dd4f59c9c0 - Drop PDO::setDefaultFetchMode() 2006-03-20 22:18:15 +00:00
Marcus Boerger
ee3a559a58 - WS 2006-03-20 22:17:41 +00:00
Antony Dovgal
1df7e13f48 fix #36741 (userstreams testcase have off-by-one error on fseek()) 2006-03-20 22:08:59 +00:00
Marcus Boerger
56ed3211a6 - Added PDO_ATTR_DEFAULT_FETCH_MODE which controls the default fetch mode 2006-03-20 20:54:34 +00:00
Antony Dovgal
ba1ac82bc9 don't leak memory even though the code is not stable yet 2006-03-20 20:09:20 +00:00
Dmitry Stogov
d2fd87526f Removed unreachable code 2006-03-20 15:12:54 +00:00
Antony Dovgal
9557d44ed8 fix buffer overrun 2006-03-20 14:10:23 +00:00
Antony Dovgal
882df6e4d4 initialize retval 2006-03-20 13:53:56 +00:00
Dmitry Stogov
323a2d30ed Fixed bug #36749 (SOAP: 'Error Fetching http body' when using HTTP Proxy) 2006-03-20 10:37:09 +00:00
Dmitry Stogov
00c81b0e49 Fixed register_argc_argv behavior. Now it behave in the same way as before in combinations with variables_order and auto_globals_jit.
$argc and $argv global variables are registered only in CLI mode and under $_SERVER[] in other case. (This is done because register_globals was removed and assumed - off).
2006-03-20 10:18:50 +00:00
f920c1068e ChangeLog update 2006-03-20 06:31:42 +00:00
Pierre Joye
9e3b87056f - fix compilation warning 2006-03-20 00:07:08 +00:00
Antony Dovgal
6fd8aaae87 this check should be present in HEAD as well, no only in 5_1 2006-03-19 22:57:47 +00:00
Antony Dovgal
a4f9c8efc2 MFB: first check stream for NULL, then dereference 2006-03-19 22:34:26 +00:00
Antony Dovgal
2c750d7f84 make the code a bit cleaner - no need for two different checks that are doing effectively the same 2006-03-19 22:12:39 +00:00
Marcus Boerger
1aeff811c0 - Make all compile without errors/warnings 2006-03-19 20:57:53 +00:00
Marcus Boerger
3273a5eab9 - Little reordering now and disable a bit of tony's code to make it compile again 2006-03-19 20:53:58 +00:00
Marcus Boerger
6154b639ed - Handle attributes in dbh ctor (jean pütz aka tony) 2006-03-19 20:33:51 +00:00
Marcus Boerger
98ddfbba1a - CS 2006-03-19 20:26:20 +00:00
Marcus Boerger
ef6d420aad - Explicitly make the default default FETCH_BOTH 2006-03-19 20:08:29 +00:00
Marcus Boerger
786d78f683 - Prevent default fetch mode (0) from passing down to actual fetching and
make it behave like FETCH_BOTH which is the intended overall default
2006-03-19 19:46:18 +00:00
Marcus Boerger
31409d3bed - Must use > 0 here (decrement after check) 2006-03-19 19:05:28 +00:00
Marcus Boerger
74dd417dfe - Simplify, default mode transfer also in prepare 2006-03-19 19:04:32 +00:00
Ilia Alshanetsky
d6118f1b6e MFB51: Properly calculate the size of the result array. 2006-03-19 17:35:56 +00:00
Michael Wallner
1251f42585 MFB: fix php_apache_sapi_header_handler() modifying sapi_header 2006-03-19 14:58:06 +00:00
Pierre Joye
65d97d0a65 - typos 2006-03-19 11:26:25 +00:00
ad2563f420 ChangeLog update 2006-03-19 06:31:43 +00:00
Antony Dovgal
41e5bcd8c5 MFB: fix several leaks in date_sun*() functions 2006-03-18 23:44:30 +00:00
Marcus Boerger
e20ff8009b - Need to change Pierre's patch abit 2006-03-18 23:35:34 +00:00
Marcus Boerger
88c4284df7 - Add test 2006-03-18 23:13:43 +00:00
Marcus Boerger
d82abbf8d4 - Add PDO::setDEfaultFetchMode() (Pierre) 2006-03-18 23:10:40 +00:00
Marcus Boerger
637443e794 - Simplify 2006-03-18 23:09:47 +00:00
Antony Dovgal
8ff44542ff check stream for NULL before writing to it
remove unnecessary semicolons
2006-03-18 22:25:29 +00:00
Antony Dovgal
612fbc1b6b MFB: Added support for BINARY_DOUBLE and BINARY_FLOAT to PDO_OCI and OCI8 (also fixes bug #36764) 2006-03-18 22:06:45 +00:00
Marcus Boerger
46bc026fb0 - Fix seek/eof issue in temp streams 2006-03-18 19:56:35 +00:00
Marcus Boerger
d7a4909ed2 - Fix issue in _php_stream_get_line(): Allow maxchars == 0 as macro
php_stream_get_line() does
2006-03-18 19:44:51 +00:00
Rob Richards
7fc0756e55 MFB51: Fixed bug #36756 (DOMDocument::removeChild corrupts node)
add test
2006-03-18 11:46:13 +00:00
49f7b6605c ChangeLog update 2006-03-18 06:31:51 +00:00
Omar Kilani
aa8ab527f2 Fix PECL bug #7147 - rework comma insertion whilst encoding.
Add tests to package.xml.
2006-03-18 04:15:16 +00:00
Marcus Boerger
792e4d9f4d - Fix TSRM 2006-03-17 23:14:55 +00:00
Andrei Zmievski
25b95e4250 Make is_string() return TRUE for both Unicode and binary strings. 2006-03-17 23:00:20 +00:00
Andrei Zmievski
a75b8f5f35 Fix compiler errors by using NULL_ZSTR where zstr is expected.
# I guess we need to use NULL_ZSTR instead of NULL when passing NULL to
# functions that expect zstr parameter.
2006-03-17 22:52:55 +00:00
Andrei Zmievski
6b165251db Calculate the size of the tmp[] buffer directly at compile time. 2006-03-17 22:51:20 +00:00
Antony Dovgal
f5aecbf18c MFB: fix #36727 (segfault in pdo_pgsql bindValue() when no parameters are defined) 2006-03-17 22:17:15 +00:00
Dmitry Stogov
fb7324bb71 Fixed register_argc_argv 2006-03-17 15:04:23 +00:00
Derick Rethans
c6b425432a - Actually make this is_binary() too. 2006-03-17 14:53:57 +00:00
Derick Rethans
2ffc93140d - Fixed bug in ucfirst() implementation. If the tmp_len = 0 then it will not
write the uppercased character to the buffer, but only returns the length of
  the uppercased letter as per
  http://icu.sourceforge.net/apiref/icu4c/ustring_8h.html#a50.
- Updated is_string():
  If Unicode semantics is turned on, return "true" for Unicode strings only.
  If Unicode semantics is turned off, return "true" for native strings only.
- Added is_binary() function that returns "true" for native strings only.
- Added first implementation of upgraded strtr function. It works except if
  combining sequences or surrogates are used in the non-array method of calling
  this function.
2006-03-17 14:29:05 +00:00
Dmitry Stogov
34c493ea07 Unicode support for dl() patch. 2006-03-17 13:45:43 +00:00
Dmitry Stogov
c09bbfa2b8 Eliminated unnecessary getcwd() syscall 2006-03-17 10:46:02 +00:00
Antony Dovgal
8c5059c3ad MFB: fix #36743 (In a class extending XMLReader array properties are not writable) 2006-03-17 10:17:36 +00:00