Commit Graph

45169 Commits

Author SHA1 Message Date
andy wharmby
62b2bc8d55 New strcoll error test. Tested on Windows, Linux and Linux 64. 2009-06-16 19:39:37 +00:00
Andrey Hristov
56b1c8fe39 C-comments should be used 2009-06-16 17:59:19 +00:00
Pierre Joye
a6b40a6e88 - MF53: fix readlink in TS SAPI 2009-06-16 16:53:56 +00:00
Rasmus Lerdorf
4fc0630fa5 Tweak to make this compile with gcc2 2009-06-16 16:11:05 +00:00
Felipe Pena
8654130af4 - Fixed build (removed trailing comma) patch by Seiji Masugata <s.masugata at digicom.dnp.co.jp> 2009-06-16 14:29:18 +00:00
Andrey Hristov
7289831fe0 Memory usage optimisation. mysqlnd is not libmysql. mysqlnd does use the
Zend allocator, which means that is easier to hit memory_limit if you
have big stored (buffered) result sets. Before with libmysql you won't
hit memory_limit because libmysql uses libc's allocator and nothing is
checked. Now, with mysqlnd the situation is stricter and it is easier to
hit memory_limit. We try to optimize for big result sets. If a result set
is larger than 10 rows we will start freeing some data to keep memory usage
after 10 rows constant. This will help in the cases where a buffered result
set is scrolled forward only and just only once, or mysqlnd will need to
decode data from the network buffers again - yes, it is a trade-off between
CPU time and memory size. The best for big result sets is of course using
unbuffered queries - for comparison : 3 Million rows with buffered take
at least 180MB, with buffered you will stay at 3MB, and unbuffered will be
just 7-8% slower.
2009-06-16 13:06:45 +00:00
andy wharmby
9faad585d4 Fix typo in test 2009-06-16 11:37:11 +00:00
Andrey Hristov
5d3ea92ee9 Hardwire function call instead of using callbacks. We don't actually need
callbacks, it was done for making 2 functions static, not to pollute the
global functions space but that had its price of 8 bytes overheat per
allocation, which is just too much. Also making the app member 32b instead
of 64b, which should save additional 4 byte, to the total of 12 byte per
allocation of a row buffer.
2009-06-16 09:15:09 +00:00
andy wharmby
a1fdddce49 New class related tests. Tested on Windows, Linux and Linux 64. Tests written by Iain Lewis 2009-06-16 08:59:56 +00:00
Andrey Hristov
9ac36809f0 Use Zend's allocator instead of libc's and also don't try to work on
zvals that are NULLs.
2009-06-16 07:53:03 +00:00
Felipe Pena
edb136aed3 - Fixed bug #48562 (Reference recursion causes segfault when used in wddx_serialize_vars()) 2009-06-16 02:53:50 +00:00
1f6a21a72f ChangeLog update 2009-06-16 01:33:20 +00:00
Felipe Pena
3bc8b0519d - Drop unused code 2009-06-15 17:57:05 +00:00
andy wharmby
d438cfd683 New test for bitwise operators. Tested on Linux 64 bit 2009-06-15 17:38:50 +00:00
Felipe Pena
8f83dcdb0a - Fixed bug #48557 (Numeric string keys in Apache Hashmaps are not cast to integers) patch by David Zülke <david.zuelke at bitextender.com> 2009-06-15 17:25:28 +00:00
Patrick Allaert
0d91efd894 Fixing #48441 (ldap_search() with sizelimit/timelimit/deref options makes those options persistent) 2009-06-15 15:18:12 +00:00
Pierre Joye
6afc513391 - add TODO about int definition cleanup 2009-06-15 15:08:41 +00:00
Patrick Allaert
03220cb04a Refactoring that will help fixing #48441 2009-06-15 15:03:31 +00:00
Pierre Joye
700a0697c6 - simplify, use correct type and silent warnings 2009-06-15 14:39:37 +00:00
Pierre Joye
b908c70fa1 - silent compilation warnings (no MFH yet) 2009-06-15 14:06:30 +00:00
Scott MacVicar
d20553953c sync SQLite 3.6.15 2009-06-15 13:14:46 +00:00
Ilia Alshanetsky
a69fb1bcfc MFB: 48518 2009-06-15 12:38:57 +00:00
andy wharmby
facd8866d8 New POSIX extension tests from Berlin UG TestFest 2009. 2009-06-15 12:14:58 +00:00
Pierre Joye
1c9d43d430 - silent warning 2009-06-15 08:32:18 +00:00
d3b1a45162 ChangeLog update 2009-06-15 01:33:03 +00:00
andy wharmby
525416a241 New foreach tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-14 14:17:46 +00:00
andy wharmby
fada257def Basic tests for function_exists() and get_defined_functions(). Tested on Windows, Linux and Linux 64 bit. 2009-06-14 13:49:18 +00:00
andy wharmby
845595eb7c New json extension tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-14 12:08:33 +00:00
Pierre Joye
7633999aa5 - MF53: fix build (void alarm) 2009-06-14 10:24:42 +00:00
7ba9e554b3 ChangeLog update 2009-06-14 01:32:57 +00:00
Greg Beaver
1d43c910df fix Bug #48541: spl_autoload_register only registers first closure, then leaks the others 2009-06-13 17:28:35 +00:00
andy wharmby
0e8ecad7f3 New iconv extension tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-13 12:17:47 +00:00
f1fad174b5 ChangeLog update 2009-06-13 01:33:03 +00:00
Felipe Pena
35920eec26 - Constified method_name arg. in zend_get_user_call_function() and zend_get_user_callstatic_function() 2009-06-12 21:43:22 +00:00
Felipe Pena
a3d7eab5a3 - Refix the fix :| (missing skipif) 2009-06-12 20:46:30 +00:00
Felipe Pena
dd3cc066f1 - Fix test 2009-06-12 20:44:50 +00:00
Felipe Pena
4d5aaf0571 - Fixed bug #48514 (cURL extension uses same resource name for simple and multi APIs) 2009-06-12 20:43:29 +00:00
andy wharmby
7c35094c3f New iconv extension tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-12 18:57:10 +00:00
andy wharmby
23019a1543 New iconv extension tests. Tested on Windows, Linux and Linux 64 bit 2009-06-12 17:16:06 +00:00
Felipe Pena
d25cb5c73f - Sync with 5_3 2009-06-12 14:00:10 +00:00
Felipe Pena
7193fe3e03 - Dropped unused var (HEAD only) 2009-06-12 13:27:39 +00:00
Andrey Hristov
dc9d37998f Fix crash when tracing is enabled. Position after buffer was used also
direct usage of MYSQLND_STRING pointer instead of the "s" property of the
structure.
2009-06-12 13:24:37 +00:00
e488f9073c ChangeLog update 2009-06-12 01:33:04 +00:00
Felipe Pena
8c782591dc - Fixed bug #48533 (__callStatic is not invoked for private/protected methods) 2009-06-12 01:00:30 +00:00
Kalle Sommer Nielsen
4b17fee3b9 Fixed static build of mbstring on Windows (makes static build of exif possible too) 2009-06-11 23:37:51 +00:00
andy wharmby
7b438a20cb Delete duplicate test 2009-06-11 23:04:36 +00:00
andy wharmby
f586200746 New intval() tests. Tested on Windows, Linux and linux 64 2009-06-11 22:26:54 +00:00
andy wharmby
b4ef9c4950 New 64 bit math tests. Tested on Windows, Linux and Linux 64 bit. Tests authored by Dave Kelsey 2009-06-11 21:17:05 +00:00
andy wharmby
568879c484 Add/Fix SKIPIF sections of cURL tests 2009-06-11 21:11:22 +00:00
Andrey Hristov
b2f0e08307 Revert by adding an ifdef 2009-06-11 17:53:13 +00:00