Commit Graph

59793 Commits

Author SHA1 Message Date
Andrey Hristov
721f6dae57 fix the build. two mysqli functions were missing after
recent commit - set_charset and get_charset
2010-08-25 15:02:02 +00:00
Dmitry Stogov
d663b9cc77 Don't try to read the rest of malformed FCGI requests, close immediately. It saves one recv() call for proper FCGI request. 2010-08-25 13:48:16 +00:00
Dmitry Stogov
7fc86e5cb4 ws 2010-08-25 11:44:15 +00:00
Dmitry Stogov
2188f26c45 Fixed bug #52614 (Memory leak when writing on uninitialized variable returned from method call) 2010-08-25 09:14:36 +00:00
Adam Harvey
45960c9030 Fixed bug #52681 (mb_send_mail() appends an extra MIME-Version header). 2010-08-25 06:07:22 +00:00
Jérôme Loyet
266e369184 - Changed listen.backlog in the FPM configuration file to default to 128
instead of -1. This is the same value as the one used in the cgi sapi.
2010-08-23 23:22:36 +00:00
Jérôme Loyet
f5e38e30b6 - Fixed bug #52674 (FPM Status page returns inconsistent Content-Type headers). 2010-08-23 20:40:44 +00:00
Pierre Joye
4cda8a7797 -fix logic (and BC break) 2010-08-23 18:05:05 +00:00
Pierre Joye
d8d014be78 - revert fix for #52655, rev. 302614 2010-08-23 17:01:44 +00:00
Pierre Joye
a0e223b8ba - add follow_location support for http stream, enabled by default to keep BC. Allows one to ignore the location header, w/o having to ignore errors or other tricks, the location data is however still available (meta) 2010-08-23 16:54:57 +00:00
Ilia Alshanetsky
a532eefe29 Fixed bogus char 2010-08-22 18:17:19 +00:00
Scott MacVicar
1e48c71b96 Fix a bug where two doubles are equal but the maths operation makes it appear false.
Best example with INF where equals and identical produce different results.

