Commit Graph

46152 Commits

Author SHA1 Message Date
Andrey Hristov
4afa56f846 Don't forget to update the length too 2009-10-22 17:36:12 +00:00
Andrey Hristov
a86ab84a4c Have the lengths also to skip many calls to strlen 2009-10-22 17:07:55 +00:00
Antony Dovgal
1c51839e89 fix ZTS build 2009-10-22 16:17:41 +00:00
Ulf Wendel
cfb54072cf Updating mysqlnd version number. 2009-10-22 16:10:02 +00:00
Ulf Wendel
277846d23c Fixing stats, updating test to accept new stats 2009-10-22 16:05:33 +00:00
Andrey Hristov
b39c5e2332 Move definition 2009-10-22 15:17:03 +00:00
Andrey Hristov
8792edcf76 Count number of affected_rows for normal and PS queries 2009-10-22 14:30:51 +00:00
Ulf Wendel
4a7912b9a0 There subtle differences between Linux and Win. mysqlnd is a bit more verbose on Win... silencing to make the test pass 2009-10-21 18:57:45 +00:00
Arnaud Le Blanc
c29b5be312 Added client-side Server Name Indication (SNI) support in OpenSSL extension.
#
# [DOC]
#
# New SSL context options :
#
# - SNI_enabled : Set to FALSE to disable SNI support (enabled by default)
# - SNI_server_name : If not set, the server name will be guessed from the
# stream URL (e.g. https://example.com/ will use example.com as hostname.),
# else the given name will be used.
#
# SNI is to SSL/TLS what the Host header is for HTTP : it allows multiple
# certificates on the same IP address.
#
# As for HTTP virtual hosts, this should be totaly transparent in most cases.
#
# Context options allows more control, e.g. :
# 
# $context = stream_context_create(array(
#   'ssl' => array('SNI_server_name' => 'foo.example.com'),
#   'http' => array('header' => 'Host: foo.example.com'),
# ));
# file_get_contents('https://127.0.0.1/', false, $context);
#
# OpenSSL >= 0.9.8j supports SNI (by default since OpenSSL 0.9.8k).
2009-10-21 16:10:19 +00:00
Pierre Joye
dd60a6eeb6 - fix leak in DL on error (windows) 2009-10-21 06:42:08 +00:00
Ulf Wendel
9fe7483037 Making test a bit more portable 2009-10-20 17:54:57 +00:00
Ulf Wendel
74d5906ea3 Fixing test 2009-10-20 17:03:32 +00:00
Ulf Wendel
ef738f8314 libmysql is still 'buggy' - skip test with libmysql 2009-10-20 14:11:43 +00:00
Ulf Wendel
0aeb41c5d0 Well, hacking around to cope with mysql version specific behaviour if using libmysql... 2009-10-20 13:58:57 +00:00
Antony Dovgal
0ad8b2ab2b fix crash on empty doc_root 2009-10-20 12:57:44 +00:00
Ulf Wendel
ad8d9329bb Skipping tests if InnoDB is available but disabled. I wonder what InnoDB status comes next... 2009-10-20 12:41:58 +00:00
Ulf Wendel
ffbf8c9595 Fixing typo in SKIPIF and partly skipping tests if using remote MySQL because LOAD LOCAL INFILE will fail 2009-10-20 12:31:04 +00:00
Ulf Wendel
2a2598a41e Making test pass when MySQL runs on Win* 2009-10-20 08:41:11 +00:00
Ulf Wendel
121aceb04e Bail if connect.inc gets included twice. Including twice is most likely a 'bug'. See also http://news.php.net/php.cvs/60720 2009-10-20 08:23:06 +00:00
Pierre Joye
ff3ba767ec - MF53: Fix #48746, improve fix to support all possible cases (see latest comment in the report) 2009-10-19 23:43:31 +00:00
Pierre Joye
d117458c61 - Fix ACL support and add support for ACL for TS SAPI. Be sure to get the impersonated token when the impersonation has been done. Add the SID as part of the key for the cache (so each SID gets its cache and not previous requests run under other SID) 2009-10-19 23:32:07 +00:00
Pierre Joye
3e60eeca5c - ws 2009-10-19 22:47:44 +00:00
Johannes Schlüter
62127453f2 Fix test to remove temporary files 2009-10-19 21:50:08 +00:00
Ulf Wendel
210353caee Using require[_once] instead of include. Adding logic to connect.inc to detect multiple inclusions of connect.inc which leads to a Fatal error because of my_mysqli_connect() function redefinition. Some tests did include connect.inc twice -> run-tests - even the one from trunk - did not detect Fatal error in SKIPIF -> false-positive test result... 2009-10-19 20:07:25 +00:00
Pierre Joye
6450f43efb - we don't distribute the crt9 dll, don't try to add it 2009-10-19 19:58:45 +00:00
Pierre Joye
e7ea92aaa5 - add custom DLL to the package and fix the path to the deps bin (needs absolute path in some cases) 2009-10-19 19:02:12 +00:00
Derick Rethans
5c8d0cf32f - Updated to version 2009.15 (2009o) 2009-10-19 16:29:13 +00:00
Ulf Wendel
82bb99e12d mysqlnd is a bit more verbose than libmysql - silence mysqlnd here for easier comparison of test results. 2009-10-19 16:07:10 +00:00
Jani Taskinen
6b85ff3057 - It is not const in PHP_5_2 but it is in HEAD and PHP_5_3 2009-10-19 15:34:50 +00:00
Ulf Wendel
ff6f052d05 MySQL server and metadata - a sad story... trying to make the test pass with a few more server versions 2009-10-19 12:55:11 +00:00
Ulf Wendel
0949463ed8 Fixing host info for TCP/IP and aligning mysqlnd and libmysql 2009-10-19 12:09:48 +00:00
Stanislav Malyshev
7394d5bb6b improve fix for #49767 and #47627 - make PHP report
"no script" on 404 again
2009-10-16 23:34:31 +00:00
Ulf Wendel
f0e6db4d56 Extending mysqlnd statistics/monitoring. Now counting COM_* commands. 2009-10-16 13:02:01 +00:00
Scott MacVicar
6b805e28d1 Add metadata support to the bundled version of libsqlite on Windows, part of bug #49206.
Will commit the new feature part separately.
2009-10-16 02:22:48 +00:00
Scott MacVicar
0ad09c4d16 Part fix for bug #49224 2009-10-16 02:10:52 +00:00
Scott MacVicar
041266690d Update libsqlite to 3.6.19 2009-10-16 01:56:36 +00:00
Ulf Wendel
29d771c543 Making mysqlnd emit no warnings when fetching pooled persistent connections that have timed out or are unusable for any other reason - bug #49761 2009-10-15 20:46:08 +00:00
Ulf Wendel
355a88f676 Fixing problems when calling connect (again and again) on a valid connection handle. Most of the patch comes from Andrey. 2009-10-15 15:49:40 +00:00
Pierre Joye
4706ebbfe2 - #48779, fix another use case where / usage may differ 2009-10-15 13:09:25 +00:00
Ilia Alshanetsky
0e9dbae4f8 Fixed bug #49855 (import_request_variables() always returns NULL). 2009-10-15 12:26:54 +00:00
Ilia Alshanetsky
dbac311f99 Fixed bug #49847 (exec() fails to return data inside 2nd parameter, given output lines >4095 bytes). 2009-10-14 01:32:07 +00:00
Stanislav Malyshev
9a35a0fcd3 add safeguard for UpdateIniFromRegistry on NULL arg 2009-10-13 20:10:07 +00:00
Stanislav Malyshev
d452498f54 fix crash for bug #47627 2009-10-13 19:58:59 +00:00
Derick Rethans
7b3f8a75a3 - Updated to version 2009.14 (2009n) 2009-10-13 08:16:35 +00:00
Moriyoshi Koizumi
bbf9a7234a - Bug #49785: take 5. What the hell happened to me... 2009-10-13 05:18:37 +00:00
Felipe Pena
6637fd092f - Fixed possible crash when calling SQLiteDatabase::{ArrayQuery, SingleQuery} methods using Reflection 2009-10-12 19:04:00 +00:00
Felipe Pena
d41c132f0a - Fixed class name in row_get_classname (PDORow) 2009-10-12 17:20:30 +00:00
Felipe Pena
d85064adcf - Fixed PDORow and PDOStatement crashes when instantiating throught Reflection 2009-10-12 17:09:11 +00:00
Pierre Joye
29cec688e8 - #48779, improve fix, drop usage of _tolower and use zend_strtolower 2009-10-12 14:40:27 +00:00
Moriyoshi Koizumi
f55919cfa2 - Bug #49785: take 4 - typo. this flaw is unharmful since the return value of get_next_char() is only used when UTF-8 is specified to the third argument. 2009-10-12 14:29:45 +00:00