]>
granicus.if.org Git - php/log
Christopher Jones [Fri, 2 Oct 2009 20:16:59 +0000 (20:16 +0000)]
refactor tests
Christopher Jones [Fri, 2 Oct 2009 04:19:48 +0000 (04:19 +0000)]
Fix skipifs to accept Oracle 11.2
Sriram Natarajan [Fri, 2 Oct 2009 00:13:53 +0000 (00:13 +0000)]
- Fixed bug #49738 (calling mcrypt after mcrypt_generic_deinit crashes).
Pierre Joye [Thu, 1 Oct 2009 13:55:16 +0000 (13:55 +0000)]
- fix #49732, fix crash when timestamp conversion fails
Ulf Wendel [Thu, 1 Oct 2009 08:56:28 +0000 (08:56 +0000)]
Updating test because of http://news.php.net/php.cvs/60561
Christopher Jones [Thu, 1 Oct 2009 06:22:32 +0000 (06:22 +0000)]
Add xmltype_02.phpt. Add XFAIL to xmltype_01 for PHP 6
Christopher Jones [Thu, 1 Oct 2009 05:51:11 +0000 (05:51 +0000)]
PECL Bug #16842 (oci_error return false when NO_DATA_FOUND is raised)
Andrey Hristov [Wed, 30 Sep 2009 23:34:56 +0000 (23:34 +0000)]
Fix ZTS build
Andrey Hristov [Wed, 30 Sep 2009 23:13:43 +0000 (23:13 +0000)]
Use mnd_ wrappers wherever possible. Needed for
statistics.
Andrey Hristov [Wed, 30 Sep 2009 22:26:19 +0000 (22:26 +0000)]
Fix trace output. DBG_RETURN should be used in traced
functions.
Ilia Alshanetsky [Wed, 30 Sep 2009 20:48:41 +0000 (20:48 +0000)]
Fixed bug #48805 (IPv6 socket transport is not working).
Ulf Wendel [Wed, 30 Sep 2009 14:39:33 +0000 (14:39 +0000)]
Fixing a leak in mysqlnd when passing invalid fetch modes to mysqlnd.
Felipe Pena [Wed, 30 Sep 2009 13:30:32 +0000 (13:30 +0000)]
- Fixed test
Dmitry Stogov [Wed, 30 Sep 2009 13:04:28 +0000 (13:04 +0000)]
pcntl_exec() should inherit environment in case it's not provided as an argument
Pierre Joye [Wed, 30 Sep 2009 11:53:29 +0000 (11:53 +0000)]
- restore W3 flag to get usefull errors (unused vars, etc.)
Ilia Alshanetsky [Wed, 30 Sep 2009 02:34:17 +0000 (02:34 +0000)]
Fixed bug #49517 (cURL's CURLOPT_FILE prevents file from being deleted after fclose).
Ulf Wendel [Tue, 29 Sep 2009 16:37:50 +0000 (16:37 +0000)]
Fixing test
Rafael Machado Dohms [Tue, 29 Sep 2009 14:34:06 +0000 (14:34 +0000)]
Fixing tests for head and wrong SKIPIF blocks
Rasmus Lerdorf [Tue, 29 Sep 2009 14:03:49 +0000 (14:03 +0000)]
Add missing open_basedir check in posix_mkfifo
Rasmus Lerdorf [Tue, 29 Sep 2009 13:56:51 +0000 (13:56 +0000)]
Fix date_sunrise/date_sunset tests
Rafael Machado Dohms [Mon, 28 Sep 2009 22:57:41 +0000 (22:57 +0000)]
Adding tests for bug #49692
Rasmus Lerdorf [Mon, 28 Sep 2009 13:29:53 +0000 (13:29 +0000)]
Fix for bug #49698
Pierre Joye [Mon, 28 Sep 2009 12:54:23 +0000 (12:54 +0000)]
- fix TS build, this macro contains code and declaration, always put it right after your declaration
Ulf Wendel [Mon, 28 Sep 2009 10:42:36 +0000 (10:42 +0000)]
Fixing test
Ulf Wendel [Mon, 28 Sep 2009 10:39:42 +0000 (10:39 +0000)]
Allow setting of default connection flags through the environment variable MYSQL_TEST_CONNECT_FLAGS
Felipe Pena [Sat, 26 Sep 2009 17:59:33 +0000 (17:59 +0000)]
- Fixed tests
Felipe Pena [Sat, 26 Sep 2009 16:54:08 +0000 (16:54 +0000)]
- Fixed tests
Rasmus Lerdorf [Sat, 26 Sep 2009 00:53:59 +0000 (00:53 +0000)]
Refix bug #49558 as per bug #49676
Ulf Wendel [Fri, 25 Sep 2009 13:21:44 +0000 (13:21 +0000)]
Trying to respect time limit to please Andrey who must be using slooow hardware...
Andrey Hristov [Fri, 25 Sep 2009 12:25:54 +0000 (12:25 +0000)]
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.
Andrey Hristov [Fri, 25 Sep 2009 11:38:19 +0000 (11:38 +0000)]
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.
Ulf Wendel [Fri, 25 Sep 2009 10:56:17 +0000 (10:56 +0000)]
Large package to check how compression handles package queues.
Andrey Hristov [Fri, 25 Sep 2009 10:55:06 +0000 (10:55 +0000)]
Remove unused variable
Ulf Wendel [Fri, 25 Sep 2009 10:54:16 +0000 (10:54 +0000)]
Replacing MYSQL_TEST_COMPRESS env var with more generic MYSQL_TEST_CONNECT_FLAGS to be able to test all connection flags. Fixing some test.
Andrey Hristov [Fri, 25 Sep 2009 10:52:29 +0000 (10:52 +0000)]
Fix error code checking for mysql_stmt_attr_set. There
is a test that checks this.
Andrey Hristov [Fri, 25 Sep 2009 10:37:44 +0000 (10:37 +0000)]
Fix possible crash when conn is NULL
Felipe Pena [Fri, 25 Sep 2009 02:07:41 +0000 (02:07 +0000)]
- Fix test
Felipe Pena [Fri, 25 Sep 2009 01:46:58 +0000 (01:46 +0000)]
- Fixed mem leak
Ilia Alshanetsky [Thu, 24 Sep 2009 18:59:28 +0000 (18:59 +0000)]
Make tempnam() return FALSE on error as documented
Sriram Natarajan [Thu, 24 Sep 2009 18:20:49 +0000 (18:20 +0000)]
- Fixed bug #49571 (CURLOPT_POSTREDIR not implemented).
Jani Taskinen [Thu, 24 Sep 2009 18:01:17 +0000 (18:01 +0000)]
- Fix the build issue with php_mysqlnd_config.h ending up in wrong build directory
Rob Richards [Thu, 24 Sep 2009 13:18:22 +0000 (13:18 +0000)]
Fixed bug #49647 (DOMUserData does not exist)
Ulf Wendel [Thu, 24 Sep 2009 12:51:03 +0000 (12:51 +0000)]
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.
Rob Richards [Thu, 24 Sep 2009 12:40:59 +0000 (12:40 +0000)]
fix memleak
Antony Dovgal [Thu, 24 Sep 2009 10:43:13 +0000 (10:43 +0000)]
save LDFLAGS in EXTRA_LDFLAGS before unsetting
this patch makes sure that LDFLAGS are taken into account when
configuring the build
Ulf Wendel [Thu, 24 Sep 2009 09:40:24 +0000 (09:40 +0000)]
Fixing test
Ulf Wendel [Thu, 24 Sep 2009 08:19:56 +0000 (08:19 +0000)]
Coverage for the OO variants of some functions
Dmitry Stogov [Wed, 23 Sep 2009 16:34:05 +0000 (16:34 +0000)]
Fixed tests ("\r" and "\n" mismatch)
Dmitry Stogov [Wed, 23 Sep 2009 15:46:10 +0000 (15:46 +0000)]
Fixed tests ("\r" and "\n" mismatch)
Moriyoshi Koizumi [Wed, 23 Sep 2009 15:22:47 +0000 (15:22 +0000)]
- 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*.)
Dmitry Stogov [Wed, 23 Sep 2009 14:15:52 +0000 (14:15 +0000)]
Removed irrelevant test
Dmitry Stogov [Wed, 23 Sep 2009 13:51:50 +0000 (13:51 +0000)]
Fixed a bug in parameter passing/conversion API which caused tons of memleak and was the reason of ~1500 test failurs
Dmitry Stogov [Wed, 23 Sep 2009 10:25:54 +0000 (10:25 +0000)]
Fixed ext/standard/tests/streams/stream_get_contents_002.phpt
Dmitry Stogov [Wed, 23 Sep 2009 08:33:23 +0000 (08:33 +0000)]
Fixed compilation error
Felipe Pena [Wed, 23 Sep 2009 02:08:19 +0000 (02:08 +0000)]
- Fixed bug #49531 (CURLOPT_INFILESIZE sometimes causes warning "CURLPROTO_FILE cannot be set ...")
Ilia Alshanetsky [Wed, 23 Sep 2009 00:18:32 +0000 (00:18 +0000)]
Fixed compiler warning
Felipe Pena [Tue, 22 Sep 2009 18:18:57 +0000 (18:18 +0000)]
- Fixed bug #49630 (imap_listscan function missing)
# Missing PHP_FE(), though nowdays it is used through of two aliases. (imap_scan() and imap_scanmailbox())
Ulf Wendel [Tue, 22 Sep 2009 15:31:35 +0000 (15:31 +0000)]
mysqlnd supports INIT_COMMAND and so we can add it to PDO_MYSQL @ mysqlnd
Andrey Hristov [Tue, 22 Sep 2009 15:07:39 +0000 (15:07 +0000)]
Fix handling of BIT fields for non-PS. We need
macros from mysqlnd to be able to convert a bit
stream to a number. BIT is binary data thus
the result is a string, and not unicode
Dmitry Stogov [Tue, 22 Sep 2009 14:52:47 +0000 (14:52 +0000)]
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)
Andrey Hristov [Tue, 22 Sep 2009 14:52:12 +0000 (14:52 +0000)]
sync with branch, after Ulf's commits
Andrey Hristov [Tue, 22 Sep 2009 14:43:37 +0000 (14:43 +0000)]
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.
Andrey Hristov [Tue, 22 Sep 2009 13:58:52 +0000 (13:58 +0000)]
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.
Nuno Lopes [Tue, 22 Sep 2009 12:35:35 +0000 (12:35 +0000)]
MFB: generalize output
Nuno Lopes [Tue, 22 Sep 2009 12:14:47 +0000 (12:14 +0000)]
spread more svn:ignore love
Ulf Wendel [Tue, 22 Sep 2009 11:58:46 +0000 (11:58 +0000)]
Fixing test
Dmitry Stogov [Tue, 22 Sep 2009 10:15:10 +0000 (10:15 +0000)]
Fixed test (it failed from time to time because of very small timeouts)
Jani Taskinen [Tue, 22 Sep 2009 09:41:39 +0000 (09:41 +0000)]
- Move tests in the right location
Ulf Wendel [Tue, 22 Sep 2009 08:42:44 +0000 (08:42 +0000)]
Fixing test
Dmitry Stogov [Tue, 22 Sep 2009 07:54:06 +0000 (07:54 +0000)]
Fixed ext/spl/tests/arrayObject_magicMethods2.phpt
Ulf Wendel [Tue, 22 Sep 2009 07:11:50 +0000 (07:11 +0000)]
Fixing test. There is nothing we can do about the MySQL Client Library allocate huge 4GB buffers for some SQL types.
Ulf Wendel [Tue, 22 Sep 2009 06:59:04 +0000 (06:59 +0000)]
Fixing test. Can't wait to see the new run-tests materialize for detecting skip section parse errors.
Ilia Alshanetsky [Tue, 22 Sep 2009 01:17:16 +0000 (01:17 +0000)]
Fixed build with older version of libcurl
Ulf Wendel [Mon, 21 Sep 2009 15:59:22 +0000 (15:59 +0000)]
Fixing test
Ulf Wendel [Mon, 21 Sep 2009 15:24:47 +0000 (15:24 +0000)]
Fixing test
Dmitry Stogov [Mon, 21 Sep 2009 15:23:25 +0000 (15:23 +0000)]
Fixed tests (removed irrelevant check which makes test to fail from time to time)
Dmitry Stogov [Mon, 21 Sep 2009 14:32:20 +0000 (14:32 +0000)]
Fixed tests ("none" is an alias of "false" and it can't be used as a string value of ini option)
Ulf Wendel [Mon, 21 Sep 2009 14:20:05 +0000 (14:20 +0000)]
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.
Dmitry Stogov [Mon, 21 Sep 2009 13:01:17 +0000 (13:01 +0000)]
Fixed memleak in tests/lang/engine_assignExecutionOrder_001.phpt
Ulf Wendel [Mon, 21 Sep 2009 12:02:30 +0000 (12:02 +0000)]
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.
Ulf Wendel [Mon, 21 Sep 2009 11:54:15 +0000 (11:54 +0000)]
Fixing test
Dmitry Stogov [Mon, 21 Sep 2009 11:38:14 +0000 (11:38 +0000)]
Fixed tests
Dmitry Stogov [Mon, 21 Sep 2009 11:30:38 +0000 (11:30 +0000)]
Fixed tests
Ulf Wendel [Mon, 21 Sep 2009 10:16:44 +0000 (10:16 +0000)]
Not nice but neither the MySQL Client Library not mysqlnd are supposed to detect invalid flags. Therefore: fixing test
Ulf Wendel [Mon, 21 Sep 2009 10:06:13 +0000 (10:06 +0000)]
Fixing mysqli_result_references_mysqlnd.php
Ulf Wendel [Mon, 21 Sep 2009 09:35:23 +0000 (09:35 +0000)]
Fixing mysqli_get_client_stats.phpt. More testing for MYSQLI_INIT_COMMAND
Ulf Wendel [Mon, 21 Sep 2009 08:59:00 +0000 (08:59 +0000)]
Fixing test: references has to be collected even if the users disables the collection of statistics. It is needed for memory management.
Ulf Wendel [Mon, 21 Sep 2009 08:36:14 +0000 (08:36 +0000)]
Fixing test - the standard test table will not accept NULL values for column id
Pierre Joye [Sat, 19 Sep 2009 20:54:34 +0000 (20:54 +0000)]
- fix ACL cache for read check
Hannes Magnusson [Fri, 18 Sep 2009 23:06:21 +0000 (23:06 +0000)]
And now use proper colspanning
Hannes Magnusson [Fri, 18 Sep 2009 22:26:44 +0000 (22:26 +0000)]
Fix typo in comment (danbrown)
Hannes Magnusson [Fri, 18 Sep 2009 22:01:58 +0000 (22:01 +0000)]
Throw some credit around
Andrey Hristov [Fri, 18 Sep 2009 14:32:01 +0000 (14:32 +0000)]
Fix for bug#48909 Segmentation fault in mysqli_stmt_execute
Andrey Hristov [Fri, 18 Sep 2009 10:46:51 +0000 (10:46 +0000)]
Fix for bug#48754 mysql_close() crash php when no handle specified
Andrey Hristov [Thu, 17 Sep 2009 15:13:36 +0000 (15:13 +0000)]
Afix 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.
Ulf Wendel [Thu, 17 Sep 2009 07:11:25 +0000 (07:11 +0000)]
better coverage for mysqli_info
Sriram Natarajan [Thu, 17 Sep 2009 02:45:25 +0000 (02:45 +0000)]
- Fixed bug #49572 (use of C++ style comments causes build failure)
Felipe Pena [Wed, 16 Sep 2009 18:01:10 +0000 (18:01 +0000)]
- Fixed ZTS build
Sebastian Bergmann [Wed, 16 Sep 2009 17:24:46 +0000 (17:24 +0000)]
Merge ReflectionMethod::setAccessible() to PHP 5.3.2, approved by Johannes.
Ulf Wendel [Wed, 16 Sep 2009 17:03:44 +0000 (17:03 +0000)]
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.