]>
granicus.if.org Git - php/log
Ilia Alshanetsky [Wed, 7 Oct 2009 12:46:29 +0000 (12:46 +0000)]
Fixed bug #49800 (SimpleXML allow (un)serialize() calls without warning).
# original patch by wmeler at wp-sa dot pl
Christopher Jones [Tue, 6 Oct 2009 23:21:11 +0000 (23:21 +0000)]
bump ver
Christopher Jones [Tue, 6 Oct 2009 22:36:32 +0000 (22:36 +0000)]
1. Introduce connection attribute functions:
oci_set_module_name
oci_set_action
oci_set_client_info
oci_set_client_identifier
These functions set values that are visible and used by the
database. They aid tracing, authentication and auditing.
2. Introduce connection attribute function:
oci_set_edition
Oracle 11g R2 "editions" allow multiple versions of DB objects
to exist at one time. By setting different editions, two
different versions of an application can run concurrently,
making upgrades or A/B testing easier.
3. Introduce OCI_NO_AUTO_COMMIT as an alias for the OCI_DEFAULT
constant (which is not the default value) used by oci_execute().
4. Allow the oci_set_prefetch value to be 0. This is important in
some cases using REF CURSORS in Oracle 11gR2.
5. Set the DRIVER_NAME attribute of Oracle Database 11gR2
connections to aid application tracing. The value used is to
"PHP OCI8" followed by the OCI8 version number. Note the
version number may get truncated in DB views such as
v$session_connect_info.
6. Generate an error if an invalid resource type is used in
oci_bind_by_name
[DOC] Documentation will be added for the changes
Etienne Kneuss [Tue, 6 Oct 2009 13:34:56 +0000 (13:34 +0000)]
Fix bug #49263 (Offset error when unserializing self-references in SplObjectStorage)
Andrey Hristov [Tue, 6 Oct 2009 12:53:01 +0000 (12:53 +0000)]
revert the last change
Andrey Hristov [Tue, 6 Oct 2009 10:33:23 +0000 (10:33 +0000)]
count the queries
Jani Taskinen [Tue, 6 Oct 2009 10:00:53 +0000 (10:00 +0000)]
pff
Christopher Jones [Mon, 5 Oct 2009 22:51:21 +0000 (22:51 +0000)]
Fix diff when full connection string used. Clean up helper files
Ilia Alshanetsky [Mon, 5 Oct 2009 14:45:54 +0000 (14:45 +0000)]
Fixed bug #49757 (long2ip() can return wrong value in a multi-threaded applications).
# original patch by Florian Anderiasch
Dmitry Stogov [Mon, 5 Oct 2009 13:56:49 +0000 (13:56 +0000)]
Fixed bug #49627 (error_log to specified file does not log time according to date.timezone)
Felipe Pena [Sat, 3 Oct 2009 20:45:29 +0000 (20:45 +0000)]
- Fix some arginfos (thanks Philip)
- Added arginfo info. for void params
Pierre Joye [Sat, 3 Oct 2009 10:19:06 +0000 (10:19 +0000)]
- drop unused var and fix example
Christopher Jones [Fri, 2 Oct 2009 22:39:28 +0000 (22:39 +0000)]
Oracle 11.2 (and beyond) compat changes
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.