Andrey Hristov
ba5c40b2ad
Use mnd_ wrappers wherever possible. Needed for
...
statistics.
2009-09-30 23:13:43 +00:00
Andrey Hristov
b9dcc28c24
Fix trace output. DBG_RETURN should be used in traced
...
functions.
2009-09-30 22:26:19 +00:00
Ulf Wendel
9408303390
Fixing a leak in mysqlnd when passing invalid fetch modes to mysqlnd.
2009-09-30 14:39:33 +00:00
Dmitry Stogov
7a535b807c
pcntl_exec() should inherit environment in case it's not provided as an argument
2009-09-30 13:04:28 +00:00
Ilia Alshanetsky
809dbcda08
Fixed bug #49517 (cURL's CURLOPT_FILE prevents file from being deleted after fclose).
2009-09-30 02:34:17 +00:00
Ulf Wendel
e56e60c3a0
Fixing test
2009-09-29 16:37:50 +00:00
Rafael Machado Dohms
e91fffb24a
Fixing tests for head and wrong SKIPIF blocks
2009-09-29 14:34:06 +00:00
Rasmus Lerdorf
80bdbc8f66
Fixed a safe_mode bypass in tempnam() identified by Grzegorz Stachowiak.
2009-09-29 14:14:02 +00:00
Rasmus Lerdorf
8c15aa2314
Add missing open_basedir check in posix_mkfifo
2009-09-29 14:02:50 +00:00
Rasmus Lerdorf
99f30c1b6a
Fix date_sunrise/date_sunset tests
2009-09-29 13:56:51 +00:00
Rafael Machado Dohms
9ba46557e9
Adding tests for bug #49692
2009-09-28 22:57:41 +00:00
Rasmus Lerdorf
b3de24c9b8
Fix for bug #49698
2009-09-28 13:29:53 +00:00
Ulf Wendel
91315a9307
Fixing test
2009-09-28 10:42:36 +00:00
Ulf Wendel
fbfd13310b
Allow setting of default connection flags through the environment variable MYSQL_TEST_CONNECT_FLAGS
2009-09-28 10:39:42 +00:00
Ilia Alshanetsky
5edef9d2dd
Fixed test
2009-09-28 03:14:46 +00:00
Felipe Pena
b6a1b37889
- Fixed tests
2009-09-26 17:59:33 +00:00
Felipe Pena
5132913dd3
- Fixed tests
2009-09-26 16:54:08 +00:00
Rasmus Lerdorf
5afa8a23bb
Refix bug #49558 as per bug #49676
2009-09-26 00:53:59 +00:00
Ulf Wendel
8621a06eed
Trying to respect time limit to please Andrey who must be using slooow hardware...
2009-09-25 13:21:44 +00:00
Andrey Hristov
3828ca158e
Fix mysqli_stmt_attr_set in libmysql mode.
...
mysql_stmt_attr_set returns my_bool instead of int.
If it was int, then 0 is success and !0 is failure, but
for my_bool 0 (FALSE) is failure and !0 is success.
2009-09-25 12:25:54 +00:00
Andrey Hristov
5d3152b181
Fix a crash in the rare case when a persistent connection
...
is found dead, after CHNG_USER. mysql->mysql will be NULL
and segfault will follow.
2009-09-25 11:38:19 +00:00
Ulf Wendel
bd69506171
Large package to check how compression handles package queues.
2009-09-25 10:56:17 +00:00
Andrey Hristov
9b44cbb490
Remove unused variable
2009-09-25 10:55:06 +00:00
Ulf Wendel
a5e4c6f795
Replacing MYSQL_TEST_COMPRESS env var with more generic MYSQL_TEST_CONNECT_FLAGS to be able to test all connection flags. Fixing some test.
2009-09-25 10:54:16 +00:00
Andrey Hristov
eea0660def
Fix error code checking for mysql_stmt_attr_set. There
...
is a test that checks this.
2009-09-25 10:52:29 +00:00
Andrey Hristov
80f629ed9f
Fix possible crash when conn is NULL
2009-09-25 10:37:44 +00:00
Felipe Pena
22876972a5
- Fix test
2009-09-25 02:07:41 +00:00
Felipe Pena
20c5df8cce
- Fixed mem leak
2009-09-25 01:46:58 +00:00
Ilia Alshanetsky
eb2d54822b
Make tempnam() return FALSE on error as documented
2009-09-24 18:59:28 +00:00
Sriram Natarajan
92c08b1224
- Fixed bug #49571 (CURLOPT_POSTREDIR not implemented).
2009-09-24 18:20:49 +00:00
Jani Taskinen
2c90fb8ea2
- Fix the build issue with php_mysqlnd_config.h ending up in wrong build directory
2009-09-24 18:01:17 +00:00
Rob Richards
c3d66dbfed
Fixed bug #49647 (DOMUserData does not exist)
2009-09-24 13:18:22 +00:00
Ulf Wendel
c01b505a44
Proxying as many connect calls as possible to make testing of the compression protocol @ mysqlnd easier. By setting the environment variable MYSQL_TEST_COMPRESS you can tell the tests to set the MYSQLI_CLIENT_COMPRESS flag upon connect.
2009-09-24 12:51:03 +00:00
Rob Richards
9b923dd6ce
fix memleak
2009-09-24 12:40:59 +00:00
Ulf Wendel
7b50b0794d
Fixing test
2009-09-24 09:40:24 +00:00
Ulf Wendel
057a62fc52
Coverage for the OO variants of some functions
2009-09-24 08:19:56 +00:00
Ilia Alshanetsky
7eeff10cc0
Fixed unused var
2009-09-23 23:14:17 +00:00
Moriyoshi Koizumi
0c974164e2
- Fixed bug #49354 (mb_strcut() cuts wrong length when offset is within a
...
multibyte character).
(This bug was introduced by the commit by r202895. Please double-check the
specification of the function you are going to *fix*.)
2009-09-23 15:22:47 +00:00
Dmitry Stogov
6f32199f75
Fixed compilation error
2009-09-23 08:33:23 +00:00
Felipe Pena
788031f093
- Fixed bug #49531 (CURLOPT_INFILESIZE sometimes causes warning "CURLPROTO_FILE cannot be set ...")
2009-09-23 02:08:19 +00:00
Ilia Alshanetsky
420a3abc6a
Fixed compiler warning
2009-09-23 00:18:32 +00:00
Felipe Pena
5596b05449
- Fixed bug #49630 (imap_listscan function missing)
...
# Missing PHP_FE(), though nowdays it is used through of two aliases. (imap_scan() and imap_scanmailbox())
2009-09-22 18:18:57 +00:00
Ulf Wendel
381ebe751b
mysqlnd supports INIT_COMMAND and so we can add it to PDO_MYSQL @ mysqlnd
2009-09-22 15:31:35 +00:00
Andrey Hristov
ac93b60f68
MFH:Fix handling of BIT fields for non-PS. We need
...
macros from mysqlnd to be able to convert a bit
stream to a number.
2009-09-22 15:08:11 +00:00
Dmitry Stogov
38cdb16dd2
Fixed tests which fail from time to time because of race conditions ("echo" command didn't wait for all the data php tried to send and as result php got a SIGPIPE)
2009-09-22 14:52:47 +00:00
Andrey Hristov
452aca97e3
MFH:Check for the different types and create the
...
corresponding configuration file, so it can be used
by mysqli, even if mysqlnd is not enabled at all.
2009-09-22 14:44:11 +00:00
Andrey Hristov
dcb5c5b0a4
MFH: Fix handling of BIT fields in mysqli, when libmysql is used
...
We need to use macros from mysqlnd to be able to read the
bit fields, as they are specially encoded. mysqlnd is always
there, 5.3+, so its macros can be used, even if mysqlnd is
not compiled as library of choice.
2009-09-22 13:59:29 +00:00
Nuno Lopes
24090104ef
allow tests to pass when a random username is used.
...
patch by Olivier Doucet
2009-09-22 12:30:21 +00:00
Ulf Wendel
26b4248799
Fixing test
2009-09-22 11:58:46 +00:00
Dmitry Stogov
bb81ef5d71
Fixed test (it failed from time to time because of very small timeouts)
2009-09-22 10:15:10 +00:00
Jani Taskinen
4cce432eeb
- Move tests in the right location
2009-09-22 09:41:39 +00:00
Ulf Wendel
75d415efbe
Fixing test
2009-09-22 08:42:44 +00:00
Dmitry Stogov
17aff0eb25
Fixed test (removed "bad" locale)
2009-09-22 08:22:29 +00:00
Dmitry Stogov
42b62e7ca6
Fixed ext/spl/tests/arrayObject_magicMethods2.phpt
2009-09-22 07:54:06 +00:00
Ulf Wendel
77f44b7926
Fixing test. There is nothing we can do about the MySQL Client Library allocate huge 4GB buffers for some SQL types.
2009-09-22 07:11:50 +00:00
Ulf Wendel
5c67cdf62b
Fixing test. Can't wait to see the new run-tests materialize for detecting skip section parse errors.
2009-09-22 06:59:04 +00:00
Ilia Alshanetsky
d223d65aad
Fixed build with older version of libcurl
2009-09-22 01:17:16 +00:00
Ulf Wendel
6ef632d129
Fixing test
2009-09-21 15:59:22 +00:00
Ulf Wendel
e94d475ad0
Fixing test
2009-09-21 15:24:47 +00:00
Dmitry Stogov
883b992ea7
Fixed tests (removed irrelevant check which makes test to fail from time to time)
2009-09-21 15:23:25 +00:00
Dmitry Stogov
d12c66770f
Fixed tests ("none" is an alias of "false" and it can't be used as a string value of ini option)
2009-09-21 14:32:20 +00:00
Ulf Wendel
e4f41b1f9f
Moving test code around to get test failures down without testing less. Users of the MySQL Client Lib should always call stmt_bind_result after execute - not before.
2009-09-21 14:20:05 +00:00
Ulf Wendel
9afd024715
Fixing test by calling it a known limit. We keept the test failing as a reminder to think about how to handle BIT(32) and up but none of us has an idea. Thinks work fine up to BIT(31) - the limitation should be documented.
2009-09-21 12:02:30 +00:00
Ulf Wendel
47b209a3cd
Fixing test
2009-09-21 11:54:15 +00:00
Dmitry Stogov
d49abc2736
Fixed tests
2009-09-21 11:38:14 +00:00
Dmitry Stogov
623fe9aaf9
Fixed tests
2009-09-21 11:30:38 +00:00
Ulf Wendel
dc1e7d6d6d
Not nice but neither the MySQL Client Library not mysqlnd are supposed to detect invalid flags. Therefore: fixing test
2009-09-21 10:16:44 +00:00
Ulf Wendel
1a3b7774e6
Fixing mysqli_result_references_mysqlnd.php
2009-09-21 10:06:13 +00:00
Dmitry Stogov
7bfe056174
Fixed tests
2009-09-21 09:52:19 +00:00
Ulf Wendel
a0a8c5832f
Fixing mysqli_get_client_stats.phpt. More testing for MYSQLI_INIT_COMMAND
2009-09-21 09:35:23 +00:00
Ulf Wendel
025e670f54
Fixing test: references has to be collected even if the users disables the collection of statistics. It is needed for memory management.
2009-09-21 08:59:00 +00:00
Ulf Wendel
a77ee71cf0
Fixing test - the standard test table will not accept NULL values for column id
2009-09-21 08:36:14 +00:00
Hannes Magnusson
f7096da972
And now use proper colspanning
2009-09-18 23:06:21 +00:00
Hannes Magnusson
07618b1edd
Fix typo in comment (danbrown)
2009-09-18 22:26:44 +00:00
Hannes Magnusson
e3134c3139
Throw some credit around
2009-09-18 22:01:58 +00:00
Andrey Hristov
967239727e
MFH:Fix for bug#48909 Segmentation fault in mysqli_stmt_execute
2009-09-18 14:33:08 +00:00
Andrey Hristov
8aae3baa45
MFH:Fix for bug#48754 mysql_close() crash php when no handle specified
2009-09-18 10:49:31 +00:00
Andrey Hristov
c2e66884e1
MFH, a fix not included by the fix committed by Ulf.
...
pemalloc and then efree - too bad!
Sorry for committing in two passes, my big tree is already patched
with compressed.
2009-09-17 15:13:14 +00:00
Ulf Wendel
1388912ded
better coverage for mysqli_info
2009-09-17 07:11:25 +00:00
Felipe Pena
fff0a24656
- Fixed ZTS build
2009-09-16 18:01:10 +00:00
Sebastian Bergmann
ceaf590530
Merge ReflectionMethod::setAccessible() to PHP 5.3.2, approved by Johannes.
2009-09-16 17:24:46 +00:00
Ulf Wendel
e6cf6693e6
Fix (by Andrey) and test for bug #49442 . Don't use efree() for memory allocated with malloc()... If a connection gets created by mysqli_init(), mysqlnd makes it 'persistent'. 'Persistent' means that mysqlnd uses malloc(). mysqlnd does use malloc() instead of ealloc() because it is unknown if the connection will become a true persistent connection in the sense of ext/mysqli. It is unknown if the user wants a persistent connection or not until the user calls mysqli_real_connect(). To avoid tricky conversions mysqlnd uses malloc(), which sets a private persistent flag in the mysqlnd structures. A precondition for the crash to happen was that the private persistent flag is set. The flag is also set when creating a real persistent connection (in the sense of ext/mysqli) and so the bug can happen with mysql_init()/mysqli_real_connect() and mysql_connect('p:<host>', ...). Therefore we test both cases. Note the (tricky?) difference between the implementation detail'mysqlnd private persistent flag = use malloc()' and persistent connections from a user perspective. Although mysqlnd will always set its private persistent flag and use malloc() for connections created with mysqli_init() it is still up to the user to decide in mysqli_real_connect() if the connection shall become a (true) persistent connection or not.
2009-09-16 17:03:44 +00:00
Ulf Wendel
20005db2a0
Fix and tests for bug #49511 . mysqlnd and the MySQL Client Library (libmysql) use different networking APIs. mysqlnd does use PHP streams whereas libmysql uses its own wrapper of the operating level network calls. PHP sets by default a read timeout of 60s for streams - php.ini, default_socket_timeout. This default applies to all streams that set no other timeout value. mysqlnd has not set any other value and therefore it connections of long running queries can have been cut off after default_socket_timeout seconds resulting in a 2006 - MySQL Server has gone away error message. The MySQL Client Library sets a default timeout of 365 * 24 * 3600 seconds (1year) and waits for other timeouts to happen, e.g. TCP/IP timeouts. mysqlnd now uses the same very long timeout. The value is configurable through a new php.ini setting: mysqlnd.net_read_timeout. mysqlnd.net_read_timeout gets used by any extension (ext/mysql, ext/mysqli, PDO_MySQL) that uses mysqlnd. mysqlnd tells PHP Streams to use mysqlnd.net_read_timeout. Please note that there may be subtle differences between MYSQL_OPT_READ_TIMEOUT from the MySQL Client Library and PHP Streams. E.g. MYSQL_OPT_READ_TIMEOUT is documented to work only for TCP/IP connections and, prior to MySQL 5.1.2, only for Windows. PHP streams may not have this limitation. Please check the streams documentation, if in doubt.
2009-09-16 15:00:54 +00:00
andy wharmby
e509cc4283
Fix SKIPIF sections
2009-09-15 21:44:08 +00:00
Rasmus Lerdorf
d032060ea8
Fix bug #49558
...
And as Colin mentioned in the bug report, this means date_sunrise()
and date_sunset() have been off by 26 seconds in most cases until now.
2009-09-15 20:28:42 +00:00
Ilia Alshanetsky
f611b66025
Upgraded bundled sqlite to version 3.6.18.
2009-09-15 16:54:11 +00:00
Pierre Joye
15398c4ed5
- #49253 , add support for libcurl's CERTINFO option
2009-09-15 15:47:06 +00:00
Ilia Alshanetsky
62d78d7ccc
Fixed certificate validation inside php_openssl_apply_verification_policy
2009-09-14 12:50:30 +00:00
Moriyoshi Koizumi
6a0402413d
- Looks like bug #48697 has already been fixed in RC1.
2009-09-14 04:11:29 +00:00
andy wharmby
e4c38fc1f0
Add missing SKIPIF
2009-09-11 21:57:04 +00:00
Moriyoshi Koizumi
8f9acfedb3
- Fix bug #49536 (mb_detect_encoding() returns incorrect results when strict_mode is turned on.)
...
(patch by komura, thanks!)
2009-09-11 21:26:18 +00:00
Ulf Wendel
617b4e9bd1
Fix for bug #49357 (MySQLi extension fails to recognize POINT (spatial) colums).
...
Do yourself a favour and use mysqlnd. mysqlnd has no isuses here.
If you insist on using the MySQL Client Library (libmysql) I strongly recommend to use mysqli_stmt_store_result() when fetching geometry data using prepared statements. When streaming data, which is the default for prepared statements, ext/mysqli will have to make a guess on the size of the result buffer it needs. The guess is based on a length reported by the MySQL CLient Library (libmysql). The MySQL Client Library reports 4GB (!) for a POINT - a conservative and safe guess. Consequently, ext/mysqli will try to allocate 4GB of RAM. The true (maximum) size of the column is not available before buffering the result on the client using mysqli_stmt_store_result(). If you call mysqli_stmt_store_result(), the result buffers will not get bigger than needed. However, store_result()/buffering is usually not what you want when you ask for prepared statements.
2009-09-11 13:38:47 +00:00
Ulf Wendel
5dfd12ddb7
Stepping back to PHP 5.2.x and earlier logic of allocating even huge pieces of memory for large BLOB types to avoid data truncation. This fixes the test failure of 005.phpt when using MySQL Client
...
Library (libmysql). The test does pass with mysqlnd because mysqlnd does not have any issues here.
2009-09-11 12:28:47 +00:00
Ulf Wendel
c4c11fd38a
Fixing a crash which must have existed since PHP 5.0. At least the crash can be reproduced with PHP 5.0.6. The crash happens only when using the MySQL Client Library (libmysql) - it does not happen
...
when using mysqlnd.
2009-09-11 12:16:56 +00:00
Moriyoshi Koizumi
b39126de9a
- Fix bug #49528 (UTF-16 strings prefixed by BOM wrongly converted).
2009-09-11 08:22:19 +00:00
Jani Taskinen
0f1b93a1ca
- Fix skips
2009-09-10 15:05:34 +00:00
Ilia Alshanetsky
f0c6eaa024
Fixed test
2009-09-10 02:15:08 +00:00
Felipe Pena
8c74835795
- Possible fix for bug #49344 on Windows (pdo_mssql fails to connect,throws PDOException SQLSTATE[] (null) (severity 0))
2009-09-10 01:20:42 +00:00
Ulf Wendel
416ff5872d
Andrey fixed the bug but the test was somewhat borked. Fixing test.
2009-09-09 18:31:00 +00:00
Ulf Wendel
31573498d8
Some extra test coverage for http://bugs.php.net/bug.php?id=48754 .
2009-09-09 17:16:24 +00:00
Ulf Wendel
f51e935e96
Tests for http://bugs.php.net/bug.php?id=49357 (libmysql only) . The simple fix suggested in the bug system is not good enough, therefore no fix yet.
2009-09-09 17:10:29 +00:00
Ulf Wendel
5f260e14b2
Next attempt to fix http://bugs.php.net/bug.php?id=48745 . Patch by Andrey.
2009-09-09 17:03:03 +00:00
Derick Rethans
95b3863579
- Updated to version 2009.13 (2009m)
2009-09-08 14:03:53 +00:00
Ilia Alshanetsky
62557f1d81
Fixed tests
2009-09-07 14:18:46 +00:00
Ilia Alshanetsky
6d0b9484d9
Fixed bug #49470 (FILTER_SANITIZE_EMAIL allows disallowed characters).
2009-09-07 02:35:25 +00:00
Pierre Joye
3e359ee5b4
- fix #40013 , php_uname() doesnt return nodename (MFH)
2009-09-06 22:01:18 +00:00
Felipe Pena
b4ee727353
- Fixed bug #49483 (preg_replace 'subject' parameter listed as optional)
2009-09-06 17:41:34 +00:00
Pierre Joye
eb3801f5b0
- add test for #48746
2009-09-05 18:10:31 +00:00
Pierre Joye
3dd3cbb662
- fix #49274 , filter_var does not accept object without a toString implementation
2009-09-05 17:35:26 +00:00
Pierre Joye
a2cffa2590
- #49464 , fix build
2009-09-04 19:53:39 +00:00
Sriram Natarajan
ac2d3990f2
- Fixed bug #49447 (php engine need to correctly check for socket API
...
return status on windows). (Sriram Natarajan)
2009-09-04 07:59:48 +00:00
Sebastian Bergmann
853c6de65b
Make invokeArgs() error messages consistent with invoke().
2009-09-03 14:02:51 +00:00
Pierre Joye
8f8220917e
- Fix sanity check for the color index in imagecolortransparent
2009-09-03 09:45:56 +00:00
Ilia Alshanetsky
556dde6a34
Fixed return value to comply with tests
2009-09-02 13:07:44 +00:00
Patrick Allaert
74560ac75e
Merging last tests made in HEAD
2009-09-01 13:41:18 +00:00
Jani Taskinen
6bb0603c4f
- Fixed zlib.deflate compress filter to actually accpet level parameter.
2009-08-31 21:18:55 +00:00
Zoe Slattery
b964306fd7
add missing skipifs
2009-08-31 19:22:29 +00:00
Antony Dovgal
66990d357c
nuke duplicated tests
2009-08-31 15:32:39 +00:00
Ilia Alshanetsky
6a73387877
Fixed bug #49361 (wordwrap() wraps incorrectly on end of line boundaries).
2009-08-31 12:28:46 +00:00
Antony Dovgal
fe7e08432e
export le_socket from ext/sockets
2009-08-31 08:41:03 +00:00
Zoe Slattery
4cc35aeaaf
The last of the 2009 testfest tests
2009-08-30 18:18:50 +00:00
Ilia Alshanetsky
30b7102746
Bug #49391 ldap.c utilizing deprecated ldap_modify_s
2009-08-30 15:33:59 +00:00
Zoe Slattery
b08e82a736
More tests from 2009 testfest
2009-08-30 12:19:50 +00:00
Zoe Slattery
d84163c639
bc math tests from testfest 2009
2009-08-30 11:10:20 +00:00
Zoe Slattery
c0c141d0cf
server for ftp tests
2009-08-30 09:31:54 +00:00
Zoe Slattery
6a22ec3eda
More tests from 2009 testfest
2009-08-30 09:30:13 +00:00
Zoe Slattery
94039c35b9
Fixed to allow for http etc
2009-08-30 08:18:53 +00:00
Antony Dovgal
f97132fe1a
fix tests
2009-08-29 19:18:27 +00:00
andy wharmby
037f617a60
New basic network function tests. Tested on Windows, Linux and Linux 64 bit
2009-08-28 22:46:43 +00:00
Zoe Slattery
0e4ce3bcca
More tests from 2009 testfest
2009-08-28 14:31:19 +00:00
Andrey Hristov
9bf747605d
Fix for bug#48745
...
mysqlnd: mysql_num_fields returns wrong column count for mysql_list_fields
2009-08-28 09:30:16 +00:00
Pierre Joye
5b39f5ca24
- fix VC6 build
2009-08-27 14:45:41 +00:00
Andrey Hristov
67c7a37d9b
Fixed bug #49027 (mysqli_options() doesn't work when using mysqlnd)
2009-08-27 13:16:39 +00:00
Andrey Hristov
43d33e8a99
Fix for bug#46614 Extended MySQLi class gives incorrect empty() result
2009-08-27 12:41:14 +00:00
andy wharmby
39fd3a2b3c
Fix tests. Add missing SKIPIF sections so test do not run when POSIX extension not available.
2009-08-27 12:21:19 +00:00
Rasmus Lerdorf
b73fe4a9b6
This needs to be larger to avoid an overflow on the bit-shifting in this function
2009-08-27 05:05:42 +00:00
Pierre Joye
137b9210f2
- fix #49372 , segfault in php_curl_option_url
2009-08-26 22:24:10 +00:00
Zoe Slattery
1c98e49afd
Test from 2009 testfest
2009-08-26 17:17:58 +00:00
Pierre Joye
c7167ced0b
- fix test and use __DIR__ as usual
2009-08-26 16:07:05 +00:00
Pierre Joye
b4b9615c0b
- add win32 version
2009-08-26 14:09:45 +00:00
Dmitry Stogov
60ef4a1ef6
Fixed bug #47273 (Encoding bug in SoapServer->fault)
2009-08-26 14:05:48 +00:00
Pierre Joye
9fe6294cdf
- fix test
2009-08-26 09:59:20 +00:00
Pierre Joye
bea1685a21
Improved readlink, supress \??\ and use the drive syntax only
2009-08-25 23:51:04 +00:00
Andrey Hristov
2dcfcf7387
MFH: fix of the fix
2009-08-25 14:32:10 +00:00
Andrey Hristov
27cbcc6078
MFH:
...
Fix bug#48198 error: 'MYSQLND_LLU_SPEC' undeclared
Possibly fix also :
Bug #48780 mysqlnd compile failure
Bug #46952 mysqlnd compile failure with suncc
2009-08-25 14:25:01 +00:00
Pierre Joye
056f0aea30
- fix #49047 , touch may fail on directory
2009-08-25 09:16:53 +00:00
Pierre Joye
4c85f48c89
- fix test when part of the path is a symlink
2009-08-25 00:22:11 +00:00
Pierre Joye
3db4fe36a4
- fix test
2009-08-25 00:14:23 +00:00
Pierre Joye
39ba13c3ad
- fix test
2009-08-24 19:19:43 +00:00
Pierre Joye
64918d5168
- fix test
2009-08-24 18:44:59 +00:00
Pierre Joye
30c4b8ff29
- fix test
2009-08-24 18:43:21 +00:00
Ilia Alshanetsky
64b3f7d45b
Don't clober variables
2009-08-24 18:40:13 +00:00
Rafael Machado Dohms
609a573b23
Adding tests for imagecolorallocatealpha
2009-08-24 02:50:19 +00:00
Mikko Koppanen
e4c11010f1
Fixes a memory leak in ssl streams. The context was not properly freed
2009-08-22 02:31:23 +00:00
Antony Dovgal
193bbbbd59
fix build broken by the fix for bug #49306
2009-08-21 07:46:43 +00:00
Jani Taskinen
767abb9b66
- Fixed bug #49286 (php://input (php_stream_input_read) is broken)
2009-08-20 12:40:15 +00:00
Jani Taskinen
5e733571b3
- WS + CS + sync
2009-08-20 12:17:32 +00:00
Ilia Alshanetsky
019f4f2c22
Fixed bug #49306 (inside pdo_mysql default socket settings are ignored).
2009-08-20 12:13:38 +00:00
Jani Taskinen
e1f42c3bbb
- Fixed bug #49289 (bcmath module does not compile with phpize configure).
2009-08-20 11:19:20 +00:00
andy wharmby
e90f0eda2d
New basic test for md5(). Tested on Windows, Linux and Linux 64 bit
2009-08-19 08:39:33 +00:00
Stanislav Malyshev
d6ba6c69fb
fix crash when unexpectedly passed by-ref parameter is modified
2009-08-18 20:51:49 +00:00
Ilia Alshanetsky
e6fd4c1fc0
NULL the value after free
2009-08-18 12:44:32 +00:00
Stanislav Malyshev
a515259047
cleanup parameter parsing
2009-08-18 00:41:43 +00:00
andy wharmby
e9a960bba6
New str_replace() tests. All tested on Windows, Linux and Linux 64
2009-08-17 22:41:30 +00:00
Stanislav Malyshev
fa2310b177
fix parameter parsing for SNMP
2009-08-17 22:15:18 +00:00
Garrett Serack
6cec8d8ed3
- Fix for bug #49223 Inconsistency using get_defined_constants(true)
2009-08-17 21:28:22 +00:00
Dmitry Stogov
b06436f171
Fixed bug #49144 (import of schema from different host transmits original authentication details)
2009-08-17 18:23:48 +00:00
Jani Taskinen
5ae549c8fd
- Fixed bug #49236 (Missing PHP_SUBST(PDO_MYSQL_SHARED_LIBADD)).
2009-08-17 17:57:40 +00:00
Jani Taskinen
db53d49623
- Fixed bug #49248 by fixing bug #48994 properly
2009-08-17 17:30:32 +00:00
Derick Rethans
718b7d160d
- Updated to version 2009.12 (2009l)
2009-08-17 14:46:58 +00:00
andy wharmby
6c56fd6898
New basic tests for uniqid(). Tested on Windows, Linux and Linux 64 bit
2009-08-17 14:22:02 +00:00
andy wharmby
1cfc27bb8c
New basic string tests - includes back-porting a few existing tests back to 5.2. All tested on Windows, Linux and Linux 64
2009-08-17 10:37:30 +00:00
Ilia Alshanetsky
4687f6e0ba
MFB: Added missing sanity checks around exif processing.
2009-08-16 14:32:32 +00:00
Felipe Pena
88056c6bac
- Improved param. parsing for ldap_read(), ldap_search() and ldap_list()
2009-08-15 00:52:31 +00:00
Gwynne Raskind
c336c2e5d0
fix broken test (spurious tab characters caused run-tests to spaz)
2009-08-14 09:44:45 +00:00
Dmitry Stogov
85560842c2
Fixed crash in usort() and uasort() in case user comparison function modifyes th
...
e array.
2009-08-14 06:20:21 +00:00
Rasmus Lerdorf
5ca166b1d2
FIx test after Stas' explode() fix
2009-08-14 01:42:11 +00:00
Etienne Kneuss
6e164aa35a
Fix several recursion problems when var_dump'ing self-referencing objects
2009-08-13 22:07:05 +00:00
Felipe Pena
a8604e2c20
- Fix ZTS build
2009-08-13 20:10:18 +00:00
Stanislav Malyshev
e52517d610
standardise and clean up string functions parameter parsing
2009-08-13 06:44:50 +00:00
Christopher Jones
de65a02f1c
refactor & WS for local test config change
2009-08-12 14:54:16 +00:00
Scott MacVicar
ce24f04694
Fix build on platforms where crypt isn't always available
2009-08-12 09:18:41 +00:00
Scott MacVicar
a090cd733a
Fix BC break in mime_content_type()
2009-08-11 23:05:13 +00:00
Stanislav Malyshev
b73ac1a57a
fix potential memory issue on serialization
...
# When internal class uses zend_mangle_property_name it's malloc()
# so it should be freed with free()
2009-08-11 22:46:07 +00:00
Scott MacVicar
f8d8723ff1
Update libsqlite to 3.6.17.
2009-08-11 22:22:21 +00:00
Scott MacVicar
050653466f
Merge chanes from head to improve DNS on OSX and allow usage of bind9 stuff with the bind8 compatibility layer.
2009-08-11 22:07:35 +00:00
Scott MacVicar
6ffe4b2eff
We should check /usr/local/include last
2009-08-11 21:40:15 +00:00
Pierre Joye
73fbaa9ee0
- remove double include
2009-08-11 17:08:23 +00:00
Pierre Joye
33a93474df
- fixed bug #49072 , feof never returns true for damaged file in zip
2009-08-11 15:12:00 +00:00
Scott MacVicar
94976f4694
Search /usr/include too for those wanting to use a system PCRE.
2009-08-11 12:03:29 +00:00
Rasmus Lerdorf
5f962f0e38
Oops, didn't mean to remove the -0 here
2009-08-10 23:18:07 +00:00
Kalle Sommer Nielsen
4f3d67ea89
Don't build sqlite as threadsafe if we are doing an NTS build
2009-08-10 16:58:53 +00:00
Pierre Joye
80696a6f77
- fix and improve dns' AAAA support on windows
2009-08-10 08:05:11 +00:00
Rasmus Lerdorf
4a607c147d
Tweak a few tests that failed on OSX
2009-08-10 06:53:49 +00:00
Rasmus Lerdorf
a2c564b9e6
Make these socket tests less Linux-specific
2009-08-09 14:50:51 +00:00
Rasmus Lerdorf
ecb9a94472
The system error here may not be "Filename too long". On OSX, for example,
...
it is "Invalid ioctl" in this case.
2009-08-09 14:20:54 +00:00
Ilia Alshanetsky
3189707681
Fixed bug #49193 (gdJpegGetVersionString() inside gd_compact identifies wrong type in declaration)
2009-08-09 13:15:45 +00:00
Rasmus Lerdorf
d02332b43f
Skip this test on osx because ceil(-0.5) doesn't return -0 like
...
everywhere else because of weird optimizations.
2009-08-09 05:16:17 +00:00
Rasmus Lerdorf
53349c7769
Doing a strnatcasecmp(chr(128),chr(255)) is completely non-sensical.
...
Logically one might think that chr(128) would collate before chr(255) except
this is a case-insensitive comparison and internally we toupper() both args.
toupper(chr(128)) is 128. There is no upper-case equivalent of this char.
toupper(chr(255)) is 120 so chr(255) collates before chr(128) in this
case-insensitive comparison. And these are rather bogus characters to feed
to a natsort test anyway.
2009-08-08 14:48:47 +00:00
Rasmus Lerdorf
124a0a5a69
Restore intra-string whitespace collapsing broken in the previous change.
2009-08-08 14:39:34 +00:00