Commit Graph

26339 Commits

Author SHA1 Message Date
Andrey Hristov
549a1b8630 Fix compiler warning 2010-01-14 11:39:18 +00:00
Takeshi Abe
cadb49463c imagepolygon() and imagefilledpolygon() does not allow negative number of points causing invalid allocation 2010-01-14 11:11:56 +00:00
Andrey Hristov
f9886ce867 remove redefinition of bit_uint8korr 2010-01-14 10:35:28 +00:00
Andrey Hristov
43d90d8d16 Fix build of mysqli when libmysql is used, mysqlnd_portability.h
might not be available for some weird reasons. Added the macros
that we need, in that case

Code by Jess Portnoy
2010-01-14 09:47:57 +00:00
Andrey Hristov
c42541a253 more PHPAPI for phpize-d builds 2010-01-13 18:07:02 +00:00
Andrey Hristov
204f52f7e0 export more functionality for phpize builds 2010-01-13 18:00:41 +00:00
Andrey Hristov
7ff1184be2 make mysqlnd's tracing API more reusable 2010-01-13 14:06:02 +00:00
Ilia Alshanetsky
58dbf56dbf Fixed bug #50732 (exec() adds single byte twice to $output array). 2010-01-13 13:44:58 +00:00
Frank M. Kromann
c4633e7bdf MFB. Don't free soap_headers just before comparing the length. This causes SoapClient to fail when requesting a URL 2010-01-13 07:22:21 +00:00
Takeshi Abe
4ad43efcb4 removed an unused variable 2010-01-13 06:55:03 +00:00
Christopher Jones
16bc68fa0c Bump version in early preparation for release 2010-01-12 19:12:49 +00:00
Ilia Alshanetsky
c2ed5e6f9d Fixed bug #50728 (All PDOExceptions hardcode 'code' property to 0) 2010-01-12 12:46:54 +00:00
Stanislav Malyshev
8f42ef7124 name resource build script resourcebundle.build 2010-01-11 23:46:43 +00:00
Andrey Hristov
68cd1b8e86 more typedef cosmetics 2010-01-11 20:18:56 +00:00
Andrey Hristov
ba3b2a2282 remove stale export 2010-01-11 20:12:46 +00:00
Andrey Hristov
a449a371a8 cosmetics. typedef-ed types should be in capital case 2010-01-11 20:10:10 +00:00
Andrey Hristov
9939429f4e remove extern defintion of a variable that is no more
used outside of the file where it is declared.
Also really export with PHPAPI the protocol init/deinit functions
2010-01-11 19:13:43 +00:00
Andrey Hristov
9831a18d17 this function should be exporten in all cases, not only under PHP6 2010-01-11 18:40:11 +00:00
Andrey Hristov
6af43eaccb missed to commit in 5_3, here it comes, reusability of stats 2010-01-11 18:31:02 +00:00
Andrey Hristov
1ea390938b and another change to make the stats API re-usable 2010-01-11 18:27:31 +00:00
David Soria Parra
593648f9f6 Fixes #50496. Drop stdbool.h dependency as it requires _STDC_C99 set on some systems. 2010-01-11 16:22:12 +00:00
Andrey Hristov
41ead37c04 Rework the statistics macros to be reusable by external entities.
Rename handlers to triggers. Dynamically allocate space for the
statistics thus allow reusability.
2010-01-11 14:27:35 +00:00
Pierre Joye
9d15e95575 - use png_sig_cmp to support libpng 1.4, old is deprecated already in older version 2010-01-10 02:13:45 +00:00
Andrey Hristov
b2fcc0587f Add the remaining code for statistics triggers 2010-01-08 19:14:06 +00:00
Andrey Hristov
b1ac377163 export some calls to init/deinit code outside of the module 2010-01-08 18:52:08 +00:00
Andrey Hristov
a98a67940a improve the stats subsystem. Reduce the number of macro definitions
in half by smartly introducing 2 new macros. Make MYSQLND::stats a pointer
from being aggregated and add triggers.
2010-01-08 17:35:20 +00:00
Andrey Hristov
fcef58951b add restart_psession and end_psession hooks 2010-01-08 13:47:03 +00:00
Takeshi Abe
9a73e1c2bf Bug #49600 (imageTTFText text shifted right)
- fix difference of horizontal position between imagettftext() and imagettfbbox()
2010-01-08 12:18:52 +00:00
Rasmus Lerdorf
00c5ca7d91 Worked with Samy Kamkar to improve LCG entropy. 2010-01-08 09:43:14 +00:00
Christopher Jones
1cc974f9a3 Bug #47281 ( is limited in size of characters). Also remove redundant code line. 2010-01-07 23:59:20 +00:00
Andrey Hristov
81b0630f5a Change of way the packet objects are created/initialised
If the protocol gets changed, ever, we can decide at runtime
easily which protocol to use by instantiating the right protocol
object. But this is restricted to the structure of the packets, not
the flow.
2010-01-07 19:44:59 +00:00
Ilia Alshanetsky
bb76666d4e Fixed bug #50680 (strtotime() does not support eighth ordinal number). 2010-01-07 12:54:44 +00:00
Christopher Jones
e6587545e9 Fixed bug #49560 (oci8: using LOBs causes slow PHP shutdown)
- Improved descriptor refcounting to remove unneeded items sooner
 - Replaced n^2 list traversal during descriptor list destruction
