]>
granicus.if.org Git - php/log
Andrey Hristov [Thu, 17 Dec 2009 13:29:46 +0000 (13:29 +0000)]
refactoring : move more network related functions to
mysqlnd_net.c . Now communication is split on two levels:
- logical (functions send and receive)
- physical (functions network_read and network_write)
Andrey Hristov [Thu, 17 Dec 2009 12:30:58 +0000 (12:30 +0000)]
During refactoring of the function mysqlnd_stream_write_w_header() it was
found that there is a bug in the way the data is sent, although a very rare
one which will only affect very large queries which have length
16777214 . The
communication will hang. A way to test it is to execute the following:
./php -r '$c=mysqli_connect("127.0.0.1","root","root","test");
$q="insert into test.tblob values(\"".str_repeat("a",256*256*256-1-34)."\")";
$c->query($q);'
Sriram Natarajan [Wed, 16 Dec 2009 21:33:20 +0000 (21:33 +0000)]
- Fix NEWS for bug #50496
# Update NEWS to keep resolved bugs in decreasing order (Christopher Jones)
Sriram Natarajan [Wed, 16 Dec 2009 20:49:08 +0000 (20:49 +0000)]
- Fixed bug #50496 (Use of <stdbool.h> is valid only in a c99 compilation environment.)
Andrey Hristov [Wed, 16 Dec 2009 14:38:30 +0000 (14:38 +0000)]
call free_contents in every case, in case something is not freed
by the calling code
Andrey Hristov [Wed, 16 Dec 2009 14:06:09 +0000 (14:06 +0000)]
Remove unneeded dereferences
(oops, committed the trunk changes from a wrong directory, which splitted
this commit).
Andrey Hristov [Wed, 16 Dec 2009 12:59:38 +0000 (12:59 +0000)]
move MYSQLND_NET code to a separate file.
mysqlnd_wireprotocol is about the protocol not the transport
layer
Pierre Joye [Wed, 16 Dec 2009 10:09:34 +0000 (10:09 +0000)]
- add a test case and update the skip clause
Andrey Hristov [Tue, 15 Dec 2009 17:39:30 +0000 (17:39 +0000)]
remove duplicated code
Andrey Hristov [Tue, 15 Dec 2009 17:33:06 +0000 (17:33 +0000)]
Move code out of mysqlnd_conn::connect to mysqlnd_net::connect.
Thus mysqlnd_conn::connect() does less of what it should not do - think
about the transport level.
Andrey Hristov [Tue, 15 Dec 2009 14:48:24 +0000 (14:48 +0000)]
remove C++ comments
Andrey Hristov [Tue, 15 Dec 2009 14:26:24 +0000 (14:26 +0000)]
export this function
Andrey Hristov [Tue, 15 Dec 2009 13:13:51 +0000 (13:13 +0000)]
refactor: move code that belongs to MYSQLND_NET out of MYSQLND
Ilia Alshanetsky [Tue, 15 Dec 2009 12:34:12 +0000 (12:34 +0000)]
Fixed bu #50392 (date_create_from_format() enforces 6 digits for 'u' format character)
Jani Taskinen [Tue, 15 Dec 2009 11:17:47 +0000 (11:17 +0000)]
- Make $sbindir be usable in C code as well (like $bindir and co.)
Jani Taskinen [Tue, 15 Dec 2009 10:55:27 +0000 (10:55 +0000)]
- Allow using $sbindir as well
Felipe Pena [Tue, 15 Dec 2009 00:37:43 +0000 (00:37 +0000)]
- Added SKIPIF
Felipe Pena [Mon, 14 Dec 2009 21:44:56 +0000 (21:44 +0000)]
- Fixed memory leak when E_STRICT message is getted
Jani Taskinen [Mon, 14 Dec 2009 09:42:55 +0000 (09:42 +0000)]
- Fix test
Jani Taskinen [Mon, 14 Dec 2009 09:26:49 +0000 (09:26 +0000)]
- Fix test
Pierrick Charron [Mon, 14 Dec 2009 04:09:18 +0000 (04:09 +0000)]
- Fixed bug #50469 (Fixed typo in imagepsencodefont error string).
Pierrick Charron [Mon, 14 Dec 2009 03:44:33 +0000 (03:44 +0000)]
- Fixed bug #50458 (PDO::FETCH_FUNC fails with Closures)
Felipe Pena [Sun, 13 Dec 2009 20:51:15 +0000 (20:51 +0000)]
- Improved the bug#49174 entry summary
Felipe Pena [Sun, 13 Dec 2009 20:04:44 +0000 (20:04 +0000)]
- Completing the phrase
Felipe Pena [Sun, 13 Dec 2009 19:53:44 +0000 (19:53 +0000)]
- Fixed bug #49174 (crash on queryString set)
Felipe Pena [Sun, 13 Dec 2009 17:06:47 +0000 (17:06 +0000)]
- Fixed bug #50209 (Compiling with libedit cannot find readline.h)
(patch by tcallawa at redhat dot com)
Felipe Pena [Sun, 13 Dec 2009 16:53:24 +0000 (16:53 +0000)]
- Fixed tests for when running using libedit
Ilia Alshanetsky [Sun, 13 Dec 2009 15:44:22 +0000 (15:44 +0000)]
Fixed bug #50451 (http wrapper breaks on 2048 char long headers)
# Improvement on the fix for bug #49851
Felipe Pena [Sun, 13 Dec 2009 15:18:58 +0000 (15:18 +0000)]
- Fixed bug #50464 (declare encoding doesn't work with)
# The bug (BC) only happens in this branch.
Felipe Pena [Fri, 11 Dec 2009 22:30:46 +0000 (22:30 +0000)]
- Fixed bug #50445 (PDO-ODBC stored procedure call from Solaris 64-bit causes seg fault).
(Original patch by davbrown4 at yahoo dot com)
Pierre Joye [Fri, 11 Dec 2009 16:35:42 +0000 (16:35 +0000)]
- fix build, come on, it is not that hard to test before commit, is it?
Pierre Joye [Fri, 11 Dec 2009 16:07:57 +0000 (16:07 +0000)]
- #50334, add sha support for VC6 too, not merged in trunk as we don't support vc6 there
Pierre Joye [Fri, 11 Dec 2009 15:57:01 +0000 (15:57 +0000)]
- #50334, use our own implementations of stpncpy and mempcy, avoiding weird behaviors on certain platforms like solaris
Jani Taskinen [Fri, 11 Dec 2009 15:38:15 +0000 (15:38 +0000)]
- Fix test
Jani Taskinen [Fri, 11 Dec 2009 15:06:50 +0000 (15:06 +0000)]
fix test
Andrey Hristov [Fri, 11 Dec 2009 11:58:57 +0000 (11:58 +0000)]
Make MYSQLND_NET dynamically allocated structure with allocator
and deallocator. More member functions will come.
Jani Taskinen [Fri, 11 Dec 2009 10:55:56 +0000 (10:55 +0000)]
Fix test
Andrey Hristov [Fri, 11 Dec 2009 10:21:34 +0000 (10:21 +0000)]
remove stale comment
Andrey Hristov [Fri, 11 Dec 2009 10:18:00 +0000 (10:18 +0000)]
Move two functions which are used in the extension as methods of
the connection. Two functions less in the global namespace.
Jani Taskinen [Fri, 11 Dec 2009 07:34:06 +0000 (07:34 +0000)]
- Fix problem with SKIPIF failing to skip in some cases (deprecated warnings f.e.)
Christopher Jones [Thu, 10 Dec 2009 19:07:08 +0000 (19:07 +0000)]
Add new 'fetch' test and make several small test fixes
Christopher Jones [Thu, 10 Dec 2009 17:28:19 +0000 (17:28 +0000)]
Remove text recently merged to online doc
Pierre Joye [Thu, 10 Dec 2009 14:08:19 +0000 (14:08 +0000)]
- #50334, add define on win as well
Andrey Hristov [Thu, 10 Dec 2009 11:59:14 +0000 (11:59 +0000)]
bump version number
Andrey Hristov [Thu, 10 Dec 2009 11:18:05 +0000 (11:18 +0000)]
Add plugin storage for MYSQLND_STMT too
Andrey Hristov [Thu, 10 Dec 2009 09:35:10 +0000 (09:35 +0000)]
Fix pdo build, forgot to remove the zval caching from pdo-mysql
Jani Taskinen [Thu, 10 Dec 2009 09:23:06 +0000 (09:23 +0000)]
- not needed anymore
Jani Taskinen [Thu, 10 Dec 2009 09:22:54 +0000 (09:22 +0000)]
- Fix test mess (testing the deprecated ini option is pointless when using the func does same thing)
Ilia Alshanetsky [Thu, 10 Dec 2009 03:23:05 +0000 (03:23 +0000)]
Fixed bug #49851 (http wrapper breaks on 1024 char long headers).
Pierre Joye [Thu, 10 Dec 2009 02:25:47 +0000 (02:25 +0000)]
- [DOC] expose MPIR version when mpir is used instead of gmp
Andrey Hristov [Wed, 9 Dec 2009 20:38:11 +0000 (20:38 +0000)]
Remove stub code which never actually was used for anything.
Things like this can be built on top of the core.
Andrey Hristov [Wed, 9 Dec 2009 20:21:05 +0000 (20:21 +0000)]
Remove the zval caching from mysqlnd. It was disabled versions ago
due to problems on windows, which were not debugged. Better have
code that is disabled not in the core.
Andrey Hristov [Wed, 9 Dec 2009 18:11:03 +0000 (18:11 +0000)]
Fix compilation warnings
Pierre Joye [Wed, 9 Dec 2009 17:40:19 +0000 (17:40 +0000)]
- #50334, fix build for platform without endian.h (like solaris)
Andrey Hristov [Wed, 9 Dec 2009 16:57:03 +0000 (16:57 +0000)]
Remove disabled code - threaded fetching. This can be implemented
on a upper level and by offloading it we reduce the complexity of
the core.
Jani Taskinen [Wed, 9 Dec 2009 13:25:10 +0000 (13:25 +0000)]
- Add one test from HEAD
Ulf Wendel [Wed, 9 Dec 2009 12:06:10 +0000 (12:06 +0000)]
Adapting tests to accept actual behaviour found in 5.2, 5.3 and 6.0. The behaviour is wrong according to the documentation: mysqli_connect_error() should return an empty string (not NULL), if there is no error. However, changing this would break BC and most users will not notice the difference between NULL and empty string anyway.
Pierre Joye [Wed, 9 Dec 2009 10:39:03 +0000 (10:39 +0000)]
- #50334, add missing file
Jani Taskinen [Wed, 9 Dec 2009 10:15:34 +0000 (10:15 +0000)]
FIFO
Pierre Joye [Wed, 9 Dec 2009 01:43:23 +0000 (01:43 +0000)]
- #50334, add CRYPT_SHA* constants and tests [DOC]
Pierre Joye [Wed, 9 Dec 2009 00:35:30 +0000 (00:35 +0000)]
- update
Pierre Joye [Wed, 9 Dec 2009 00:32:14 +0000 (00:32 +0000)]
- drop non used code and fix warning
Pierre Joye [Wed, 9 Dec 2009 00:20:14 +0000 (00:20 +0000)]
- #50334, crypt ignores sha512 and add support for sha256/512 to php's crypt [DOC]
William Martin [Tue, 8 Dec 2009 19:51:56 +0000 (19:51 +0000)]
Backported 5.3 tests to 5.2 and added more RecursiveIteratorIterator tests
Jani Taskinen [Tue, 8 Dec 2009 17:30:22 +0000 (17:30 +0000)]
MFH: static before const
Ilia Alshanetsky [Tue, 8 Dec 2009 13:24:27 +0000 (13:24 +0000)]
Upgraded to Sqlite 3.6.21
Dmitry Stogov [Tue, 8 Dec 2009 10:16:38 +0000 (10:16 +0000)]
- Forgotten patch for trunk
- Fixed stdin filename in error messages
Jani Taskinen [Tue, 8 Dec 2009 06:19:56 +0000 (06:19 +0000)]
FIFO
Felipe Pena [Tue, 8 Dec 2009 01:57:37 +0000 (01:57 +0000)]
- Added MAKE_COPY_ZVAL(ppzv, pzv) macro
Stanislav Malyshev [Tue, 8 Dec 2009 01:57:16 +0000 (01:57 +0000)]
ouch, that ZTS
Stanislav Malyshev [Tue, 8 Dec 2009 01:52:57 +0000 (01:52 +0000)]
win32 should have different test
Felipe Pena [Tue, 8 Dec 2009 01:51:34 +0000 (01:51 +0000)]
- Fixed ZTS build
Stanislav Malyshev [Tue, 8 Dec 2009 01:44:15 +0000 (01:44 +0000)]
add "no params" check
Stanislav Malyshev [Tue, 8 Dec 2009 01:35:08 +0000 (01:35 +0000)]
add realpath cache inspect functions
Moriyoshi Koizumi [Mon, 7 Dec 2009 15:41:43 +0000 (15:41 +0000)]
- Take account of surrogate pairs.
Ilia Alshanetsky [Mon, 7 Dec 2009 13:43:44 +0000 (13:43 +0000)]
Added FILTER_FLAG_STRIP_BACKTICK option to the filter extension.
Dmitry Stogov [Mon, 7 Dec 2009 08:47:18 +0000 (08:47 +0000)]
Fixed bug #49866 (Making reference on string offsets crashes PHP)
Dmitry Stogov [Mon, 7 Dec 2009 08:14:48 +0000 (08:14 +0000)]
Fixed bug #50351 (performance regression handling objects, ten times slower in 5.3 than in 5.2. foreach statement should not initiate GC)
Jani Taskinen [Mon, 7 Dec 2009 07:30:41 +0000 (07:30 +0000)]
- Fix NEWS
Pierrick Charron [Sun, 6 Dec 2009 21:32:58 +0000 (21:32 +0000)]
Fixed bug #50323 (Allow use of ; in values via ;; in PDO DSN even in the middle of a string).
Ilia Alshanetsky [Sun, 6 Dec 2009 19:34:12 +0000 (19:34 +0000)]
Fixed bug #50323 (Allow use of ; in values via ;; in PDO DSN).
Felipe Pena [Sun, 6 Dec 2009 18:53:16 +0000 (18:53 +0000)]
- Fixed bug #50162 (Memory leak when fetching timestamp column from Oracle database)
- Fixed bug #34852 (Failure in odbc_exec() using oracle-supplied odbc driver) (patch by tim dot tassonis at trivadis dot com)
Sriram Natarajan [Sun, 6 Dec 2009 16:43:46 +0000 (16:43 +0000)]
BFN
Felipe Pena [Fri, 4 Dec 2009 11:32:39 +0000 (11:32 +0000)]
- Fixed tests
Dmitry Stogov [Fri, 4 Dec 2009 07:11:37 +0000 (07:11 +0000)]
Fixed compilation
Stanislav Malyshev [Fri, 4 Dec 2009 01:21:32 +0000 (01:21 +0000)]
protect http_session_vars from interrupt corruption
improve save_path check
Jani Taskinen [Thu, 3 Dec 2009 22:24:04 +0000 (22:24 +0000)]
bfn
Rob Richards [Thu, 3 Dec 2009 20:19:38 +0000 (20:19 +0000)]
fix bug #47848 (importNode doesn't preserve attribute namespaces)
add tests
Pierrick Charron [Thu, 3 Dec 2009 15:24:43 +0000 (15:24 +0000)]
Fixed bug #45120 (PDOStatement->execute() returns true then false for same statement).
Felipe Pena [Thu, 3 Dec 2009 12:34:50 +0000 (12:34 +0000)]
- Fixed bug #49472 (Constants defined in Interfaces can be overridden)
Kalle Sommer Nielsen [Thu, 3 Dec 2009 11:50:32 +0000 (11:50 +0000)]
MFT: VC10 build support
Andrey Hristov [Thu, 3 Dec 2009 10:50:02 +0000 (10:50 +0000)]
I svn-commit.2.tmp (Modified) Row 2 Col 28 11:45 Ctrl-K H for help
fix compilation on windows and with other compilers who
don't like void* arithmetic
Pierre Joye [Thu, 3 Dec 2009 10:41:20 +0000 (10:41 +0000)]
- disable this debug code until it is actually fixed
Andrey Hristov [Thu, 3 Dec 2009 09:43:26 +0000 (09:43 +0000)]
fix segfault introduced by Pierre in a recent commit
old code was doing something like
conn + sizeof(MYSQLND) * MYSQLND + plugin * sizeof(void) * sizeof(MYSQLND)
because `conn` is not casted to void*. `conn` has to be casted to void * and
then the whole experession will be void * and the calculations will work.
Jani Taskinen [Thu, 3 Dec 2009 08:21:28 +0000 (08:21 +0000)]
the order
Ilia Alshanetsky [Thu, 3 Dec 2009 00:11:58 +0000 (00:11 +0000)]
BFN
Gwynne Raskind [Wed, 2 Dec 2009 17:42:58 +0000 (17:42 +0000)]
One change in trying to update Autoconf was missed. This makes phpize work again.
Jani Taskinen [Wed, 2 Dec 2009 12:09:06 +0000 (12:09 +0000)]
- Fix order
Andrey Hristov [Wed, 2 Dec 2009 11:59:24 +0000 (11:59 +0000)]
and the news
Andrey Hristov [Wed, 2 Dec 2009 11:58:04 +0000 (11:58 +0000)]
fix macro so that 5-byte BIT values are decoded correctly