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
Kalle Sommer Nielsen
5bc0861a8b
Fixed #50226 (Insufficient memory allocation for unicode string)
...
- Patch by yoarvi at gmail dot com
2009-11-24 11:08:16 +00:00
Jani Taskinen
f43f9a197d
Fixed bug #50267 (get_browser(null) does not use HTTP_USER_AGENT)
2009-11-24 00:18:16 +00:00
Olivier DOUCET
71c860613a
IMAP tests for trunk
2009-11-23 21:59:00 +00:00
Rasmus Lerdorf
36c285e9eb
Need the PCNTL extension loaded since that is where the SIGKILL constant comes from
2009-11-23 21:24:20 +00:00
Ilia Alshanetsky
a27f673512
Fixed bug #50240 (pdo_mysql.default_socket in php.ini shouldn't used if it is empty).
2009-11-23 15:45:04 +00:00
Rasmus Lerdorf
ec746f9637
When Ilia fixed bug #49470 and removed the '/' as a valid
...
email char, he forgot to make the corresponding change in
filter test 033.
2009-11-23 14:54:57 +00:00
Rasmus Lerdorf
5779d4befc
Trunk too - curl version check for the lack of a certinfo entry
...
in the getinfo array.
2009-11-23 14:46:47 +00:00
Jani Taskinen
80576044c0
- Fixed error_log() to be binary safe when using message_type 3 (message appended to file).
2009-11-22 18:31:01 +00:00
Felipe Pena
c8a266e674
- Fixed bug #50258 (typos in error strings)
2009-11-21 19:43:00 +00:00
Brian Shire
2484e563e2
Fix phar regex test when '.php' is part of the path, instead be more specific with '.php$' regex.
2009-11-21 05:38:58 +00:00
Pierrick Charron
121f106685
Fixed bug #50219 (soap call Segmentation fault on a redirected url).
2009-11-21 01:22:32 +00:00
Ilia Alshanetsky
2b632d9732
Don't ignore the 2nd parameter to PDO's quote() method that identifies the data type
2009-11-20 18:54:08 +00:00
Andrey Hristov
7674c942c7
Compressed protocol support + extensibility for mysqlnd
2009-11-20 08:12:14 +00:00
Christopher Jones
46ab2b8fac
New test
2009-11-19 17:44:46 +00:00
Christopher Jones
f7fe3e04f9
Refactor test
2009-11-19 16:49:58 +00:00
Derick Rethans
08f1d9a217
- Fixed the setting of cookies in HEAD.
2009-11-18 22:56:32 +00:00
Jani Taskinen
f766f37da7
- Fixed bug #50185 (ldap_get_entries() return false instead of an empty array when there is no error).
...
# This is also revert of bad patch to bug #48469 and fixes it properly.
2009-11-18 17:44:58 +00:00
Ilia Alshanetsky
02fb2fc5b1
Fixed bug #50212 (crash by ldap_get_option() with LDAP_OPT_NETWORK_TIMEOUT).
2009-11-18 13:37:45 +00:00
Derick Rethans
c101789e27
- Fixed the setting of cookies.
2009-11-18 13:24:41 +00:00
Derick Rethans
aed5e7ee73
- Updated to version 2009.19 (2009s)
2009-11-16 15:57:13 +00:00
Felipe Pena
d3849fc38c
- Fixed bug #49936 (crash with ftp stream in php_stream_context_get_option())
...
(patch by Pierrick)
2009-11-15 20:30:57 +00:00
Felipe Pena
21b7fb5f6d
- Improve test
2009-11-15 17:05:48 +00:00
Felipe Pena
b5869e195f
- Fixed bug #50158 (FILTER_VALIDATE_EMAIL fails with valid addresses containing = or ?).
...
(Patch by Pierrick)
2009-11-15 16:53:40 +00:00
Felipe Pena
7c3bd45b82
- Fixed bug #49521 (PDO fetchObject sets values before calling constructor)
...
(patch by Pierrick)
2009-11-15 16:20:37 +00:00
Christopher Jones
a70f288efa
New test
2009-11-14 23:28:53 +00:00
Greg Beaver
641a9977b7
fix PHP Bug #49938 : Phar::isBuffering() returns inverted value
2009-11-13 00:58:11 +00:00
David Coallier
4603dddae6
- Added an extra skipif for zlib
2009-11-12 17:45:08 +00:00
Rasmus Lerdorf
a687ddcb4b
Fix for bug #49098
2009-11-12 08:20:57 +00:00
Greg Beaver
6b0c91e868
fix PHP Bug #49910 : no support for ././@LongLink for long filenames in phar tar support
2009-11-11 21:02:59 +00:00
Felipe Pena
e6770f10a0
- Fixed bug #50152 (ReflectionClass::hasProperty hehaves like isset() not property_exists)
...
[5_2 is OK]
2009-11-11 18:52:12 +00:00
Christopher Jones
922b65ac46
Add test for long fixed bug
2009-11-10 22:48:37 +00:00
Rasmus Lerdorf
c06ac0ac8e
Fix bug #50129
2009-11-09 17:21:15 +00:00
Jani Taskinen
a5531c13fc
- Fix bad section names (extra - in the end..)
2009-11-09 17:08:48 +00:00
Derick Rethans
22baf4fd38
- Updated to version 2009.18 (2009r)
2009-11-09 15:39:15 +00:00
Ilia Alshanetsky
1e021186eb
Upgraded bundled sqlite to version 3.6.20
2009-11-09 01:54:23 +00:00
Rasmus Lerdorf
4730dbcdf7
Fix bug #50115
2009-11-08 15:18:10 +00:00
Felipe Pena
a39eecad0c
- Added SKIPIF
2009-11-08 15:02:54 +00:00
Felipe Pena
059e2c1901
- Fixed bug #50090 (Typo in IteratorIterator constructor)
2009-11-07 21:27:15 +00:00
Scott MacVicar
25c7aed23e
Fix a typo
2009-11-06 09:02:52 +00:00
andy wharmby
3863c25ed8
Fix tests
2009-11-05 22:44:02 +00:00
Ulf Wendel
74db20bb3b
Fixing test: of course, libmysql won't care about open_basedir, but mysqlnd should
2009-11-05 12:14:08 +00:00
Ulf Wendel
afcc167df6
Fixing test: it didn't do a select_db and gave a false-positive with libmysql
2009-11-05 11:51:21 +00:00
Matteo Beccati
72997aa430
- Properly fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted transaction).
...
# Removed usage of the memory address when generating prepared statemend names
# as uniqueness can't be enforced. Used a statment counter instead.
2009-11-04 19:32:27 +00:00
Matteo Beccati
2f4f36f1ee
- Reverting previous fix for bug #49985
...
# Unmerged changes from revision 289924
2009-11-04 19:16:39 +00:00
Ulf Wendel
c6e297ad4b
mysqli won't accept empty string for socket, skip test of mysqli.default_socket if test run does not use socket
2009-11-04 16:56:32 +00:00
Ulf Wendel
6553871f9e
Skipping if MySQL old password algorithm is in use as it seems to be the case on gcov.php.net
2009-11-04 16:09:07 +00:00
Ilia Alshanetsky
d6cafc6dbf
Fixed bug #50073 (parse_url() incorrect when ? in fragment).
2009-11-04 13:44:10 +00:00
Ulf Wendel
e5e58ed47e
Adding CLEAN sections and making tests portable between PHP 5 and PHP 6 by replacing string(n) with %unicode|string%(n) and similar.
2009-11-04 12:33:49 +00:00
Guenter Knauf
e31e228a59
added timezone define for NetWare.
2009-11-03 21:26:39 +00:00
Guenter Knauf
1dd4f70563
removed now obsolete NetWare hack since I fixed this
...
with Novell some longer time ago in their SDK header.
2009-11-03 21:21:34 +00:00
Ulf Wendel
7b22d7222b
Fix for bug #49965 . Let mysqli_options() try to cast option values to the appropriate type.
2009-11-03 14:56:04 +00:00
Scott MacVicar
2fad7df98c
Update PCRE to 8.00
2009-11-03 12:15:03 +00:00
Pierre Joye
dc0e20919b
- WS
2009-11-02 23:02:16 +00:00
Pierre Joye
03ccb71ddc
- Fixed #50052 , Different Hashes on Windows and Linux on wrong Salt size
2009-11-02 20:46:52 +00:00
Felipe Pena
3cb630fbe8
- Fixed bug #49244 (Floating point NaN cause garbage characters). (patch by Sjoerd)
2009-11-02 17:37:32 +00:00
Derick Rethans
52730989e7
- Updated to version 2009.17 (2009q)
2009-11-02 16:12:20 +00:00
Ilia Alshanetsky
74e5a3310b
Fixed compiler warnings
2009-11-02 13:33:24 +00:00
Felipe Pena
1d789babdb
- Fixed bug #50006 (Segfault caused by uksort()) [5_2 only]
2009-11-01 17:30:55 +00:00
Felipe Pena
c768256cae
- Fixed bug #49719 (ReflectionClass::hasProperty returns true for a private property in base class)
2009-11-01 15:12:34 +00:00
Takeshi Abe
06c411b9ef
Fixed a possible memory leak in case that FT_Glyph_To_Bitmap() fails
2009-11-01 05:04:35 +00:00
Ilia Alshanetsky
921d8ca9c4
Fixed bug #50023 (pdo_mysql doesn't use PHP_MYSQL_UNIX_SOCK_ADDR)
...
# Original patch by six at aegis-corp dot org
2009-10-29 13:33:51 +00:00
Stanislav Malyshev
0e74d2cf66
fix version
2009-10-27 23:21:00 +00:00
Felipe Pena
0388c2b642
- Fixed bug #50018 (Typo in spl_limit_it_seek())
2009-10-27 21:57:26 +00:00
Felipe Pena
287b30ae50
- Fixed memory leak in openssl_pkcs12_export_to_file()
2009-10-27 21:37:03 +00:00
Pierre Joye
3cb5f993a2
- Fixed crash in com_print_typeinfo when an invalid typelib is given
2009-10-27 19:16:55 +00:00
Pierre Joye
c5f6749741
- #48752 , crash during date parsing with invalid date
2009-10-27 10:41:45 +00:00
Stanislav Malyshev
4a488eeffc
add collator_get_sort_key()
2009-10-26 22:51:11 +00:00
Derick Rethans
fce960743d
- Updated to version 2009.16 (2009p)
2009-10-26 14:09:23 +00:00
Ilia Alshanetsky
7f1a206b5f
Fixed bug #49921 (Curl post upload functions changed).
2009-10-26 12:57:01 +00:00
Ulf Wendel
50a8d25129
Updating test - no error message any more. Maybe the PDO core has changed... whatever, one issue less
2009-10-26 11:48:47 +00:00
Ulf Wendel
b847135194
Updating test, mysqlnd support init commands
2009-10-26 11:41:30 +00:00
Ilia Alshanetsky
2baebb7eed
- Fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted transaction).
2009-10-26 02:02:28 +00:00
Jani Taskinen
64389f1b31
- Fixed bug #49990 (SNMP3 warning message about security level printed twice).
2009-10-25 20:17:04 +00:00
Johannes Schlüter
64400b8724
Fix #49972 (AppendIterator undefined function crash)
2009-10-23 16:47:35 +00:00
Ulf Wendel
bd64a66e1a
Fix: log slow queries in stats regardless of mysqlnd.log_mask setting.
2009-10-23 12:44:05 +00:00
Ilia Alshanetsky
c45fd9a150
Fixed test
2009-10-22 19:39:08 +00:00
Arnaud Le Blanc
5d8ea3b272
TSRMLS
2009-10-22 18:48:38 +00:00
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
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
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
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
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
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
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
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
Pierre Joye
6e1f999423
- check max colors while loading gd2 palette image (patch by Tomas Hoger)
2009-10-12 10:01:37 +00:00
Moriyoshi Koizumi
c2997af2fd
- A couple more fix for my previous fix.
...
(one of the fix by Arnaud Le Blanc. Thanks!)
2009-10-11 23:52:33 +00:00
Felipe Pena
0a8de489cf
- Fix compiler warning
2009-10-11 15:23:09 +00:00
Felipe Pena
1a750aabc0
- Fixed tests
2009-10-10 00:31:18 +00:00
Moriyoshi Koizumi
593854a867
- More tests to go.
2009-10-09 17:13:05 +00:00
Moriyoshi Koizumi
04d30c947c
- Fixed bug #49785 (insufficient input string validation of htmlspecialchars()).
2009-10-09 10:02:38 +00:00
Pierre Joye
81499d8d79
- typo
2009-10-08 20:40:48 +00:00
Pierre Joye
0b418dd513
- [DOC] add enchant_broket_set_dict_path and enchant_broker_get_dict_path
...
- add constants ENCHANT_MYSPELL and ENCHANT_ISPELL
2009-10-08 20:28:21 +00:00
Ulf Wendel
410804abc4
Avoid buffer resizing and let the initial buffer allocation happen a couple of lines later with conn->m->set_client_option(conn, MYSQLND_OPT_NET_CMD_BUFFER_SIZE, ...). Andrey, I leave it to you to change the default size to 128k.
2009-10-08 16:33:17 +00:00
Ulf Wendel
e9f9b39ae0
Fixing pconnect statistics.
2009-10-08 11:40:16 +00:00
Matteo Beccati
be7b754b85
- Fixed bug #48764 (PDO_pgsql::query always uses implicit prepared statements if v3 proto available)
...
# original patch by Mark Kirkwood
2009-10-07 17:40:16 +00:00
Andrey Hristov
5b97f74b62
Increase the minimal size of the command buffer, which is used
...
for sending queries and in the future commpressed patch for reading
almost all packets from the wire instead of using stack buffers.
2009-10-07 17:33:51 +00:00
Ilia Alshanetsky
8fb0baded3
Fixed bug #49800 (SimpleXML allow (un)serialize() calls without warning).
...
# original patch by wmeler at wp-sa dot pl
2009-10-07 12:46:29 +00:00
Christopher Jones
a8000b2608
bump ver
2009-10-06 23:21:11 +00:00
Christopher Jones
e91914b15d
1. Introduce connection attribute functions:
...
oci_set_module_name
oci_set_action
oci_set_client_info
oci_set_client_identifier
These functions set values that are visible and used by the
database. They aid tracing, authentication and auditing.
2. Introduce connection attribute function:
oci_set_edition
Oracle 11g R2 "editions" allow multiple versions of DB objects
to exist at one time. By setting different editions, two
different versions of an application can run concurrently,
making upgrades or A/B testing easier.
3. Introduce OCI_NO_AUTO_COMMIT as an alias for the OCI_DEFAULT
constant (which is not the default value) used by oci_execute().
4. Allow the oci_set_prefetch value to be 0. This is important in
some cases using REF CURSORS in Oracle 11gR2.
5. Set the DRIVER_NAME attribute of Oracle Database 11gR2
connections to aid application tracing. The value used is to
"PHP OCI8" followed by the OCI8 version number. Note the
version number may get truncated in DB views such as
v$session_connect_info.
6. Generate an error if an invalid resource type is used in
oci_bind_by_name
[DOC] Documentation will be added for the changes
2009-10-06 22:36:32 +00:00
Etienne Kneuss
61fd248432
Fix bug #49263 (Offset error when unserializing self-references in SplObjectStorage)
2009-10-06 13:34:56 +00:00
Andrey Hristov
dc01e66027
revert the last change
2009-10-06 12:53:01 +00:00
Andrey Hristov
a86aff9871
count the queries
2009-10-06 10:33:23 +00:00
Christopher Jones
94dc8024d9
Fix diff when full connection string used. Clean up helper files
2009-10-05 22:51:21 +00:00
Ilia Alshanetsky
f90c706a9a
Fixed bug #49757 (long2ip() can return wrong value in a multi-threaded applications).
...
# original patch by Florian Anderiasch
2009-10-05 14:45:54 +00:00
Dmitry Stogov
ffed322607
Fixed bug #49627 (error_log to specified file does not log time according to date.timezone)
2009-10-05 13:56:49 +00:00
Felipe Pena
6504d84a0b
- Fix some arginfos (thanks Philip)
...
- Added arginfo info. for void params
2009-10-03 20:45:29 +00:00
Pierre Joye
53829bbbd7
- drop unused var and fix example
2009-10-03 10:19:06 +00:00
Christopher Jones
a7c62ba93f
Oracle 11.2 (and beyond) compat changes
2009-10-02 22:39:28 +00:00
Christopher Jones
73b9ee934f
refactor tests
2009-10-02 20:16:59 +00:00
Christopher Jones
3c442f8471
Fix skipifs to accept Oracle 11.2
2009-10-02 04:19:48 +00:00
Sriram Natarajan
e1a2e88c16
- Fixed bug #49738 (calling mcrypt after mcrypt_generic_deinit crashes).
2009-10-02 00:13:53 +00:00
Pierre Joye
13bdff44bc
- fix #49732 , fix crash when timestamp conversion fails
2009-10-01 13:55:16 +00:00
Ulf Wendel
54b4cf2532
Updating test because of http://news.php.net/php.cvs/60561
2009-10-01 08:56:28 +00:00
Christopher Jones
09a37f0d0e
Add xmltype_02.phpt. Add XFAIL to xmltype_01 for PHP 6
2009-10-01 06:22:32 +00:00
Christopher Jones
d1df1c4ba7
PECL Bug #16842 (oci_error return false when NO_DATA_FOUND is raised)
2009-10-01 05:51:11 +00:00
Andrey Hristov
2743c7a6df
Fix ZTS build
2009-09-30 23:34:56 +00:00
Andrey Hristov
bc7bbaa65a
Use mnd_ wrappers wherever possible. Needed for
...
statistics.
2009-09-30 23:13:43 +00:00
Andrey Hristov
4af8d99eb6
Fix trace output. DBG_RETURN should be used in traced
...
functions.
2009-09-30 22:26:19 +00:00
Ulf Wendel
d79cba2afd
Fixing a leak in mysqlnd when passing invalid fetch modes to mysqlnd.
2009-09-30 14:39:33 +00:00
Felipe Pena
59dc338ac2
- Fixed test
2009-09-30 13:30:32 +00:00
Dmitry Stogov
e7b1e07647
pcntl_exec() should inherit environment in case it's not provided as an argument
2009-09-30 13:04:28 +00:00
Ilia Alshanetsky
dd8842c28f
Fixed bug #49517 (cURL's CURLOPT_FILE prevents file from being deleted after fclose).
2009-09-30 02:34:17 +00:00
Ulf Wendel
1e0743df12
Fixing test
2009-09-29 16:37:50 +00:00
Rafael Machado Dohms
7f293b32a1
Fixing tests for head and wrong SKIPIF blocks
2009-09-29 14:34:06 +00:00
Rasmus Lerdorf
49b34e9ac6
Add missing open_basedir check in posix_mkfifo
2009-09-29 14:03:49 +00:00
Rasmus Lerdorf
22fdde3f5d
Fix date_sunrise/date_sunset tests
2009-09-29 13:56:51 +00:00
Rafael Machado Dohms
c047bd6648
Adding tests for bug #49692
2009-09-28 22:57:41 +00:00
Rasmus Lerdorf
f4c8961b14
Fix for bug #49698
2009-09-28 13:29:53 +00:00
Pierre Joye
f5e52c9a79
- fix TS build, this macro contains code and declaration, always put it right after your declaration
2009-09-28 12:54:23 +00:00
Ulf Wendel
1e0d7fc509
Fixing test
2009-09-28 10:42:36 +00:00
Ulf Wendel
fff7ef9412
Allow setting of default connection flags through the environment variable MYSQL_TEST_CONNECT_FLAGS
2009-09-28 10:39:42 +00:00
Felipe Pena
5f6882aa4d
- Fixed tests
2009-09-26 17:59:33 +00:00
Felipe Pena
c5449ae3c1
- Fixed tests
2009-09-26 16:54:08 +00:00
Rasmus Lerdorf
5f9009963f
Refix bug #49558 as per bug #49676
2009-09-26 00:53:59 +00:00
Ulf Wendel
260596bfaa
Trying to respect time limit to please Andrey who must be using slooow hardware...
2009-09-25 13:21:44 +00:00
Andrey Hristov
089e8b56a1
Fix mysqli_stmt_attr_set in libmysql mode.
...
mysql_stmt_attr_set returns my_bool instead of int.
If it was int, then 0 is success and !0 is failure, but
for my_bool 0 (FALSE) is failure and !0 is success.
2009-09-25 12:25:54 +00:00
Andrey Hristov
07757b4f2f
Fix a crash in the rare case when a persistent connection
...
is found dead, after CHNG_USER. mysql->mysql will be NULL
and segfault will follow.
2009-09-25 11:38:19 +00:00
Ulf Wendel
6ae4ba4173
Large package to check how compression handles package queues.
2009-09-25 10:56:17 +00:00
Andrey Hristov
1d25ad7f5c
Remove unused variable
2009-09-25 10:55:06 +00:00
Ulf Wendel
8ad273c88e
Replacing MYSQL_TEST_COMPRESS env var with more generic MYSQL_TEST_CONNECT_FLAGS to be able to test all connection flags. Fixing some test.
2009-09-25 10:54:16 +00:00
Andrey Hristov
5d8d0fcfb1
Fix error code checking for mysql_stmt_attr_set. There
...
is a test that checks this.
2009-09-25 10:52:29 +00:00
Andrey Hristov
cec76fd650
Fix possible crash when conn is NULL
2009-09-25 10:37:44 +00:00
Felipe Pena
dc73022a1d
- Fix test
2009-09-25 02:07:41 +00:00
Felipe Pena
275cd0d7d9
- Fixed mem leak
2009-09-25 01:46:58 +00:00
Ilia Alshanetsky
e3f239c6ce
Make tempnam() return FALSE on error as documented
2009-09-24 18:59:28 +00:00
Sriram Natarajan
282732a62b
- Fixed bug #49571 (CURLOPT_POSTREDIR not implemented).
2009-09-24 18:20:49 +00:00
Jani Taskinen
b41f9661f8
- Fix the build issue with php_mysqlnd_config.h ending up in wrong build directory
2009-09-24 18:01:17 +00:00
Rob Richards
1603c45086
Fixed bug #49647 (DOMUserData does not exist)
2009-09-24 13:18:22 +00:00
Ulf Wendel
e123cae8ac
Proxying as many connect calls as possible to make testing of the compression protocol @ mysqlnd easier. By setting the environment variable MYSQL_TEST_COMPRESS you can tell the tests to set the MYSQLI_CLIENT_COMPRESS flag upon connect.
2009-09-24 12:51:03 +00:00
Rob Richards
fe1709ec49
fix memleak
2009-09-24 12:40:59 +00:00
Ulf Wendel
9326836676
Fixing test
2009-09-24 09:40:24 +00:00
Ulf Wendel
d3b2b3c155
Coverage for the OO variants of some functions
2009-09-24 08:19:56 +00:00
Dmitry Stogov
fe796df92d
Fixed tests ("\r" and "\n" mismatch)
2009-09-23 16:34:05 +00:00
Moriyoshi Koizumi
ce3c028803
- Fixed bug #49354 (mb_strcut() cuts wrong length when offset is within a
...
multibyte character).
(This bug was introduced by the commit by r202895. Please double-check the
specification of the function you are going to *fix*.)
2009-09-23 15:22:47 +00:00
Dmitry Stogov
f4f23add37
Removed irrelevant test
2009-09-23 14:15:52 +00:00
Dmitry Stogov
3c0dba4510
Fixed a bug in parameter passing/conversion API which caused tons of memleak and was the reason of ~1500 test failurs
2009-09-23 13:51:50 +00:00
Dmitry Stogov
69df782740
Fixed compilation error
2009-09-23 08:33:23 +00:00
Felipe Pena
8bbad1ad60
- Fixed bug #49531 (CURLOPT_INFILESIZE sometimes causes warning "CURLPROTO_FILE cannot be set ...")
2009-09-23 02:08:19 +00:00
Ilia Alshanetsky
65d3b858a9
Fixed compiler warning
2009-09-23 00:18:32 +00:00
Felipe Pena
1766f09b8d
- Fixed bug #49630 (imap_listscan function missing)
...
# Missing PHP_FE(), though nowdays it is used through of two aliases. (imap_scan() and imap_scanmailbox())
2009-09-22 18:18:57 +00:00
Ulf Wendel
fd33df54ba
mysqlnd supports INIT_COMMAND and so we can add it to PDO_MYSQL @ mysqlnd
2009-09-22 15:31:35 +00:00
Andrey Hristov
5a1ae5b876
Fix handling of BIT fields for non-PS. We need
...
macros from mysqlnd to be able to convert a bit
stream to a number. BIT is binary data thus
the result is a string, and not unicode
2009-09-22 15:07:39 +00:00
Dmitry Stogov
d906bd09f0
Fixed tests which fail from time to time because of race conditions ("echo" command didn't wait for all the data php tried to send and as result php got a SIGPIPE)
2009-09-22 14:52:47 +00:00
Andrey Hristov
67a0d7ad46
sync with branch, after Ulf's commits
2009-09-22 14:52:12 +00:00
Andrey Hristov
26f5344ed0
Check for the different types and create the
...
corresponding configuration file, so it can be used
by mysqli, even if mysqlnd is not enabled at all.
2009-09-22 14:43:37 +00:00
Andrey Hristov
e4be0b369c
Fix handling of BIT fields in mysqli, when libmysql is used
...
We need to use macros from mysqlnd to be able to read the
bit fields, as they are specially encoded. mysqlnd is always
there, 5.3+, so its macros can be used, even if mysqlnd is
not compiled as library of choice.
2009-09-22 13:58:52 +00:00
Nuno Lopes
1a88e45cf2
MFB: generalize output
2009-09-22 12:35:35 +00:00
Ulf Wendel
341e125d60
Fixing test
2009-09-22 11:58:46 +00:00
Dmitry Stogov
798b8e77b1
Fixed test (it failed from time to time because of very small timeouts)
2009-09-22 10:15:10 +00:00
Jani Taskinen
7ae78572e2
- Move tests in the right location
2009-09-22 09:41:39 +00:00
Ulf Wendel
f0cf479eb4
Fixing test
2009-09-22 08:42:44 +00:00
Dmitry Stogov
eedc39f4f3
Fixed ext/spl/tests/arrayObject_magicMethods2.phpt
2009-09-22 07:54:06 +00:00
Ulf Wendel
f532a81aea
Fixing test. There is nothing we can do about the MySQL Client Library allocate huge 4GB buffers for some SQL types.
2009-09-22 07:11:50 +00:00
Ulf Wendel
1cafe8c54c
Fixing test. Can't wait to see the new run-tests materialize for detecting skip section parse errors.
2009-09-22 06:59:04 +00:00
Ilia Alshanetsky
efba216e32
Fixed build with older version of libcurl
2009-09-22 01:17:16 +00:00
Ulf Wendel
decdb55cef
Fixing test
2009-09-21 15:59:22 +00:00
Ulf Wendel
16be7ee5c5
Fixing test
2009-09-21 15:24:47 +00:00
Dmitry Stogov
197eb8b13b
Fixed tests (removed irrelevant check which makes test to fail from time to time)
2009-09-21 15:23:25 +00:00
Dmitry Stogov
d79b83ed87
Fixed tests ("none" is an alias of "false" and it can't be used as a string value of ini option)
2009-09-21 14:32:20 +00:00
Ulf Wendel
ddef8f511f
Moving test code around to get test failures down without testing less. Users of the MySQL Client Lib should always call stmt_bind_result after execute - not before.
2009-09-21 14:20:05 +00:00
Ulf Wendel
4dcea7c624
Fixing test by calling it a known limit. We keept the test failing as a reminder to think about how to handle BIT(32) and up but none of us has an idea. Thinks work fine up to BIT(31) - the limitation should be documented.
2009-09-21 12:02:30 +00:00
Ulf Wendel
b979107fd0
Fixing test
2009-09-21 11:54:15 +00:00
Dmitry Stogov
a7a3d28f6d
Fixed tests
2009-09-21 11:38:14 +00:00
Dmitry Stogov
dc2442bcd2
Fixed tests
2009-09-21 11:30:38 +00:00
Ulf Wendel
0c8262069f
Not nice but neither the MySQL Client Library not mysqlnd are supposed to detect invalid flags. Therefore: fixing test
2009-09-21 10:16:44 +00:00
Ulf Wendel
356371a7bc
Fixing mysqli_result_references_mysqlnd.php
2009-09-21 10:06:13 +00:00
Ulf Wendel
b35ffe4689
Fixing mysqli_get_client_stats.phpt. More testing for MYSQLI_INIT_COMMAND
2009-09-21 09:35:23 +00:00
Ulf Wendel
0d202cd84d
Fixing test: references has to be collected even if the users disables the collection of statistics. It is needed for memory management.
2009-09-21 08:59:00 +00:00
Ulf Wendel
a65e1456e9
Fixing test - the standard test table will not accept NULL values for column id
2009-09-21 08:36:14 +00:00
Hannes Magnusson
f7aa838e1a
And now use proper colspanning
2009-09-18 23:06:21 +00:00
Hannes Magnusson
043a86b31d
Fix typo in comment (danbrown)
2009-09-18 22:26:44 +00:00
Hannes Magnusson
73028016ec
Throw some credit around
2009-09-18 22:01:58 +00:00
Andrey Hristov
528e66fbf5
Fix for bug#48909 Segmentation fault in mysqli_stmt_execute
2009-09-18 14:32:01 +00:00
Andrey Hristov
b30dfcd475
Fix for bug#48754 mysql_close() crash php when no handle specified
2009-09-18 10:46:51 +00:00