Commit Graph

46431 Commits

Author SHA1 Message Date
Jani Taskinen
953c96d0d8 - Sync (and KEEP it synced!) 2009-12-21 15:44:58 +00:00
Dmitry Stogov
3c822ea189 Fixed Unicode support 2009-12-21 15:29:21 +00:00
Jani Taskinen
8ac895201e - Tune the fix for bug #50508 and make it work with MacOSX, bug #50541. 2009-12-21 15:22:40 +00:00
Felipe Pena
d5e1c1718b - New tests 2009-12-20 22:04:55 +00:00
Stanislav Malyshev
1d8116180c fix bug #50196 2009-12-19 01:13:33 +00:00
Stanislav Malyshev
7f775864d1 fix regression bug #50394: Reference argument converted to value in __call 2009-12-18 19:12:11 +00:00
Jani Taskinen
8831f4ca23 touch 2009-12-18 12:49:20 +00:00
Jani Taskinen
17cebc44a7 - Fixed bug #50508 (compile fails: Conflicting HEADER type declarations)
# NEVER ever include nameser_compat.h, it's included in various ways in different OSes by nameser.h if needed
2009-12-18 11:02:07 +00:00
Ulf Wendel
95f4aff61c Test for what Andrey has found with 16M packets 2009-12-17 14:15:28 +00:00
Andrey Hristov
f8dcfbc74f 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)
2009-12-17 13:29:46 +00:00
Andrey Hristov
60697e1876 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);'
2009-12-17 12:30:58 +00:00
Sriram Natarajan
078ecd5f37 - Fixed bug #50496 (Use of <stdbool.h> is valid only in a c99 compilation environment.) 2009-12-16 20:49:08 +00:00
Andrey Hristov
e0441d594e call free_contents in every case, in case something is not freed
by the calling code
2009-12-16 14:38:30 +00:00
Andrey Hristov
6adc50b460 Remove unneeded dereferences 2009-12-16 14:05:35 +00:00
Andrey Hristov
9f21c91a08 move MYSQLND_NET code to a separate file.
mysqlnd_wireprotocol is about the protocol not the transport
layer
2009-12-16 12:59:38 +00:00
Dmitry Stogov
e3b901796a Fixed tests 2009-12-16 11:16:32 +00:00
Dmitry Stogov
dc3bb4674d Fixed test engine to support non utf-8 tests 2009-12-16 11:16:03 +00:00
Dmitry Stogov
5630119374 Fixed str_replace() to work with both binary and unicode strings 2009-12-16 11:15:22 +00:00
Pierre Joye
2dd0d9cabe - add a test case and update the skip clause 2009-12-16 10:09:34 +00:00
Kalle Sommer Nielsen
11133e50f8 Added newly added removed directives to the makefile 2009-12-16 06:08:38 +00:00
Andrey Hristov
857e83a249 remove duplicated code 2009-12-15 17:39:30 +00:00
Andrey Hristov
1fc65ed8bb 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.
2009-12-15 17:33:06 +00:00
Andrey Hristov
37cbcf3850 remove C++ comments 2009-12-15 14:48:24 +00:00
Andrey Hristov
a5640ede09 export this function 2009-12-15 14:26:24 +00:00
Andrey Hristov
e6e40722d9 refactor: move code that belongs to MYSQLND_NET out of MYSQLND 2009-12-15 13:13:51 +00:00
Ilia Alshanetsky
312d703cce Fixed bu #50392 (date_create_from_format() enforces 6 digits for 'u' format character) 2009-12-15 12:34:12 +00:00
Dmitry Stogov
9c3ef1f468 Fixed pcre_quote() to work with both unicode and binary strings 2009-12-15 12:31:32 +00:00
Dmitry Stogov
94f414ca1d Fixed ASCII-comatimle encoding detection 2009-12-15 12:30:14 +00:00
Dmitry Stogov
ddb43dfb5a Fixed ASCII-comatimle encoding detection 2009-12-15 12:29:26 +00:00
Jani Taskinen
daab781751 - Make $sbindir be usable in C code as well (like $bindir and co.) 2009-12-15 11:17:47 +00:00
Jani Taskinen
28940db275 - Allow using $sbindir as well 2009-12-15 10:55:27 +00:00
Felipe Pena
844886532c - Added SKIPIF 2009-12-15 00:37:43 +00:00
Felipe Pena
93081294fe - Fixed memory leak when E_STRICT message is getted 2009-12-14 21:44:56 +00:00
Dmitry Stogov
d61f88b61f Fixed urldecode() and rawurldecode() to accept ASCII-Unicode strings 2009-12-14 13:46:46 +00:00
Kalle Sommer Nielsen
5b5b64ea38 Add some more removed ini directives 2009-12-14 10:56:34 +00:00
Kalle Sommer Nielsen
5464df7ff4 Change to E_CORE_ERROR as advertised (Fixes #50435) - Patch by arpad@php.net 2009-12-14 10:55:06 +00:00
Jani Taskinen
b6ba34df31 MFB: fix test 2009-12-14 09:41:39 +00:00
Jani Taskinen
e8f5320ed9 MFB: fix test 2009-12-14 09:37:33 +00:00
Jani Taskinen
b715491722 - Fix test 2009-12-14 05:52:49 +00:00
Pierrick Charron
2b2c140ac5 - Fixed bug #50469 (Fixed typo in imagepsencodefont error string). 2009-12-14 04:09:18 +00:00
Pierrick Charron
762ea0fb52 - Fixed bug #50458 (PDO::FETCH_FUNC fails with Closures) 2009-12-14 03:44:33 +00:00
Felipe Pena
05859f7fc7 - Fixed bug #49174 (crash on queryString set) 2009-12-13 19:53:44 +00:00
Felipe Pena
97cfc51298 - Fixed bug #50209 (Compiling with libedit cannot find readline.h)
(patch by tcallawa at redhat dot com)
2009-12-13 17:06:47 +00:00
Felipe Pena
3a693ff236 - Fixed tests for when running using libedit 2009-12-13 16:53:24 +00:00
Ilia Alshanetsky
cea66f6a24 Fixed bug #50451 (http wrapper breaks on 2048 char long headers)
# Improvement on the fix for bug #49851
2009-12-13 15:44:22 +00:00
Felipe Pena
1062384b0d - Fixed bug #50445 (PDO-ODBC stored procedure call from Solaris 64-bit causes seg fault).
(Original patch by davbrown4 at yahoo dot com)
2009-12-11 22:30:46 +00:00
Pierre Joye
1ab58199a9 - fix build, come on, it is not that hard to test before commit, is it? 2009-12-11 16:35:42 +00:00
Pierre Joye
eeee2f3c05 - #50334, use our own implementations of stpncpy and mempcy, avoiding weird behaviors on certain platforms like solaris 2009-12-11 15:57:01 +00:00
Jani Taskinen
304a6dd9f6 MF53:- Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit) #Ilia.. 2009-12-11 15:42:16 +00:00
Jani Taskinen
15556572e4 fix test 2009-12-11 15:06:50 +00:00