1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 06:51:18 +02:00
Commit Graph

22070 Commits

Author SHA1 Message Date
Andrey Hristov 7d4c51c2bd MFH:
Fix overusage of memory when the result set is empty. Then no memory will be
allocated compared to before. Also grow (realloc) the rset with 10% instead
of 33% - more reallocs but better memory usage. Of course later theres is a
realloc to shrink the rset t ofree it from unused rows but its better to
to eat too much at once.
2008-10-27 15:14:17 +00:00
Andrey Hristov b18bf1f880 Fix a name 2008-10-27 14:38:31 +00:00
Andrey Hristov 34ca27a191 MFH: Fix an issue with mysqli.default_port not being used 2008-10-27 14:34:35 +00:00
Andrey Hristov 4df718a477 MFH:
Warning if the library API version differs from the headers used to compile.
Patch versions are not considered but major.minor
Fix build of ext/mysql with 4.0.x and pre.
2008-10-27 12:09:36 +00:00
Felipe Pena c0611c10ef - Fixed condition 2008-10-26 23:34:13 +00:00
Ilia Alshanetsky 8bd2943877 Fixed compiler warning 2008-10-26 14:35:41 +00:00
Felipe Pena 5d804d163a - MFH: Fixed bug #46388 (stream_notification_callback inside of object destroys object variables) 2008-10-26 13:25:06 +00:00
Greg Beaver 86f8d0a8e9 fix several errors found by valgrind
1 - entry metadata not properly processed or retrieved from cached phars
2 - copy on write was using a void return value instead of int, a dangerous oversight in phar_update_cached_entry
3 - metadata creation in entries for cached phars was causing an invalid read
2008-10-26 05:49:09 +00:00
Felipe Pena 5153c19714 - MFH: Fixed bug #46389 (NetWare needs small patch for _timezone) (patch by guenter at php.net) 2008-10-26 02:00:44 +00:00
Felipe Pena df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Felipe Pena ff8246ff6e - MFH: Removed unnecessary check for array (#46273, noticed by serovov at gmail dot com) 2008-10-24 10:28:29 +00:00
Felipe Pena 981a23fff3 - MFH: Fixed bug #43925 (Incorrect argument counter in prepared statements with pgsql) 2008-10-23 18:53:05 +00:00
Pierre Joye 7d5a67a022 - flatten path and make them relative before extraction
- remove unnecessary export
2008-10-23 16:12:55 +00:00
Stanislav Malyshev 5c50be3674 fix instantclient detection 2008-10-22 19:29:24 +00:00
Arnaud Le Blanc 15aced54b0 MFH: Fixed bug #46360 (TCP_NODELAY constant for socket_{get,set}_option) 2008-10-22 18:59:33 +00:00
Scott MacVicar a8c8963bc0 MFH: Fix a stat on a null when the internal database is used. 2008-10-22 16:34:40 +00:00
Scott MacVicar a6ec097f68 MFH: When using the internal database and there is an error it could try free some invalid things. This was causing a bus error on ppc. 2008-10-22 14:15:47 +00:00
Sanjay Mantoor 5a37a48082 New PHP testcases for array_diff_ukey function 2008-10-22 05:53:36 +00:00
Arnaud Le Blanc 1d5ba8bb21 MFH: initialize optional vars 2008-10-21 23:39:15 +00:00
Arnaud Le Blanc d69dfa4b9f MFH: initialize optional vars 2008-10-21 22:08:38 +00:00
Arnaud Le Blanc 261f0c32a5 initialize optional vars 2008-10-21 22:08:20 +00:00
Alexey Zakhlestin 575ba83c0b skip tests on systems without fnmatch() function (f.e.: old darwin) 2008-10-21 13:38:18 +00:00
Alexey Zakhlestin a4d609ab04 proper check for php-version 2008-10-21 12:59:45 +00:00
Alexey Zakhlestin a7730c9c8c these tests work just fine on macos-x 2008-10-21 12:45:35 +00:00
Alexey Zakhlestin 7ff4c359e6 fixed wrong check for version 2008-10-21 12:26:35 +00:00
Zoe Slattery 5fe0e9c5ed Committing test for till 2008-10-21 09:33:21 +00:00
Scott MacVicar 55a965f793 MFH Fix bug #46331 - The internal magic db is const memory and segfaults when you try to do byte swapping
on big endian machines. This fixes it by copying the memory for those processors, but this isn't ideal as
it wastes memory. Perhaps using a static cache would be better.
2008-10-20 23:36:14 +00:00
Ilia Alshanetsky 2357d51900 Fixed bug #46343 (IPv6 address filter accepts invalid address) 2008-10-20 23:22:45 +00:00
Rob Richards 2f3b8856ee MFH: fix bug #46323 (compilation of simplexml for NetWare breaks) 2008-10-20 19:29:04 +00:00
Pierre Joye 144527b190 - support for VC6 and some other platforms (before some other cleanup) 2008-10-20 14:45:59 +00:00
Rob Richards f3f71b7351 MFH: fix bug #46335 (DOMText::splitText doesn't handle multibyte characters)
add test
2008-10-20 12:45:47 +00:00
Felipe Pena 02fee77584 - Fixed test 2008-10-19 18:23:53 +00:00
Johannes Schlüter a3e4b27857 Fix test 2008-10-19 18:08:29 +00:00
Etienne Kneuss 1a642296ba Fix #46317 (Iterator class not properly checked) 2008-10-19 18:00:24 +00:00
Johannes Schlüter c8361e7cfe MFH: fix mysqlnd detection 2008-10-19 12:43:34 +00:00
Johannes Schlüter c3dab8f191 MFH: Don't dereference NULL-pointer 2008-10-19 12:28:43 +00:00
Johannes Schlüter 0b216b4161 Fix test 2008-10-19 12:20:43 +00:00
Antony Dovgal 8696c38966 MFH: fix memleak 2008-10-17 22:09:44 +00:00
Zoe Slattery 057f422c03 Replacing explicit object ID with %d 2008-10-17 15:03:48 +00:00
Zoe Slattery f591bffba9 Committing for Robin Fernandes 2008-10-17 14:34:55 +00:00
Felipe Pena e52fc53bc2 - MFH: Fixed bug #45726 (PHP_Archive / Archive.php missing) 2008-10-17 01:58:20 +00:00
Kalle Sommer Nielsen 9de7506f8e Use PHP_DEP_FE instead of throwing an E_DEPRECATED manually inside define_syslog_variables() (Thanks Hannes!) 2008-10-16 23:19:13 +00:00
Ed Batutis 8e0529e0d1 Fix for pecl bug 14664 - problem with older gcc 2008-10-16 18:06:05 +00:00
Moriyoshi Koizumi 0c5b6a66a9 * MFH remainder 2008-10-16 17:38:31 +00:00
Dmitry Stogov fe715fbd72 Fixed bug #42862 (IMAP toolkit crash: rfc822.c legacy routine buffer overflow) 2008-10-16 16:21:06 +00:00
Dmitry Stogov ec7cca7f2d ws 2008-10-16 15:49:29 +00:00
Dmitry Stogov 001a548b1a Fixed bug #43723 (SOAP not sent properly from client for <choice>) 2008-10-16 15:36:59 +00:00
Felipe Pena c0c9fb9def - Revert 2008-10-16 13:00:27 +00:00
Alexey Zakhlestin 35780b69a8 Updated functions-signatures (const) 2008-10-16 12:52:38 +00:00
Alexey Zakhlestin e06765b9c5 Fixed compilation warnings: tsrm_ls is not used here (anymore?) 2008-10-16 11:59:37 +00:00