2010-01-06 18:58:16 +00:00
Rob Richards
be79a1d605 fix bug #50661 (DOMDocument::loadXML does not allow UTF-16)
add test
2010-01-06 13:13:17 +00:00
Sriram Natarajan
9a1251eae7 - Addressing minor leak noticed while addressing bug #48590 2010-01-05 19:25:23 +00:00
Pierrick Charron
18946d2c91 Fixed bug #50576 (XML_OPTION_SKIP_TAGSTART option has no effect). 2010-01-05 13:03:40 +00:00
Ilia Alshanetsky
1c2da3ebe9 Added test case for bug #50632 2010-01-05 12:25:00 +00:00
Sriram Natarajan
b5d9f84d94 - Fixed bug #48590 (SoapClient does not honor max_redirects) 2010-01-05 03:07:43 +00:00
Pierre Joye
f8b7f083ce - should not have commited 2010-01-05 01:05:58 +00:00
Pierre Joye
717afb1202 - [doc] fix exchange and other imap server support when a preferred auth method is not desired. Add option support to imap_open. Only 'DISABLE_AUTHENTICATOR' is supported yet, see #33500 for an example 2010-01-05 01:02:15 +00:00
Pierre Joye
cd236521f4 - [DOC] MF53: add INTERNALDATE to imap_append 2010-01-05 00:50:19 +00:00
Stanislav Malyshev
4e3c82b1c3 add ICU resource bundle support, contributed by Hans-Peter Oeri 2010-01-04 22:16:53 +00:00
Ulf Wendel
cbb3b6d8b1 Updating test to new libmysql feature set (first introduced in MySQL 6.0 but now backported to MySQL 5.5). 2010-01-04 15:29:18 +00:00
Ulf Wendel
7f159bfb9c The internal zval cache has been removed and not been reintroduced... remove corresponding test code 2010-01-04 15:05:34 +00:00
Ulf Wendel
57d3208c0d Fixing test 2010-01-04 14:59:04 +00:00
Ulf Wendel
6d7bfc13bd Tweaking test. Andrey, you once requested such a test, please have a look if it does exactly what you want it to do. 2010-01-04 14:34:44 +00:00
Ulf Wendel
e1b5476e3e The internal zval cache has been removed and not been reintroduced... remove corresponding test code 2010-01-04 13:44:10 +00:00
Ilia Alshanetsky
cca54a95c1 Fixed bug #50632 (filter_input() does not return default value if the variable does not exist) 2010-01-03 22:58:37 +00:00
Pierrick Charron
c44f57eaff Fixed bug #50636 (MySQLi_Result sets values before calling constructor) 2010-01-03 16:59:33 +00:00
Sebastian Bergmann
22f4ef45fe sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Sebastian Bergmann
cbbec12ebc sed -i "s#1997-2009#1997-2010#g" **/*.re **/*.y **/*.l 2010-01-03 08:22:14 +00:00
Matteo Beccati
170683352d - Added unicode support to ext/pgsql
# Also fixed a few typos and compiler warnings
2009-12-30 17:22:42 +00:00
Pierrick Charron
c55741f06f Add a test for tidyNode::__construct() 2009-12-29 16:06:27 +00:00
Jani Taskinen
d4c3e2a9ae - Last ws pollution, I hope. 2009-12-29 13:00:09 +00:00
Jani Taskinen
d973c13ce2 - Try prevent accidents 2009-12-29 12:57:38 +00:00
Jani Taskinen
d70f0bec3b - WS + CS 2009-12-29 12:46:48 +00:00
Pierrick Charron
f4fd9b7b90 Set the tidyNode constructor private 2009-12-28 17:01:24 +00:00
Derick Rethans
d4ce2329ee - Updated to version 2009.21 (2009u) 2009-12-28 14:30:50 +00:00
Andrey Hristov
d3619df322 move network creation to the init hook 2009-12-28 11:17:10 +00:00
Felipe Pena
3547012470 - Fixed ZTS build 2009-12-27 18:13:37 +00:00
Mikko Koppanen
4000617c8b Share the php_sockets.h header
Share php_sockets_le_socket_name
2009-12-27 01:00:50 +00:00
Mikko Koppanen
1149ed8b32 spprintf the dbname
use VCWD_ACCESS instead of access
2009-12-27 00:43:33 +00:00
Rasmus Lerdorf
c18de79265 Along with the valid char set, also add a length check to the
session id here to avoid a lower-level error on the open() 
later on in case we exceed MAX_PATH.  The lower level open()
error includes the session dir path in it, so this is a very
low-priority security fix.  People should not be running
production systems with display_errors turned on.
2009-12-26 23:38:25 +00:00
Mikko Koppanen
24af48e402 Upgrade bundled libmagic to 5.03 (fixes CDF parsing related issues)
Clean up / remove whitespace differences to make next merge easier
Removed unnecessary files from trunk
2009-12-26 15:00:21 +00:00
Mikko Koppanen
1adda4879d No need to duplicate the string here 2009-12-26 14:54:34 +00:00
Pierrick Charron
ae727fea24 Changed tidyNode class to disallow manual node creation. 2009-12-25 21:24:36 +00:00
Matteo Beccati
07d93817c9 - Updated ext/pgsql tests to work w/ PostgreSQL 8.5
# tested w/ 8.5alpha3
2009-12-25 20:56:00 +00:00
Matteo Beccati
731466cca3 - Updated pdo_pgsql tests to be 8.5+ friendly 2009-12-25 20:11:07 +00:00
Pierrick Charron
08974cf41b Fixed bug #50558 (Broken object model when extending tidy) 2009-12-25 01:35:57 +00:00
Ilia Alshanetsky
1e0b711d83 Added missing host validation for HTTP urls inside FILTER_VALIDATE_URL. 2009-12-24 18:47:15 +00:00
Mikko Koppanen
d5c6a9b0fd Fix the proto entry for trunk 2009-12-24 13:57:21 +00:00
Mikko Koppanen
523e609613 Changed stream_resolve_include_path to use zend_resolve_path
backported stream_resolve_include_path to PHP 5.3
backported stream_resolve_include_path test to PHP 5.3
2009-12-24 13:12:03 +00:00
Antony Dovgal
c2fa809deb fix the fix for #47409
use correct comparison and add missing scope checks to trunk
2009-12-24 13:07:33 +00:00
Moriyoshi Koizumi
139c26f795 - MFB: Fix bug #46478 (htmlentities() uses obsolete mapping table for character
entity references)
  (this should be gone to r292467)
2009-12-24 09:32:52 +00:00
Sriram Natarajan
016ba1f1ed - Update tests to reflect current behavior after fix for bug #50185 2009-12-24 02:08:23 +00:00
Stanislav Malyshev
e4fa6a295d cleanup some code, improve error handling 2009-12-23 21:41:05 +00:00
Jani Taskinen
0e949a81d8 - ws 2009-12-23 21:06:26 +00:00
Ilia Alshanetsky
bf1f48e35d Fixed bug #47409 (extract() problem with array containing word "this"). 2009-12-23 16:33:58 +00:00
Andrey Hristov
066dad5ff9 Unify. The typedef-ed structs in mysqlnd are always capitalized. 2009-12-23 11:58:45 +00:00
Johannes Schlüter
30dbb982bd install mysqlnd headers to allow shared build of extensions 2009-12-22 19:30:09 +00:00
Andrey Hristov
707e86274b Fix double calls to free_contents if the connection cannot be
opened. mysqlnd have no probs, external code should not have too.
In any case, double call is not needed.
2009-12-22 17:44:42 +00:00
Andrey Hristov
e695a83c66 move state setting to the right place, in mysqlnd_init, no more
in mysqlnd::connect
2009-12-22 17:31:31 +00:00
Ilia Alshanetsky
c0dd0e94f2 Fixed bug #45599 (strip_tags() truncates rest of string with invalid attribute). 2009-12-22 02:04:12 +00:00
Derick Rethans
bf8f77c415 - Updated to version 2009.20 (2009t) 2009-12-21 20:46:12 +00:00
Sriram Natarajan
d296d19000 Fixed bug #50540 (Crash within ldap_first_reference function) 2009-12-21 20:39:48 +00:00
Stanislav Malyshev
170c8b08cd clean up normalizer code 2009-12-21 20:12:46 +00:00
Andrey Hristov
a3e5d1852a Move this function to MYSQLND_NET as it works on the
php stream
2009-12-21 16:52:10 +00:00
Andrey Hristov
3e3d0e0d88 magic numbers to macros 2009-12-21 16:17:31 +00:00
Andrey Hristov
c9c418b971 Move compression and decompression code to separate functions
which can be overloaded on purpose.
2009-12-21 16:09:13 +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
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
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
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
William Martin
783be65fbd Backported 5.3 tests to 5.2 and added more RecursiveIteratorIterator tests 2009-12-08 19:51:56 +00:00
Ilia Alshanetsky
896b8b943b Upgraded to Sqlite 3.6.21 2009-12-08 13:24:27 +00:00
Antony Dovgal
754c06c6c5 sync with 5_3 2009-12-08 12:12:23 +00:00
Jani Taskinen
1ad990ad4a ws 2009-12-08 10:56:41 +00:00
Felipe Pena
a51e7d3343 - Added MAKE_COPY_ZVAL(ppzv, pzv) macro 2009-12-08 01:57:37 +00:00
Stanislav Malyshev
215b77adc2 ouch, that ZTS 2009-12-08 01:57:16 +00:00
Stanislav Malyshev
dcd5670e55 win32 should have different test 2009-12-08 01:52:57 +00:00
Stanislav Malyshev
bbc7071335 add "no params" check 2009-12-08 01:44:15 +00:00
Stanislav Malyshev
7353e234b4 add realpath cache inspect functions 2009-12-08 01:35:08 +00:00
Moriyoshi Koizumi
b1ec98147c - Take account of surrogate pairs. 2009-12-07 15:41:43 +00:00
Ilia Alshanetsky
9f3ec3c5de Added FILTER_FLAG_STRIP_BACKTICK option to the filter extension. 2009-12-07 13:43:44 +00:00
Pierrick Charron
dc0b588e65 Fixed bug #50323 (Allow use of ; in values via ;; in PDO DSN even in the middle of a string). 2009-12-06 21:32:58 +00:00
Ilia Alshanetsky
ba53b1d719 Fixed bug #50323 (Allow use of ; in values via ;; in PDO DSN). 2009-12-06 19:34:12 +00:00
Felipe Pena
8c2412d023 - 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)
2009-12-06 18:53:16 +00:00
Stanislav Malyshev
7b0d41535e protect http_session_vars from interrupt corruption
improve save_path check
2009-12-04 01:21:32 +00:00
Rob Richards
44aea5ebbb fix bug #47848 (importNode doesn't preserve attribute namespaces)
add tests
2009-12-03 20:19:38 +00:00
Pierrick Charron
13010b552b Fixed bug #45120 (PDOStatement->execute() returns true then false for same statement). 2009-12-03 15:24:43 +00:00
Andrey Hristov
3cfacd1e07 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
2009-12-03 10:50:02 +00:00
Pierre Joye
330523c60c - disable this debug code until it is actually fixed 2009-12-03 10:41:20 +00:00
Kalle Sommer Nielsen
126ab758e1 Use correct defines for VC10 support 2009-12-03 10:17:58 +00:00
Andrey Hristov
4c1065522d 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.
2009-12-03 09:43:26 +00:00
Andrey Hristov
8f0a26cc79 fix macro so that 5-byte BIT values are decoded correctly 2009-12-02 11:58:04 +00:00
Rasmus Lerdorf
19ab7c5e90 Fix broken build.
This constant is not in older versions of MySQL.
2009-12-01 21:39:19 +00:00
Felipe Pena
71dd1dfd16 - Fixed bug #49660 (libxml 2.7.3+ limits text nodes to 10MB). (Felipe)
- Added LIBXML_PARSEHUGE constant to overrides the maximum text size of a
  single text node when using libxml2.7.3+. (Kalle)
[DOC]
2009-12-01 02:05:28 +00:00
Jani Taskinen
cd178d5b6e - Fix tests assuming wrong ini options and extensions that might not be there 2009-11-30 20:31:52 +00:00
Rasmus Lerdorf
735680d654 Fix bug #50337 2009-11-30 19:13:50 +00:00
Jani Taskinen
98c8b8f920 - Fixed bug #50231 (Socket path passed using --with-mysql-sock is ignored when mysqlnd is enabled) 2009-11-30 15:11:29 +00:00
Pierre Joye
80e5ef6fa5 - void is NaN, you can't do math ops on void. Declarations go first. Fix TS build 2009-11-30 10:56:01 +00:00
Stanislav Malyshev
837f46854c proper fix for bug #50006
add modify protection to all user array sorts
2009-11-29 08:35:01 +00:00
Rasmus Lerdorf
f009983bc5 Revert attempt at supporting both autoconf 2.13 and
modern versions in the same build chain.  There are
simply too many broken things in 2.13 to make it work.
Cache handling is broken as well which is why I need
to revert the pdo_inc_path cache fix as well.

trunk is now 2.60+ only and I'll work on cleaning out
all the legacy cruft from there.
2009-11-29 06:13:22 +00:00
Stanislav Malyshev
3d99fc8020 fix interrupt problem in serialize() 2009-11-29 04:38:46 +00:00
Jani Taskinen
d651c6e0c0 - Fixed bug #50266 (conflicting types for llabs) 2009-11-28 00:38:05 +00:00
Rasmus Lerdorf
ca86ded707 Fix bug #50315 2009-11-27 23:41:13 +00:00
David Soria Parra
8d3cf31e25 Use extended base if we build again gmp 4.2.0 which is usually available. 2009-11-27 22:24:44 +00:00
Ilia Alshanetsky
9474fee730 Fixe build 2009-11-27 03:02:01 +00:00
Andrey Hristov
0c6fa49fff fix debug windows build as well as remove a compilation warning
(a header not included)
2009-11-26 11:10:47 +00:00
Jani Taskinen
4e7b8284b7 MFB52: missing _cv_ 2009-11-26 10:26:27 +00:00
David Soria Parra
d25630ee14 Also allow base 62 for gmp_init as requested in (#50283) 2009-11-25 23:38:34 +00:00
David Soria Parra
f6bb82eb37 Really use 62 as the upper boundary as requested and not 32. 2009-11-25 18:15:25 +00:00
Ilia Alshanetsky
3017ed210a Fixed bug #50195 (pg_copy_to() fails when table name contains schema). 2009-11-25 14:28:00 +00:00
Rasmus Lerdorf
4bf5bab596 The constructor generates that next line of output, so the expected
output had these 2 lines in the wrong order.  Test your tests!
2009-11-25 05:44:27 +00:00
Rasmus Lerdorf
1b37fd48a9 And there is no 23,24,25 in this test at all. Perhaps these lines were
added to the wrong file by mistake?  Those were the same ones missing from
pdo_mysql___construct_options.phpt
2009-11-25 05:38:33 +00:00
Rasmus Lerdorf
5ff2df9b5f Unless I am completely misreading this test case, these 3 lines at the
end should be in the expected output.
2009-11-25 05:29:57 +00:00
Rasmus Lerdorf
c0cb085621 Another test that doesn't work as root 2009-11-25 04:00:55 +00:00
Rasmus Lerdorf
f2a3441259 These tests don't work when run as root 2009-11-25 03:53:50 +00:00
Felipe Pena
0085a466b6 - Fixed bug #50285 (xmlrpc does not preserve keys in encoded indexed arrays) 2009-11-25 02:03:02 +00:00
Rasmus Lerdorf
bb15811c13 Missed a few - now it really works with autoconf-2.64+ 2009-11-25 01:36:41 +00:00
Rasmus Lerdorf
3f5a58bd3a Someone strap down Jani and give him a sedative please.
This makes our toolchain work with the latest versions
of autoconf and avoids a lot of end-user grief.
2009-11-25 01:30:06 +00:00
Andrey Hristov
597406bbb3 Update charset table 2009-11-24 13:59:56 +00:00
Rasmus Lerdorf
b558fe838b Fix null deref found by Michael Maclean 2009-11-24 13:57:39 +00:00
David Soria Parra
f6d07bdbb2 Implement feature request #50283 (allow base in gmp_strval to use full range: 2 to 62, and -2 to -36) 2009-11-24 13:33:35 +00:00
Felipe Pena
c78ca26d9e - Fixed bug #50282 (xmlrpc_encode_request() changes object into array in calling function) 2009-11-24 11:32:31 +00:00