Commit Graph

23354 Commits

Author SHA1 Message Date
Zoe Slattery
b928d971b5 Tests from Berlin test fest 2009-06-18 07:29:09 +00:00
Hannes Magnusson
b685def15a MFB5.2: "Make this happy on gcc2" 2009-06-17 17:56:17 +00:00
Andrey Hristov
0aada07656 MFH:
Fix two problems:
- The value of mysqli_get_client_info() has been changed recently and did
not include "mysqlnd" anymore thus the test suite was thinking the build
is always libmysql. This did not kept the suite from running pconn tests
- Going back to the libc allocator because the memory arena could be on a
  persistent connections. If the build is not debug there will be no error
  but the memory will be freed and in the second use of this pconn freed
  memory will be used - not good! For now the arena doesn't take an argument
  whether it should allocate persistently or not, thus persistent is safe
  for now.

Johannes gave his +1 to commit this.
2009-06-17 16:22:13 +00:00
Felipe Pena
219c2603bb - MFH: Fixed bug #48578 (Can't build 5.3 on FBSD 4.11) (Rasmus) 2009-06-17 16:20:04 +00:00
Scott MacVicar
3e58e86d01 MFH Add SplDoublyLinkedList::prev() and fix a memory leak when the iterator pointer isn't at the end 2009-06-17 13:27:09 +00:00
Hannes Magnusson
d535dec2e0 fix skipif 2009-06-17 10:18:17 +00:00
Hannes Magnusson
9900d2097c fix skipif 2009-06-17 10:14:25 +00:00
Pierre Joye
02fe289540 - fix test 2009-06-17 10:10:19 +00:00
Pierre Joye
f399abb610 - missing --SKIPIF-- header 2009-06-17 10:08:01 +00:00
Felipe Pena
ef55a8a663 - Fixed tests 2009-06-16 19:49:55 +00:00
andy wharmby
d7072fa367 New strcoll error test. Tested on Windows, Linux and Linux 64. 2009-06-16 19:39:39 +00:00
Andrey Hristov
30800a79b9 MFH: C-comments 2009-06-16 18:00:00 +00:00
Pierre Joye
5a3efd5b78 - fix readlink in TS SAPI 2009-06-16 16:50:13 +00:00
Felipe Pena
f9bb99055e - MFH: Fixed build (removed trailing comma) patch by Seiji Masugata <s.masugata at digicom.dnp.co.jp> 2009-06-16 14:33:33 +00:00
Andrey Hristov
10ee06ca48 MFH:
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:07:14 +00:00
Ilia Alshanetsky
34842709d6 Fixed test 2009-06-16 12:40:59 +00:00
andy wharmby
c731b2287f Fix typo in test 2009-06-16 11:37:13 +00:00
Pierre Joye
b4cf9d80d4 - fix title 2009-06-16 10:37:59 +00:00
Pierre Joye
1a69c562bd - fix title 2009-06-16 10:37:30 +00:00
Andrey Hristov
27270621cb MFH:
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:38 +00:00
andy wharmby
f0f302fe7f New class related tests. Tested on Windows, Linux and Linux 64. Tests written by Iain Lewis 2009-06-16 08:59:39 +00:00
Andrey Hristov
a2acaa7fcd MFH:
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:35 +00:00
Felipe Pena
c353601a3f - MFH: Fixed bug #48562 (Reference recursion causes segfault when used in wddx_serialize_vars()) 2009-06-16 02:54:26 +00:00
Pierre Joye
8e76db4aa7 - revert last commit, should not have been applied 2009-06-16 00:17:56 +00:00
Pierre Joye
a5302d870d - #47767, include_once does not resolve windows symlinks or junctions 2009-06-16 00:13:56 +00:00
Pierre Joye
18d5751a9e - Windows ACL cache support, update existing tests and add a new one 2009-06-16 00:07:05 +00:00
Felipe Pena
da9b80e309 - Drop unused code 2009-06-15 17:56:08 +00:00
Felipe Pena
aa8811982e - MFH: 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:31:02 +00:00
Patrick Allaert
f78a0b585c MFH: Fixing #48441 (ldap_search() with sizelimit/timelimit/deref options makes those options persistent) 2009-06-15 15:18:31 +00:00
Pierre Joye
c06884c960 - add TODO about int definition cleanup 2009-06-15 15:08:12 +00:00
Patrick Allaert
91a8fd7f7e MFH: Refactoring that will help fixing #48441 2009-06-15 15:04:11 +00:00
Pierre Joye
2db291e728 - MFH: simplify, use correct type and silent warnings 2009-06-15 14:47:15 +00:00
Scott MacVicar
532674945c MFH sync SQLite 3.6.15 2009-06-15 13:23:59 +00:00
Ilia Alshanetsky
bb55de47cd Simplify original fix for bug #33475 2009-06-15 12:37:37 +00:00
andy wharmby
4a110443df New POSIX extension tests from Berlin UG TestFest 2009. 2009-06-15 12:14:55 +00:00
Pierre Joye
e52e1fab4c - silent warning 2009-06-15 08:32:38 +00:00
Ilia Alshanetsky
1c8d05069e MFB: Fixed bug #48512 (DOMDocument::validate() fails with both a E_NOTICE
and E_WARN if no DTD)
2009-06-14 13:13:35 +00:00
andy wharmby
a6735b8b24 New json extension tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-14 12:08:27 +00:00
Greg Beaver
79d05eac0d fix Bug #48541: spl_autoload_register only registers first closure, then leaks the others. Fix missing erealloc in fix for bug #40091 (PHP_5_3 only) 2009-06-13 17:30:50 +00:00
andy wharmby
642b84cd83 New iconv extension tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-13 12:17:42 +00:00
Felipe Pena
f9b9765ed0 - MFH: Fixed bug #48514 (cURL extension uses same resource name for simple and multi APIs) 2009-06-12 20:48:28 +00:00
andy wharmby
092562b263 New iconv extension tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-12 18:57:09 +00:00
andy wharmby
c48a3ddea8 New iconv extension tests. Tested on Windows, Linux and Linux 64 bit 2009-06-12 17:16:01 +00:00
Kalle Sommer Nielsen
5c2a979522 MFH: Fixed static build of mbstring on Windows (makes static build of exif possible too) 2009-06-12 16:15:51 +00:00
Felipe Pena
61d723a359 - Dropped unnecessary var 2009-06-12 14:03:35 +00:00
Andrey Hristov
22c8786493 MFH:
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:57 +00:00
andy wharmby
c8ead0cd61 Delete duplicate test 2009-06-11 23:04:35 +00:00
andy wharmby
791b526c67 New intval() tests. Tested on Windows, Linux and linux 64 2009-06-11 22:26:51 +00:00
andy wharmby
1386f796d2 New 64 bit math tests. Tested on Windows, Linux and Linux 64 bit. Tests authored by Dave Kelsey 2009-06-11 21:17:00 +00:00
andy wharmby
13dce00cdf Add/Fix SKIPIF sections of cURL tests 2009-06-11 21:11:20 +00:00