Stanislav Malyshev
838d359641
typo
2009-07-01 20:31:26 +00:00
Kalle Sommer Nielsen
dc69d9228a
MFH: Fix test on Windows
2009-07-01 20:27:11 +00:00
Stanislav Malyshev
96f2a45df3
update API files
2009-07-01 20:25:38 +00:00
Stanislav Malyshev
09c10856f6
fix proto
2009-07-01 20:17:31 +00:00
Kalle Sommer Nielsen
485f28aae9
MFH: Fixed #45280 (Reflection of instantiated COM classes causes PHP to crash) (Paul Richards, Kalle)
2009-07-01 18:44:56 +00:00
Kalle Sommer Nielsen
e536b2700a
MFH: Fixed memory leak if zero parameters are passed, Thanks Felipe
2009-07-01 17:43:16 +00:00
Kalle Sommer Nielsen
21d61978dc
MFH: Fixed bug #48757 (ReflectionFunction::invoke() parameter issues)
2009-07-01 17:38:03 +00:00
Ulf Wendel
b6bd0f6806
MFH - Changing tests to run with both PHP 6 and PHP 5.3 to make future MFH easier. Basically three changes over all files: a) s/unicode(/%unicode|string% b) s/[u/[%u|b% c) s/unicode.semantics/version_compare
2009-07-01 15:33:31 +00:00
Ulf Wendel
b5455f7a7d
MFH - Adding XFAIL for some tests which expect the zval cache of mysqlnd to be on. It has been disabled for the PHP 5.3.0 release. Adding INI sections to ensure that statistics are collected. Adding tests that check if statistics collection can be disabled
2009-07-01 12:52:58 +00:00
Felipe Pena
d9061f95fa
- Fix test
2009-07-01 12:15:00 +00:00
Felipe Pena
3d7b3c8bb2
- Fixed tests
2009-07-01 02:32:55 +00:00
Felipe Pena
db6f5e67a8
- MFH: New tests (SaoPaulo UG testfest)
2009-07-01 00:56:01 +00:00
Stanislav Malyshev
2361b4ea2a
fix json shared build on Windows
2009-06-30 17:52:21 +00:00
Christian Seiler
b4a43d0d94
MFH: spl_autoload_unregister/spl_autoload_functions and closures
2009-06-30 17:14:37 +00:00
Derick Rethans
9dfb40ea8c
- MFH: Fixed bug #47351 (Memory leak in DateTime).
2009-06-30 16:17:30 +00:00
Greg Beaver
5dd3306551
fixed bug #48681 (openssl signature verification for tar archives broken)
2009-06-30 14:49:12 +00:00
Scott MacVicar
27a1ce801c
MFH Fix bug #48284 - adler32 is in the wrong order. Changed to match what zlib produces.
2009-06-30 13:21:53 +00:00
Felipe Pena
0e294f2121
- MFH: Fixed bug #48709 (metaphone and 'wh')
2009-06-30 11:46:20 +00:00
Scott MacVicar
ded5d566ad
MFH Upgrade libsqlite to 3.6.16, fixes a possible error with triggers
2009-06-30 11:17:14 +00:00
Johannes Schlüter
dec83ec4d2
MFH: Fixed bug #48539 (pdo_dblib fails to connect, throws empty PDOException
...
"SQLSTATE[] (null)") (Felipe)
2009-06-29 09:36:03 +00:00
andy wharmby
d73094aed4
Basic test for max() on 64 bit platforms. Tested on Linux 64 bit
2009-06-29 07:52:23 +00:00
andy wharmby
54ba44da0a
Fix tests
2009-06-29 07:45:11 +00:00
andy wharmby
93a16cf13a
Basic tests for sleep() and usleep(). Tested on Windows, Linux and Linux 64 bit
2009-06-29 07:31:10 +00:00
Johannes Schlüter
81761e636d
Fix path
2009-06-28 21:52:51 +00:00
Pierre Joye
a68f6c9c28
- fix build
2009-06-28 12:04:44 +00:00
Pierre Joye
f403bd2128
- MFH: fix regression introduced by the fix for #48518 (Ilia, Rasmus)
2009-06-28 09:50:14 +00:00
Pierre Joye
68a3c3f952
- add license
2009-06-26 07:24:41 +00:00
Johannes Schlüter
9485cad688
Revert mysqlnd to RC3 state after issues with pconnects
2009-06-25 19:03:52 +00:00
Johannes Schlüter
144ff4d6b3
MFH: Fixed bug #48696 (ldap_read() segfaults with invalid parameters) (Felipe)
2009-06-25 15:19:29 +00:00
Johannes Schlüter
6354376924
MFH: Fixed bug #48678 (DateInterval segfaults when unserialising (Ilia)
2009-06-25 15:07:36 +00:00
Zoe Slattery
b2bc4dd331
fix skipif
2009-06-25 14:44:01 +00:00
Zoe Slattery
8e972386f0
fix skipif
2009-06-25 12:36:46 +00:00
Johannes Schlüter
84940122a9
MFH Fix bug #48679 - Crash in SQLite with count on an unbuffered query set (Scott)
2009-06-25 09:38:04 +00:00
Greg Beaver
2c924e2848
fix slightly unclear error message in generation of phar.phar
2009-06-24 22:12:47 +00:00
Felipe Pena
caf8d811ef
- MFH: Fixed memleak when depth arg is less than zero
2009-06-24 17:39:52 +00:00
Pierre Joye
1f10584566
- add license info
2009-06-24 11:44:46 +00:00
Dmitry Stogov
e583ce82ec
Fixed bug #48643 (String functions memory issue)
2009-06-24 08:53:18 +00:00
andy wharmby
0fbf8cebd7
Fix test
2009-06-23 23:00:55 +00:00
andy wharmby
3aaaf77a0e
New and fixed html tests. Tested in Windows, Linux and Linux 64.
2009-06-23 22:45:31 +00:00
andy wharmby
e6f4ec2f07
New basic parse_str() tests. Tested on Windows,Linux and Lnux 64 bit. Some tests fail on PHP 6 (tagged with XFAIL) due to bug 48658
2009-06-23 22:39:44 +00:00
Johannes Schlüter
aded4474fc
MFH: Fix build problem (Kalle)
2009-06-23 18:14:27 +00:00
David Soria Parra
4d7e6edd63
MFH: Fix bug #48644 mysqlnd does not compile with '--enable-mysqlnd-threading'
2009-06-23 14:15:28 +00:00
Hannes Magnusson
f3d8a9ad0d
MFH: Fix arginfo for libxml_disable_entity_loader() and libxml_use_internal_errors()
2009-06-23 13:44:24 +00:00
Johannes Schlüter
86eaa90955
MFH The experimental warning sohuld be in the configure output...
2009-06-23 13:19:28 +00:00
Johannes Schlüter
96d5c5e931
The json header should be installed so other exts can use it
2009-06-23 13:09:34 +00:00
Rob Richards
f7b30e6578
MFH: add libxml_disable_entity_loader function
2009-06-23 10:50:09 +00:00
Kalle Sommer Nielsen
220c68d54a
MFH: Move these defines to config.w32.h
...
Also credit Pierre for the inet_ntop()/inet_pton() implementations
2009-06-23 06:56:45 +00:00
Ilia Alshanetsky
1c4dafd84d
Revert unrelated bits to the previous commit
2009-06-22 14:24:27 +00:00
Pierre Joye
d1fb4d2da4
- #48619 , imap_search ALL segfaults
2009-06-22 14:09:55 +00:00
Ilia Alshanetsky
bc8e357482
MFB: Fixed bug #48636 (Error compiling of ext/date on netware).
2009-06-22 13:43:14 +00:00
Felipe Pena
56d7a43f00
- Fixed bug #48641 (tmpfile() uses old parameter parsing)
2009-06-22 11:37:30 +00:00
Scott MacVicar
c63b6f5d8a
MFH Specific test for bug #48276
2009-06-21 22:31:41 +00:00
Scott MacVicar
25715c7660
MFH Fix bug #48276 - year is a long long so we need %lld so big endian systems print the correct value.
2009-06-21 22:19:11 +00:00
Hannes Magnusson
b293b35eaa
Fix proto and arginfo
2009-06-21 20:40:53 +00:00
Ilia Alshanetsky
81e5787949
Fixed bug #48620 (X-PHP-Originating-Script assumes no trailing CRLF in
...
existing headers)
2009-06-21 15:29:16 +00:00
Takeshi Abe
c84e4181b4
MFH: fixed bug #48555 (ImageFTBBox() differs from previous versions for texts with new lines)
2009-06-21 06:09:46 +00:00
Kalle Sommer Nielsen
9fef343050
MFH: Fixed arginfo for array_map, patch by Matthew Fonda <matthewfonda@gmail.com>
2009-06-20 06:07:35 +00:00
Kalle Sommer Nielsen
17459bac7d
MFH: Fix memleak
2009-06-19 22:15:28 +00:00
andy wharmby
e64f0795e1
Fix test; remove spurious code
2009-06-18 21:53:17 +00:00
andy wharmby
7c7dd8b712
Basic tests for strftime(). Tested on Windows (all tests skip), Linux and Liinux 64 bit
2009-06-18 21:14:15 +00:00
Greg Beaver
645226d19b
fix EXPECT section of test
2009-06-18 18:12:04 +00:00
Johannes Schlüter
067276a043
Temporarily disable this optimization causing too much trouble, kept in HEAD
2009-06-18 15:07:23 +00:00
Derick Rethans
b2d3c2bf18
- Updated to version 2009.10 (2009j)
2009-06-18 09:02:51 +00:00
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
Andrey Hristov
9a2cc0ce67
Put these in an ifdef because they are not used at all if the zval cache
...
is off.
2009-06-11 17:54:04 +00:00
Pierre Joye
f2fcd8fb29
- silent warning and make it less ambiguous
2009-06-11 14:36:48 +00:00
andy wharmby
ec0cff39c7
New POISX tests. Tested on Windows (all test SKIP), Linux and Linux 64
2009-06-11 12:31:00 +00:00
Johannes Schlüter
11340cf299
MFH: Use a better extension version
2009-06-11 10:18:08 +00:00
Antony Dovgal
efa7b5c4c8
MFH: fix bug #48518 (curl crashes when writing into invalid file handle)
2009-06-11 09:46:43 +00:00
Antony Dovgal
0c8e557621
reapply the fix
2009-06-11 09:43:59 +00:00
Hannes Magnusson
4ed202e185
MFH: Mark spl as required and fix extension loading order
...
# Not needed in 5.2 as the simplexmliterator is part of spl there
2009-06-11 09:41:15 +00:00
Andrey Hristov
28c8d25dca
MFH:
...
Protect the code when variable is NULL, which should never happen, but
anyway, you know about "never happens" :)
2009-06-11 08:52:06 +00:00
Andrey Hristov
cff09ba5df
MFH:
...
Check the pointer before calling a function on it, or we will crash.
This is a very rare situation where the server is totally broken.
2009-06-11 08:35:47 +00:00
Andrey Hristov
a3b85c28c6
Sync with PHP6 - TSRMLS_FETCH
...
Extract reference decrement in own function
Remove PHPAPI of a function and make it static as it is not called
externally
2009-06-11 08:30:08 +00:00
Felipe Pena
8da7275f1b
- MFH: Fix the fix (Bug #46973 - IPv6 address filter rejects valid address)
2009-06-10 19:01:17 +00:00
Pierre Joye
1cc5bc31b9
- check for static lib as well
2009-06-10 15:44:51 +00:00
Antony Dovgal
ea8d871a01
revert the fix for a while
2009-06-10 11:53:58 +00:00
Antony Dovgal
029f42dc63
MFH: fix arginfo for curl_multi_info_read()
2009-06-10 11:10:01 +00:00
Pierre Joye
dfb8717c1e
- put mpir headers in their own directory
2009-06-10 09:59:21 +00:00
andy wharmby
c0977c826e
Fix test - remove bogus variation
2009-06-09 20:18:31 +00:00
Scott MacVicar
fc8426ad31
MFH Fix bug #48493 - spl_autoload_register can leave the HT in an inconsistent way.
...
Need to point the second elements previous item to head so we can traverse upwards.
2009-06-09 01:58:07 +00:00
Pierre Joye
49666eece6
#41874 , separate STDOUT and STDERR in exec functions
2009-06-09 00:25:37 +00:00
Derick Rethans
6421bb34f8
- Updated to version 2009.9 (2009i)
2009-06-08 13:53:34 +00:00
Ilia Alshanetsky
ae5a233a62
Fixed test
2009-06-08 12:31:08 +00:00
Andrey Hristov
ec777b89f4
Merge with HEAD. Someone committed changes to HEAD and did not merge back to
...
the branch.
Also switch off the zval cache, for now.
2009-06-08 10:20:27 +00:00
Pierre Joye
4cb1d57fd5
- sync with 1.0.2, improve perf x86-64 (patch by Solar Designer)
2009-06-08 08:44:15 +00:00
Scott MacVicar
40521699ce
MFH make SQLite3::enableExceptions() return the previous value.
2009-06-08 02:15:54 +00:00
Patrick Allaert
4aca43008f
MFH: Removed credit
2009-06-07 21:27:19 +00:00
Matt Wilmas
dca18b68d1
MFH: Fixed bug #47836 (array operator [] inconsistency when the array has PHP_INT_MAX index value)
...
Also simplified related array_push() test
2009-06-07 19:28:15 +00:00
Patrick Allaert
10b559c28c
MFH: Fixed bug #48469 (ldap_get_entries() memory leaks on empty search results)
2009-06-07 13:07:58 +00:00
Matt Wilmas
1fa3b21c15
MFH: Fixed error message grammar:
...
- "cannot" instead of "can not" (meaning "also can")
- "than" instead of "then" (Hint: "then" should hardly be needed;
you're not telling the order in which to do something)
... plus removed a couple ending. dots
2009-06-06 02:40:49 +00:00
Matt Wilmas
d55300298e
MFH: Added zend_eval_stringl and made create_function(), etc. binary-safe
2009-06-05 18:50:32 +00:00
Matt Wilmas
a80be6827d
MFH: Fixed tests again after double->long conversion change (to match 5.2)
2009-06-05 17:15:33 +00:00
Greg Beaver
fb86c3f7a2
MFH: fixed isset() on sub-directories (isset("blah") if file "blah/foo.php" exists)
2009-06-05 04:46:49 +00:00
Greg Beaver
a8e7103bbe
MFPECL: fix security vulnerability in phar's handling of long tar filenames
2009-06-04 19:59:09 +00:00
Matt Wilmas
26cde1ee2f
MFH: Updated tests after double->long conversion change (basically to match 5.2)
...
# Let me know about other failing tests I missed
2009-06-04 18:25:06 +00:00
Andrei Zmievski
1787a2272a
MFB
2009-06-04 18:17:43 +00:00
Etienne Kneuss
b8d64e4085
MFH: Include other flags as well
2009-06-04 14:46:26 +00:00
Hannes Magnusson
2a257adda9
MFH: Fixed creating directory structure when extracting phars
2009-06-04 12:22:32 +00:00
Felipe Pena
1504c700be
- Fixed tests
2009-06-04 01:15:12 +00:00
Brian Shire
b39f215173
MFH: Add test for Bug #47859 parse_ini_file() does not like asterisk (*) in key in the beginning
2009-06-03 19:37:26 +00:00
Ilia Alshanetsky
2c31cd513b
Fixed bug #46386 (Digest authentication with SOAP module fails against MSSQL
...
SOAP services)
#original patch by lordelph at gmail dot com
2009-06-03 12:39:50 +00:00
Zoe Slattery
2e8ad7f7d1
Commiting testfest tests from tek
2009-06-03 12:30:40 +00:00
Pierre Joye
472d000289
- fix title
2009-06-03 08:31:24 +00:00
Pierre Joye
2f6f336205
- fix parameter order and return value check in windows (Venkat Raman Don, Pierre)' link
2009-06-03 07:56:53 +00:00
Kalle Sommer Nielsen
f763fbb1ee
MFH: config.h is in this directory, not in ext/bcmath root, fixes re-compilation for me
2009-06-03 01:19:33 +00:00
Ilia Alshanetsky
c1c9645128
Fixed test
2009-06-02 12:19:34 +00:00
Ilia Alshanetsky
083ed5b3e5
Fixed bug #48273 (snmp*_real_walk() returns SNMP errors as values)
2009-06-01 13:10:18 +00:00
Zoe Slattery
9dc6f2a873
Fixes to work on Windows as well as Linux
2009-06-01 09:01:06 +00:00
Stanislav Malyshev
2d6377e322
fix for #48247
2009-05-31 21:28:38 +00:00
Andrei Zmievski
77beb62c5f
Fix the build.
2009-05-31 18:55:10 +00:00
Ilia Alshanetsky
7c3e7f88c4
Fixed bug #48359 (Script hangs on snmprealwalk if OID is not increasing)
...
# Original patch by simonov at gmail dot com
2009-05-31 14:11:04 +00:00
Jani Taskinen
7012d0967c
MFH: no dots in errors
2009-05-31 13:51:08 +00:00
Kalle Sommer Nielsen
80bc751be1
This shouldn't have been in there
2009-05-31 11:16:46 +00:00
Andrei Zmievski
efc0927f4f
Expose encode/decode API.
2009-05-31 01:44:07 +00:00
Ulf Wendel
1ad1a2a0af
MFH - Fixing tests - messages/warnings can vary by version
2009-05-29 13:37:08 +00:00
Ulf Wendel
775cc0ca20
MFH - Updating test to reflect API changes.
2009-05-29 13:23:01 +00:00
Ulf Wendel
13d92e6957
MFH - Skip test for libmysql. The MySQL C-API does not support it, mysqlnd does...
2009-05-29 13:12:39 +00:00
Andrey Hristov
c1d46eb502
MFH:Add support for mysql_stmt_store_result() from libmysql 6.0.8+ and 5.4.x
2009-05-29 13:09:47 +00:00
Ulf Wendel
f3f1256332
MFH - 1) The wording of a message can differ by version and by libmysql vs. mysqlnd. 2) %i is better than %s
2009-05-29 13:02:43 +00:00
Ulf Wendel
6252b5ca20
MFH - Behaviour is undefined with libmysql, accept whatever libmysql may return. With mysqlnd you get the defined value of -1 to indicate 'no value'.
2009-05-29 12:55:55 +00:00
Andrey Hristov
ccf0665170
MFH:Fix for the failing mysql_stmt_execute() test. Data was cleaned after
...
stmt_reset() but it should stay and be freed as later as next stmt_execute()
2009-05-29 12:19:40 +00:00
Ulf Wendel
3f17909a60
MFH - 'Fixing' test to reflect a libmysql vs. mysqlnd difference. With libmysql it is not defined what mysql_stmt_store_result() shall return when one tries to store the (non-existing) result set of a failed SQL statement, http://dev.mysql.com/doc/refman/6.0/en/mysql-stmt-store-result.html . mysqlnd will detect the SQL failure and return false. libmysql will return true. If you want libmysql to change, file a bug report at MySQL... I don't think there is a good way to work around this in the extension itself.
2009-05-29 11:59:26 +00:00
Zoe Slattery
4085d06822
better fix
2009-05-29 11:46:42 +00:00
Ulf Wendel
2445a242ec
MFH - Another detail where mysqlnd is superior than libmysql. The mysql_info() from libmysql does not support SELECT: http://dev.mysql.com/doc/refman/6.0/en/mysql-info.html . mysqlnd does support it. Libmysql feature request filed http://bugs.mysql.com/bug.php?id=45189
2009-05-29 11:01:06 +00:00
Ulf Wendel
a027a64d73
MFH: Weaker test - libmysql/server error messages can differ by version
2009-05-29 10:34:23 +00:00
Ulf Wendel
396f5803e8
MFH - Weaker test: functions are only available if HAVE_EMBEDDED_MYSQLI is set. There is probably no proper way to check this condition in the user land.
2009-05-29 10:25:49 +00:00
Ulf Wendel
19bdbc49c3
MFH - Skip when using libmysql. Likely a regression bug - http://bugs.mysql.com/bug.php?id=45184
2009-05-29 10:15:50 +00:00
Zoe Slattery
c3bcd7d365
fixing to work with older levels of libcurl
2009-05-29 09:46:11 +00:00
Andrey Hristov
a3aaa2398d
MFH:The option has changed the name, hence we change the test
2009-05-29 08:58:32 +00:00
Andrey Hristov
133296f962
MFH:Fix a very well hidden error because of not being careful with CPP.
...
I usually don't make this mistake :)
2009-05-29 08:05:38 +00:00
Scott MacVicar
4044f880e8
MFH: Fix bug #48416 - Force a cache size for ereg to stop it getting out of control. Lazy LRU here.
2009-05-28 21:57:24 +00:00
Ulf Wendel
19194ff51b
MFH - Asynchronous queries are mysqlnd only. If you want them with libmysql, ping JimW who works on Connector/C.
2009-05-28 18:57:34 +00:00
Ulf Wendel
2eccc6f2bf
MFH - Andrey needs to have a look at this one. The bug report itself is bogus. However, the bug report shows a result set and that is wrong.
2009-05-28 18:28:08 +00:00
Andrey Hristov
fe55da71bb
MFH:
...
Forgot to commit this one, of the ANSI_QUOTES fame
2009-05-28 18:10:40 +00:00
Andrey Hristov
cabce152f9
MFH:Fix again the tests for ANSI_QUOTES
2009-05-28 18:00:28 +00:00
Andrey Hristov
804f6138a6
MFH:Fix a valgrind warning as well as more trace log information
2009-05-28 17:49:29 +00:00
Andrey Hristov
76d091d5f5
MFH:Fix a problem with cursors, which did not happen with unbuffered PS for
...
some reason. Double free of the data, which led to valgrind warnigns.
The fix actually optimizes the code in this cases because the old code
used copy_ctor while the new one skips it because it is not needed.
Transferring data ownership and nulling works best, for PS where we
always copy the string from the result set, unlike the text protocol.
2009-05-28 16:35:41 +00:00
Ulf Wendel
4645f51360
MFH - I had accidently removed Andrey's path to work with ANSI QUOTES... fixing what I broke (part 1)
2009-05-28 15:49:14 +00:00
Ulf Wendel
7926037318
MFH - what a wonderful word. After the change in HEAD its easy to do a merge. The merge removes all UEXPECTF sections from the old days. Yes, there have been UEXPECTFs in 5_3. I hope PHP 6 won't change again over time... :-)
2009-05-28 14:33:43 +00:00
Antony Dovgal
31c2c5ffb7
fix test
2009-05-28 13:56:44 +00:00
Pierre Joye
f002287eb3
- MFH: #48378 , exif_read_data() segfaults on certain corrupted .jpeg files
2009-05-28 13:48:32 +00:00
Arnaud Le Blanc
23a25db653
MFH: New test
2009-05-28 13:22:28 +00:00
Andrey Hristov
6c4e8fa4f9
MFH:
...
Fix a bug with mysqlnd_fetch_field(_direct()). With mysqlnd the optimised
function was called, which however, doesn't respect that during store the
raw data is not unpacked, to be lazy. The data is unpacked to zvals later,
during every row fetch. However, this way max_length won't be calculated
correctly. So, if a mysqlnd_fetch_field(_direct) call comes we need to
unpack everything and then calculate max_length...and that is expensive,
defies our lazy unpacking optimisation.
2009-05-28 11:47:48 +00:00
Andrey Hristov
90a8a7f857
MFH:Fix a test, UNSIGNED is expected
2009-05-28 10:16:41 +00:00
Arnaud Le Blanc
6a9aa30d85
MFB52: Fix "request_startup() for zlib module failed" when client does not
...
accepts compression and zlib.output_compression is On
# (not in HEAD)
2009-05-28 10:15:14 +00:00
Andrey Hristov
04d8609e9f
MFH: Fix failures when the server is running with ANSI_QUOTES
2009-05-28 09:58:36 +00:00
Scott MacVicar
0062120464
MFH sync SQLite 3.6.14.2
2009-05-28 03:20:33 +00:00
Pierre Joye
2a93efcea3
- fix build, stderr cannot be used as var or struct member
2009-05-27 22:35:26 +00:00
Andrey Hristov
bf1a698e51
MFH:
...
Less warnings by usage of proper modifier
2009-05-27 20:05:37 +00:00
Andrey Hristov
91a4502914
MFH:because we use int64_t we need corresponding printf modifiers. the type
...
can be different on 32 and 64 bit, thus we can't use ld and lld but
C helps us with inttypes.h and PRId64 and PRIu64 modifiers (without the %)
2009-05-27 19:57:11 +00:00