<?php
var_dump(INF==INF);
var_dump(INF===INF);
2010-08-22 08:01:34 +00:00
Kalle Sommer Nielsen
77755af9b6 Fixed bug #52655 (SimpleXMLIterator supports ArrayAccess without implementing the interface) 2010-08-21 16:22:46 +00:00
Felipe Pena
76862dfd0c - Added missing void parameter checks 2010-08-21 16:09:18 +00:00
Jérôme Loyet
6b8f3c0c59 - Fix #52407 (use __sync_bool_compare_and_swap in fpm_atomic.h if gcc >= 4.1 is used - credit to geissert) 2010-08-21 06:46:18 +00:00
Jérôme Loyet
06228b2cab - typo (thx to sixd) 2010-08-20 17:00:57 +00:00
Pierre Joye
511b547342 - fix string validation, MOPS-2010-24 2010-08-20 16:37:33 +00:00
Andrey Hristov
67ef72018f Fix for bug #52654 mysqli doesn't install headers with structures it uses 2010-08-20 12:25:17 +00:00
Jérôme Loyet
99a4506787 Fix #52609 (INI scanner did not use ZEND_INI_SCANNER_NORMAL) 2010-08-20 08:33:57 +00:00
Ilia Alshanetsky
e9735b92a4 Fixed bug #52599 (iconv output handler outputs incorrect content type when flags are used). 2010-08-19 12:27:13 +00:00
Felipe Pena
37c39519bc - Reverted unintended modification 2010-08-18 22:08:36 +00:00
Kalle Sommer Nielsen
faac456bde Fixed possible crash in php_mssql_get_column_content_without_type()
# Also fix NEWS entry in PHP_5_2 for previous commit
2010-08-18 20:16:05 +00:00
Kalle Sommer Nielsen
20f4bdc399 Fixed bug #52636 (php_mysql_fetch_hash writes long value into int)
# Tested by rein at basefarm dot no
2010-08-18 20:00:18 +00:00
Kalle Sommer Nielsen
250fcf9317 Nuke compiler warning, wrong fix that shouldn't have been in the previously commit 2010-08-18 18:00:33 +00:00
Dmitry Stogov
8a6d73b084 improved performance of @ (silence) operator 2010-08-18 13:58:13 +00:00
Kalle Sommer Nielsen
34b631f679 Pass the TSRMS pointers to sapi_module_struct.log_message, this saves some TSRMLS_FETCH() calls in a few of our SAPI's 2010-08-18 13:34:40 +00:00
Kalle Sommer Nielsen
65d031d3da Use the TSRMLS_DC/TSRMLS_CC macros instead of TSRMLS_FETCH() 2010-08-18 12:59:52 +00:00
Dmitry Stogov
d6e772a1d0 Fixed ZTS build 2010-08-18 11:59:30 +00:00
Dmitry Stogov
42289228ff Revert unintended modification 2010-08-18 09:45:52 +00:00
Dmitry Stogov
bfbfd15a2a improved performance of FastCGI request parsing 2010-08-18 08:22:41 +00:00
Felipe Pena
f3028b9226 - Improved fix for bug #52573 2010-08-18 01:59:37 +00:00
Andrey Hristov
9c0439e4bc Fix for Bug #52613 crash in mysqlnd 2010-08-17 18:08:25 +00:00
Andrey Hristov
00825de6a2 Use PHP_DEP_FE - good for reflection 2010-08-17 17:40:31 +00:00
Andrey Hristov
18aadba237 here comes the news 2010-08-17 15:39:26 +00:00
Andrey Hristov
8600c1b4da Deprecate mysql_list_dbs, as mysql_list_tables is already deprecated.
As well as mysql_list
2010-08-17 15:37:44 +00:00
Kalle Sommer Nielsen
0655d34070 Fixed compiler warning 2010-08-17 12:57:04 +00:00
Kalle Sommer Nielsen
159cd6916d Fixed compiler warnings in main/ 2010-08-17 12:49:19 +00:00
Kalle Sommer Nielsen
a12f6d9312 Fixed the $context parameter on copy() to have an effect (approved for 5.3 by Johannes)
# To not change a PHPAPI in a point release, a new function have been added to support contexts:
# php_copy_file_ctx(), php_copy_file_ex() now simply wraps to that
2010-08-17 12:17:28 +00:00
Sascha Schumann
0cbc4a08a1 align declaration with definition
(patch by kalle)
2010-08-17 12:14:52 +00:00
Kalle Sommer Nielsen
ac73c9d8b4 Fixed the context parameter on copy() to actually have an effect
# After looking at the logs, Jani did a bad merge into 5.3, so that 
# the context parameter sent to copy() actually isn't used at all. This 
# relatively simple patch fixes that for trunk.
#
# See FR #42965

# internals:
# This changes the php_copy_*() decls to contain an additional parameter for stream contexts
2010-08-16 21:56:35 +00:00
Kalle Sommer Nielsen
0cc294687e Fixed bug #50836 (run_tests.php alerts syntax errors while testing session) 2010-08-16 20:56:00 +00:00
Andrey Hristov
277c7d4dea Added utf16 and utf32 support, as in MySQL 5.5, in mysqlnd.
Fixed tests, so they don't try to use SET NAMES utf16|utf32,
as character_set_client can't be set to those (the lexer can't
read ucs2, utf16 and utf32).
Added support for 4-byte utf8, as found in MySQL 5.5
2010-08-16 17:44:50 +00:00
Andrey Hristov
5d54d79e04 Fix test, so it doesn't fail with MySQL 5.5, where InnoDB
is the default engine
2010-08-16 16:15:15 +00:00
Andrey Hristov
3ed9d8fd85 detect easily which charset doesn't work 2010-08-16 16:13:55 +00:00
Derick Rethans
1bae298a07 - Updated to version 2010.12 (2010l) 2010-08-16 12:48:53 +00:00
Pierre Joye
7bd81da0b5 - WS 2010-08-16 10:29:01 +00:00
Derick Rethans
dcfa7ee212 - Updated to version 2010.11 (2010k) 2010-08-16 09:32:51 +00:00
Dmitry Stogov
d93cf2a2d0 Bug #52361 (Throwing an exception in a destructor causes invalid catching) 2010-08-16 09:20:46 +00:00
Dmitry Stogov
e461c22ea9 Fixed memory leaks (related to bug #52361) 2010-08-16 08:11:08 +00:00
Kalle Sommer Nielsen
0ff6f90446 Fixed bug #52593 (exif is placed before mbstring in php.ini) 2010-08-16 00:26:39 +00:00