Commit Graph

26091 Commits

Author SHA1 Message Date
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
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
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
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
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
15556572e4 fix test 2009-12-11 15:06:50 +00:00
Andrey Hristov
b1d4cea57e Make MYSQLND_NET dynamically allocated structure with allocator
and deallocator. More member functions will come.
2009-12-11 11:58:57 +00:00
Andrey Hristov
fd0d9822d8 remove stale comment 2009-12-11 10:21:34 +00:00
Andrey Hristov
2cc95115f3 Move two functions which are used in the extension as methods of
the connection. Two functions less in the global namespace.
2009-12-11 10:18:00 +00:00
Christopher Jones
46c695ee99 Add new 'fetch' test and make several small test fixes 2009-12-10 19:07:08 +00:00
Christopher Jones
ad9887458d Remove text recently merged to online doc 2009-12-10 17:28:19 +00:00
Andrey Hristov
1121c11899 bump version number 2009-12-10 11:59:14 +00:00
Andrey Hristov
311684e1e4 Add plugin storage for MYSQLND_STMT too 2009-12-10 11:18:05 +00:00
Felipe Pena
ab4d9190bc - Fix build 2009-12-10 10:46:33 +00:00
Andrey Hristov
ff7ce67a20 Fix pdo build, forgot to remove the zval caching from pdo-mysql 2009-12-10 09:35:10 +00:00
Ilia Alshanetsky
b9db7b4282 Fixed bug #49851 (http wrapper breaks on 1024 char long headers). 2009-12-10 03:23:05 +00:00
Pierre Joye
272974078b - [DOC] expose MPIR version when mpir is used instead of gmp 2009-12-10 02:25:47 +00:00
Andrey Hristov
3a7f8ea575 Remove stub code which never actually was used for anything.
Things like this can be built on top of the core.
2009-12-09 20:38:11 +00:00
Jani Taskinen
52f573d629 - Fixed bug #47179 (gzuncompress does not report expcted error) 2009-12-09 20:33:31 +00:00
Jani Taskinen
76d583e276 - fix tests (this is ridiculous..) 2009-12-09 20:32:13 +00:00
Andrey Hristov
fd44827701 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.
2009-12-09 20:21:05 +00:00
Jani Taskinen
0c8cc4fe5b - Fix file() 2009-12-09 19:33:14 +00:00
Andrey Hristov
685a8398a9 Fix compilation warnings 2009-12-09 18:11:03 +00:00
Jani Taskinen
8d07fcf017 - Fixed BC problem in new zlib implementation: truncated (invalid) short data was not caught 2009-12-09 17:47:38 +00:00
Pierre Joye
ee6d8691a3 - #50334, fix build for platform without endian.h (like solaris) 2009-12-09 17:40:19 +00:00
Andrey Hristov
157f1bddf1 Remove disabled code - threaded fetching. This can be implemented
on a upper level and by offloading it we reduce the complexity of
the core.
2009-12-09 16:57:03 +00:00
Jani Taskinen
617398b51d - Rename badly named function 2009-12-09 14:06:18 +00:00
Ulf Wendel
e76b3982f8 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. 2009-12-09 12:06:10 +00:00
Pierre Joye
49b5949bd7 - #50334, fix trunk build 2009-12-09 10:39:42 +00:00
Pierre Joye
48c7eedebf - #50334, add CRYPT_SHA* constants and tests [DOC] 2009-12-09 01:43:23 +00:00
Pierre Joye
1d505449ef - drop non used code and fix warning 2009-12-09 00:32:14 +00:00
Pierre Joye
a8c9e893b6 - #50334, crypt ignores sha512 and add support for sha256/512 to php's crypt [DOC] 2009-12-09 00:20:14 +00:00