Derick Rethans
5236225cb2
- Updated to version 2011.10 (2011j)
2011-09-12 15:49:12 +00:00
Ulf Wendel
b509ba6dbd
This should please gcov.php.net which hits error 1044 instead of 1049.
2011-09-12 15:05:10 +00:00
Tjerk Anne Meesters
e29302576c
Reverted changes in connect.inc based on Ulf's feedback
...
- Moved the ini_set() entries into a separate script 'setupdefault.inc'
- Let mysql_affected_rows and mysql_insert_id test cases use the newly created script
With the ini_set() statements inside connect.inc, some test cases would be forced to 'undo' them in order to test other scenarios.
Tested on all three dev lines with and without passing db credentials. No changes detected.
2011-09-12 14:35:45 +00:00
Ulf Wendel
019e96a7f6
Fix typo.
2011-09-12 13:55:28 +00:00
Popa Adrian Marius
f86bd3407b
fix gcov Warning: ibase_drop_db(): lock time-out on wait transaction object
2011-09-12 13:43:42 +00:00
Ulf Wendel
27c73aa542
Minor issue. Seems to fail the same way on various PHP + MySQL combinations. Setting XFAIL until we fix it.
2011-09-12 13:39:57 +00:00
Hannes Magnusson
75c4d6f888
Allow replacement to be any scalar value
2011-09-12 13:21:57 +00:00
Ulf Wendel
c4de2c8654
Hits libmysql/MySQL bug, works with mysqlnd
2011-09-12 13:14:16 +00:00
Pierre Joye
43d20bca91
- revert incorrect fix introduced in r316528
2011-09-12 12:59:52 +00:00
Ulf Wendel
496d6d45e9
Those will fail with MySQL 5.5. Running them because they have unveiled a crash, which has been fixed already. Setting to XFAIL, need to be decide if and/or how the functionality shall be supported.
2011-09-12 12:14:56 +00:00
Hannes Magnusson
5e661cf904
Ensure we are working with strings here
2011-09-12 11:44:55 +00:00
Popa Adrian Marius
ddac8c1789
fix test 006 for firebird driver
2011-09-12 09:56:45 +00:00
Hannes Magnusson
e43c21e53a
Fixed issues when streams were closed before curl read/write from them, or cleaning
...
Closing a original handle after copying it now no longer cleans up all resources (fixes missing CURLOPT_POSTFIELDS values among others)
2011-09-12 09:16:04 +00:00
Ulf Wendel
8ed1dc2fa9
Bug #55653
2011-09-09 12:12:08 +00:00
Hannes Magnusson
0cac42b482
Being smart and cleanup/rename/modify tests seconds before committing isn't very smart.
2011-09-09 08:28:57 +00:00
Hannes Magnusson
23010d52ad
Merge tests from trunk
2011-09-09 08:14:04 +00:00
Christopher Jones
4840a4a28b
Update SKIPIFs for test portability
2011-09-08 20:13:32 +00:00
Christopher Jones
e77138f7ae
Fix skipifs
2011-09-08 17:52:45 +00:00
Christopher Jones
1c809df001
Fix skipifs to match other tests for the case when connection fails
2011-09-08 17:40:15 +00:00
Hannes Magnusson
33bee161f6
Fixed bug#54798 Segfault when CURLOPT_STDERR file pointer is closed before calling curl_exec
2011-09-08 14:37:18 +00:00
Ferenc Kovacs
e1357bdbd1
skip these tests if can't connect to mysql
2011-09-08 11:30:58 +00:00
Pierre Joye
255913f5f4
- skip if no hash
2011-09-08 10:00:47 +00:00
Hannes Magnusson
41db75ccbe
Fix the path to the .pem
2011-09-08 09:27:47 +00:00
Christopher Jones
19d13e2521
Use unique object names to reduce potential clashes when testing in parallel
2011-09-07 19:19:00 +00:00
Rasmus Lerdorf
d8a0b1a9e3
This test was added to verify that bug 39322 was fixed, which the test
...
does test for and this works. However, it consistently failed because
it relied on a SIGHUP not terminating a sh -c /usr/bin/nohup sleep 50
process which doesn't work because the SIGHUP goes to the sh process
not the nohup'ed sleep process. So, I have sped up the test and removed
the nohup and instead of trying to SIGHUP I am just doing the equivalent
of a kill 0 on it to verify that the resource sticks around.
2011-09-07 18:09:34 +00:00
Hannes Magnusson
565cf8b76a
Fix errormessage
2011-09-07 13:47:31 +00:00
Hannes Magnusson
a6c07ae0d3
Fix cleanup routines
2011-09-07 12:05:19 +00:00
Pierre Joye
618d638898
- skip on win, diff TZ format
2011-09-07 11:26:59 +00:00
Hannes Magnusson
631055c459
Update skipif
2011-09-07 10:39:55 +00:00
Hannes Magnusson
c038ac2251
Sync tests between branches and fix the getcontent test
2011-09-07 10:38:53 +00:00
Hannes Magnusson
d80adbcc93
Update skipif message
2011-09-07 10:34:58 +00:00
Pierre Joye
4426bfee51
- force LF (svn prop and config)
2011-09-07 10:14:18 +00:00
Pierre Joye
34eebd4f58
- fix test for OS where dir sep is \
2011-09-07 09:19:28 +00:00
Pierre Joye
8fca015947
- fix test for OS where dir sep is \
2011-09-07 09:03:07 +00:00
Pierre Joye
1a166b2100
- add skipif for dom
2011-09-07 08:12:08 +00:00
Xinchen Hui
16d0023daf
fix skipif description
2011-09-07 00:59:10 +00:00
Xinchen Hui
0f672ac0ba
fixed typo
2011-09-07 00:56:52 +00:00
Andrey Hristov
fd4fc39dc9
Fix problems with the unbuffered set detection, for libmysql, which resulted
...
in always true. Thanks Stas.
2011-09-06 19:52:19 +00:00
Pierre Joye
c74679be0a
- fix #55622 , mem corruption on large input
2011-09-06 17:41:08 +00:00
Ulf Wendel
58e167974c
Fixing SKIPIF
2011-09-06 16:39:55 +00:00
Johannes Schlüter
9554e24547
- Fix bug #55609 (mysqlnd cannot be built shared)
...
# This adds an option --enable-mysqlnd to explicitly built mysqlnd, like any
# other extension it can be used with =shared to build mysqlnd shared;
# mysqlnd will implicitly enabled when requested from another extension
2011-09-06 16:38:22 +00:00
Ulf Wendel
1ffe46c020
Fixing SKIPIF
2011-09-06 16:37:45 +00:00
Ulf Wendel
78b2f1c488
Fixing SKIPIF fatal error. 6.0 is history, thus SKIPIF might need further updates?
2011-09-06 16:30:53 +00:00
Ulf Wendel
cc24c30307
More parenthesis, credits to Nikita Popov
2011-09-06 16:13:03 +00:00
Pierre Joye
8e330affd6
- useless skipif
2011-09-06 15:49:28 +00:00
Ulf Wendel
661a69b873
BORK hunting - Fixing SKIPIF
2011-09-06 14:47:57 +00:00
Ulf Wendel
e21ea5e7ce
Fix SKIPIF
2011-09-06 13:57:03 +00:00
Ulf Wendel
79b605a89b
Fix SKIPIF
2011-09-06 13:50:45 +00:00
Ulf Wendel
85e6b8141d
Prevent Notice
2011-09-06 13:39:46 +00:00
Ulf Wendel
64cca9fb95
Reverting to proper --INI-- section usage. Improve SKIPIF to skip test if open_basedir setting is too restrictive during test run for whatever reason.
2011-09-06 12:58:01 +00:00
Pierre Joye
1e30a4ecb0
- use only zlib function and reported the failure with base64 in #55620
2011-09-06 12:30:17 +00:00
Florian Anderiasch
c5741472b0
MFH: Fixed ext/sockets/tests/socket_strerror.phpt
...
So it seems a missing ) killed the test.
2011-09-06 11:15:23 +00:00
Xinchen Hui
1159cd2002
move it to right place
2011-09-06 09:45:21 +00:00
Xinchen Hui
df2504b0ff
Add skipif
2011-09-06 09:29:04 +00:00
Pierre Joye
423816ef64
- move it to the right place
2011-09-06 09:23:10 +00:00
Xinchen Hui
3d107d07ee
Added skipif
2011-09-06 09:22:06 +00:00
Pierre Joye
f15401086b
- fix skipif msg
2011-09-06 09:20:14 +00:00
Xinchen Hui
30d1410817
Added skipif
2011-09-06 09:19:46 +00:00
Xinchen Hui
3901f5abb8
Added skipif
2011-09-06 09:17:12 +00:00
Xinchen Hui
13eb205d6c
add skipif
2011-09-06 08:11:37 +00:00
Pierre Joye
84954e1869
- add skipif
2011-09-06 07:49:31 +00:00
Pierre Joye
09e3a1c2de
- fix test
2011-09-06 07:47:20 +00:00
Pierre Joye
e240c51632
- skip on win
2011-09-06 07:32:37 +00:00
Pierre Joye
b660f32dab
- add skipif
2011-09-06 07:29:59 +00:00
Pierre Joye
9fa90f8a90
- add skipif
2011-09-06 07:28:38 +00:00
Pierre Joye
f438a87d90
- use something we know it exists...
2011-09-06 07:26:05 +00:00
Pierre Joye
c97a56e77f
- skip on win, name.. name. are not valid names
2011-09-06 07:23:20 +00:00
Pierre Joye
9d33b167af
- add skipif
2011-09-06 07:09:56 +00:00
Pierre Joye
9a6b6f3dc7
- add skipif
2011-09-06 06:57:53 +00:00
Pierre Joye
8f7fab9358
- add skipif
2011-09-06 06:52:26 +00:00
Pierre Joye
0295d0d1aa
- add skipif
2011-09-06 06:50:56 +00:00
Pierre Joye
17f78b92c4
- add skipif
2011-09-06 06:47:12 +00:00
Pierre Joye
8ab88f2e72
- add skipif
2011-09-06 06:44:59 +00:00
Pierre Joye
7e9bc5f70b
- add skipif
2011-09-05 19:59:42 +00:00
Ulf Wendel
d6e15cc517
No more test failure for libmysql, http://news.php.net/php.internals/55210
2011-09-05 16:24:40 +00:00
Andrey Hristov
3a510c616d
missing from previous commit for #55582
2011-09-05 15:37:58 +00:00
Andrey Hristov
13c5106f43
Fix for Bug #55582 mysqli_num_rows() returns always 0 for unbuffered, when mysqlnd is used
2011-09-05 15:29:45 +00:00
Shein Alexey
491df98386
Reduced timeout in this test to 1ms, no need to wait further.
2011-09-05 14:43:08 +00:00
Pierre Joye
5d62cd1530
- add skipif
2011-09-05 13:52:24 +00:00
Pierre Joye
07fae45eb7
- add skipif
2011-09-05 13:41:01 +00:00
Pierre Joye
af203fc7c4
- close the stream before removing the file (win and other system may lock it) and use test dir for tmp data
2011-09-05 13:31:13 +00:00
Pierre Joye
3c3fa89bf5
- stupid me.
2011-09-05 13:06:51 +00:00
Pierre Joye
60a0348ccc
- disable on win
2011-09-05 13:05:28 +00:00
Pierre Joye
8acede547d
- disable on win
2011-09-05 13:04:12 +00:00
Pierre Joye
df4515dec8
- other hostname can be defined or returned first
2011-09-05 12:34:55 +00:00
Hannes Magnusson
ddb7740944
typo
2011-09-05 12:00:24 +00:00
Hannes Magnusson
c6f9556f37
Fix the test in 5.4 and trunk.
...
older libraries will emmit error here, while new won't. So lets just suppress it rather then making the test uselessly fail for random people.
2011-09-05 11:07:38 +00:00
Pierre Joye
a65e04be53
- not used anymore, one version to rule them all
2011-09-05 11:00:52 +00:00
Shein Alexey
fae3000d44
Make the test faster, what was done:
...
1) replaced multiple htmlentities calls with one call to get_html_translation table since they share the same code internally
2) reduced the upper range of the "for" loop to 0x2710 (10000), according to http://www.w3.org/TR/html4/sgml/entities.html it's enough
3) placed additional check to make sure all entities from get_html_translation_table were checked in the test
2011-09-05 11:00:14 +00:00
Hannes Magnusson
a1ecf8c887
Fix test to use microtime() as time() doesn't always catchup fast enough :]
2011-09-05 10:55:07 +00:00
Hannes Magnusson
cd8f903d7e
Fix test, one skipif is enough
2011-09-05 10:30:41 +00:00
Stanislav Malyshev
cc9483f19e
fix tests
2011-09-05 00:49:03 +00:00
Gustavo André dos Santos Lopes
dbe8c7c4fa
- Fixed bad xor in signed types due to integer promotion.
...
- Replaced undefined signed overflow with char -> unsigned char conversion.
2011-09-05 00:39:39 +00:00
Gustavo André dos Santos Lopes
cc45ce4586
- Fixed bug #55576 : Cannot conditionally move uploaded file without race
...
condition.
2011-09-04 23:00:47 +00:00
Pierre Joye
d7be9cf675
- add skipif
2011-09-04 22:21:58 +00:00
Pierre Joye
c70b78c445
- skip on win, TZ cannot be set using putenv at runtime
2011-09-04 22:04:42 +00:00
Pierre Joye
c3380e42c8
- skip on win, TZs differ with strftime
2011-09-04 21:59:27 +00:00
Pierre Joye
8d0096e2d9
- unify warning between win and unix and enable test
2011-09-04 21:48:22 +00:00
Pierre Joye
9ef72e259b
- fix test on win, does not use putenv to set the TZ but date_default_timezone_set (should be the case on all platforms actually...)
2011-09-04 21:40:22 +00:00
Pierre Joye
e0792c2590
- wrong variable used (ended as non initiazed usage)
2011-09-04 16:33:51 +00:00
Tjerk Anne Meesters
7170a996c5
Patch to run two more mysql test cases that would usually be skipped.
...
Replaced skipifdefaultconnectionfailure.inc by three additional ini_set() statements in connect.inc for the default connection settings
Patch also includes a typo in connect.inc concerning mysql.default_socket
2011-09-04 14:21:27 +00:00
Ferenc Kovacs
1313220640
These regexes don't fail under the new backtrack limit, so lower it just for the test to check the failure.
2011-09-04 13:27:19 +00:00
Christopher Jones
43e4d8cade
gcov test fixes
2011-09-02 22:19:03 +00:00
Ferenc Kovacs
c6d59bd2fa
pass an absolute path for the php binary to proc_open, without this the test would fail if ran with a relative TEST_DEV_EXECUTABLE
2011-09-02 20:28:39 +00:00
Shein Alexey
920fa567bd
Removed old (< 5.3) version of test and cleaned up the actual version.
2011-09-02 17:41:39 +00:00
Andrey Hristov
ab99790eca
Fix for Bug #54158 MYSQLND + PDO MySQL requires #define MYSQL_OPT_LOCAL_INFILE
...
and a bunch of other small preprocessor fixes
2011-09-02 13:53:41 +00:00
Ulf Wendel
b23baaf0fc
Coverage for bug#54704, of which I think it is bogus, thus no dedicated test.
2011-09-02 13:35:17 +00:00
Andrey Hristov
e35e394a79
fix message
2011-09-02 12:59:32 +00:00
Andrey Hristov
d96e924b25
function rename to comply with the schema of other callbacks
2011-09-02 11:22:41 +00:00
Ulf Wendel
864f8106be
Hopefully, this is an even better way to check for InnoDB support as of MySQL 5.6.1
2011-09-02 11:06:51 +00:00
Ulf Wendel
248a9a7f4d
As of MySQL 5.6.1 the server variable have_innodb is no more. Updating InnoDB check...
2011-09-02 10:38:51 +00:00
Ulf Wendel
65a3b6e0bb
MySQL 5.6 update
2011-09-02 09:27:23 +00:00
Ulf Wendel
ec4eb7ab17
Check for LOAD DATA support during SKIPIF
2011-09-01 16:35:13 +00:00
Ulf Wendel
286d8afda9
Fixing error handling. Skip if load data is not allowed
2011-09-01 15:45:47 +00:00
Ulf Wendel
afb0cce4c9
Can't reproduce the server has gone away messages, Andrey. Please, have a look. I tried MySQL 5.1, 5.5 and 5.6.
2011-09-01 15:25:15 +00:00
Ulf Wendel
46910fd722
Fix test. First element within the parantheses is a SQL status code. Should please gcov
2011-09-01 14:04:52 +00:00
Christian Stocker
e1813b69c5
Merge from Trunk
...
simplexml->query returns empty array if no nodes were found
and false if libxml thinks the xpath-expression was invalid.
Behaves now the same like DomXPath and fixes Bug #48601
Adjusted a test to reflect that change
2011-09-01 13:42:45 +00:00
Ulf Wendel
3c15d50c80
Fixing tests debug output
2011-09-01 13:37:49 +00:00
Ulf Wendel
3eb3eb406e
Check if MySQL server supports SSL and, if using mysqlnd, check if PHP streams will support SSL
2011-09-01 13:17:16 +00:00
Ulf Wendel
80ec77df04
Simplify mysqlnd debug trace marginally for debugging
2011-09-01 11:48:18 +00:00
Ulf Wendel
04b6ce21d2
Hack around http://bugs.mysql.com/62320
2011-09-01 11:27:14 +00:00
Matteo Beccati
d66630f625
Fixed test randomly failing due to different error messages. Also added a skip
...
section in case "fakeURL" resolves to an IP address, as some empty error
messages and HTML can be seen in the reports
2011-09-01 00:45:56 +00:00
Johannes Schlüter
48c69c378a
- Change PDO_oci connection defaults to match Oracle XE defaults, higher chance
...
to work out of the box
2011-08-31 23:42:04 +00:00
Matteo Beccati
953b10c59c
Fixed test. Apparently it was already fixed on PHP_5_3 98% of the cases and
...
the fix wasn't ported to trunk/PHP_5_4. However the very same test was failing
on my FreeBSD 6.2 box, that appears to also decode the "ks_c_5601-1987" parts,
so I've made the test more generic.
2011-08-31 22:38:20 +00:00
Matteo Beccati
f4e100e47f
Fixed false positive failure on gcov
2011-08-31 22:12:53 +00:00
Tjerk Anne Meesters
323ee1fe4c
Fixed expect format to ignore the textual error message from readlink().
...
Bug #55555
2011-08-31 18:26:23 +00:00
Andrey Hristov
fa8a1c387a
Fix valgrind error (sending of initialized bytes over the network).
...
When the compression was successful the compressed data + uninitialized data
at the end was sent to the server, because the length of the compressed payload
wasn't correctly calculated (actually the length of the uncompressed payload as assumed).
However, the uncompress() function has internally the length of the real payload and skips
the binary trash at the end - thus no data damage occurs!
2011-08-31 18:18:23 +00:00
Johannes Schlüter
c25f0424c8
- Update PDO_mysql error mapping
2011-08-31 15:46:07 +00:00
Johannes Schlüter
262cc2f37a
- Be less restrictive on the SQL state, some server versions might fool us
2011-08-31 15:25:18 +00:00
Ulf Wendel
c05bfdf490
Please, whenever changing the mysqli API update the tests. Don't wait for me to catch up.
2011-08-31 13:59:28 +00:00
Ulf Wendel
a7500f1c81
New utility function to check for '[1148] The used command is not allowed with this MySQL version' during SKIPIF
2011-08-31 13:50:58 +00:00
Ulf Wendel
4c3115a011
Check if server supports LOAD DATA LOCAL INFILE to catch [1148] The used command is not allowed with this MySQL version during SKIPIF
2011-08-31 12:58:25 +00:00
Johannes Schlüter
1cb8c01f0d
- Fix Bug #55550 mysql.trace_mode miscounts result sets,
...
fixes ext/mysql/tests/mysql_deprecated_api.phpt
2011-08-31 11:11:08 +00:00
Christian Stocker
bbecdf57d3
fix xsl tests
2011-08-31 09:16:04 +00:00
Matteo Beccati
18b8a3bcb7
Fixed a few false positives on gcov for ext/pgsql
2011-08-30 14:01:03 +00:00
Hannes Magnusson
850d865551
Add skipifs for bug#54971 (patch by datibbaw@)
2011-08-30 13:46:24 +00:00
Hannes Magnusson
a84c667e0e
Fixed bug#48476
2011-08-30 13:41:57 +00:00
Pierre Joye
63fa1fb1ca
- ws
2011-08-30 05:44:37 +00:00
Arpad Ray
a6a08dc322
Fixed bug #55366 : keys lost when using substr_replace an array
2011-08-29 21:35:28 +00:00
Hannes Magnusson
e481f05470
fixed bug #55267 - session_regenerate_id fails after header sent even if session.use_cookies = 0
2011-08-29 21:20:41 +00:00
Derick Rethans
9d504da334
- Updated to version 2011.9 (2011i)
2011-08-29 16:37:56 +00:00
Hannes Magnusson
e723c7631c
Fixed bug#53872 (internal corruption of phar)
2011-08-29 16:05:45 +00:00
Hannes Magnusson
269724ebcc
Whopsy, this change in 5.4, not 5.3
2011-08-29 14:27:17 +00:00
Hannes Magnusson
9e20746611
Fixed bug#52013 (Unable to decompress files in a compressed phar)
2011-08-29 14:19:54 +00:00
Hannes Magnusson
abbf8be0d6
The Phar class extends RecursiveDirectoryIterator, which has changed the way it ensures its ctor is called
2011-08-29 14:17:41 +00:00
Christian Stocker
5250f01d15
fix xsl date tests
2011-08-29 11:44:30 +00:00
Rasmus Lerdorf
8348d96656
The link error on an out-of-sync command doesn't start with 0
...
uwe/andrey please double-check
2011-08-29 06:47:07 +00:00
Rasmus Lerdorf
78a46b87e3
Fix another broken test. root can read 0200 files.
2011-08-29 06:19:40 +00:00
Andrey Hristov
9756f766b6
fix valgrind warnings in debug builds
2011-08-26 12:14:31 +00:00
Shein Alexey
6feb8cb74b
Fixed failed test to take into account printed warnings like in 5.4 and trunk branches.
2011-08-24 12:25:30 +00:00
Xinchen Hui
344136e8e9
Apply r315270 to 5.3
...
Fixed test script failed when host mysql doesn't listen on 3306
Fxied test script failed due to mysql_pconnect trigger a warning
2011-08-24 08:00:23 +00:00
Daniel Convissor
7473a889ec
Fix differences in some sub() results that were causing tests to fail.
2011-08-23 16:40:19 +00:00
Xinchen Hui
9fb62f3382
Sync r314808 to 5_3 branch
...
Eliminated compiler warnings "comparison is always false", "cast to pointer from integer of different siz" and tail zero warnings
2011-08-23 10:18:48 +00:00
Adam Harvey
8c007d8179
Fix bug #55483 (extra > at the end of html tag in phpinfo).
2011-08-23 06:07:24 +00:00
Christopher Jones
dbf744ad78
Sync date with actual PECL release date for correctness
2011-08-22 23:56:34 +00:00
Johannes Schlüter
0d2a921916
- Revert r313616 (When we have a blocking SSL socket, respect the timeout
...
option, scottmac)
# This caused bug #55283 , we should investigate a proper solution without
# breaking anything.
2011-08-22 21:32:04 +00:00
Daniel Convissor
4e2cd3ee63
Fix spring tests for dst/st transition second.
2011-08-22 14:47:12 +00:00
Andrey Hristov
36c11fcaf3
Don't run the test on windows, Unix specific
2011-08-22 11:07:35 +00:00
Andrey Hristov
1da5b05dbd
Fix Bug #55473 mysql_pconnect leaks file descriptors on reconnect
...
The fix is for now in 5_4 and trunk, to be merged into 5_3 after 5.3.8
is packaged (expected today). The test case goes to all branches
2011-08-22 10:42:43 +00:00
Stanislav Malyshev
81ad401604
Unbreak crypt() (fix bug #55439 )
...
# If you want to remove static analyser messages, be my guest,
# but please run unit tests after
2011-08-19 22:49:18 +00:00
Pierre Joye
0d82e0c266
- Fixed bug #52461 (Incomplete doctype and missing xmlns)
2011-08-19 09:59:47 +00:00
Christopher Jones
f2b8b4879d
More test portability fixes mostly for gcov.php.net
2011-08-13 00:43:34 +00:00
Andrey Hristov
aa480a4f4f
prevent a crash if cs is NULL, which can happen with MS and lazy connections
2011-08-12 14:55:00 +00:00
Ulf Wendel
d3d7da14e6
MySQL 5.6 fractional seconds and PS
2011-08-12 11:51:44 +00:00
Ulf Wendel
12954aa27d
Andrey, please have a look. Not sure if the test is correct, e.g. MySQL 5.5.3+ really needed?
2011-08-12 11:23:36 +00:00
Ulf Wendel
e0cc7032f1
Andrey, please have a look. This should not cause errors.
2011-08-12 11:23:16 +00:00
Ilia Alshanetsky
cc93e8e51f
Fixed bug #55399 (parse_url() incorrectly treats ':' as a valid path)
2011-08-11 13:01:52 +00:00
Pierre Joye
beea66d595
- fix build (introduce by r314641)
2011-08-11 07:11:39 +00:00
Rasmus Lerdorf
de90c602e1
Use HOST_NAME_MAX constant here instead for the gethostname() func
2011-08-10 17:40:56 +00:00
Ilia Alshanetsky
9fd373d8b6
Fix win32 build
2011-08-10 15:59:32 +00:00
Ilia Alshanetsky
4ef26e2379
Fixed memset usage (identified by coverity)
2011-08-10 15:30:07 +00:00
Andrey Hristov
56d6f23196
relax constraint
2011-08-10 14:12:24 +00:00
Dmitry Stogov
6ddfa33aad
Fixed bug #55323 (SoapClient segmentation fault when XSD_TYPEKIND_EXTENSION contains itself)
2011-08-10 13:44:48 +00:00
Ilia Alshanetsky
1488704098
Make static analyzers happy
2011-08-09 14:11:56 +00:00
Ilia Alshanetsky
d091516c31
Minimize stack usage and added missing dtors
2011-08-09 13:10:57 +00:00
Xinchen Hui
0630945ac4
Avoiding strcpy, strcat, sprintf usage to make static analyzer happy
2011-08-09 12:16:58 +00:00
Xinchen Hui
79aa564f8d
Avoiding strcpy usage, Make static analyzer happy
2011-08-09 09:35:42 +00:00
Scott MacVicar
929e0f185c
Update SQLite3 to the latest version
2011-08-09 07:31:34 +00:00
Xinchen Hui
a60513240f
Eliminated compiler's warnings and make static analyzer silent
2011-08-09 05:11:19 +00:00
Xinchen Hui
fa161f96fa
Remove unnecessary(no sense) memset and making the static analyzer silent
2011-08-08 16:57:46 +00:00
Ilia Alshanetsky
e2e96913bf
Deadcode & sizeof fix for issues found by coverity
...
(different patch for 5.4+ will follow shortly)
2011-08-08 12:29:32 +00:00
Ilia Alshanetsky
92d68c62af
Make static analyzers happy
2011-08-08 12:10:27 +00:00
Xinchen Hui
44e2c266c3
Remove no sense statements
2011-08-08 00:47:40 +00:00
Ilia Alshanetsky
42f3972e61
Avoid strcpy() usage
2011-08-08 00:07:54 +00:00
Ilia Alshanetsky
34f08a3715
Fixes for variety of issues identified by coverity scan
2011-08-07 23:46:00 +00:00
Gwynne Raskind
04b575f409
possible use without init fixed
2011-08-07 18:12:52 +00:00
Gwynne Raskind
f4f7a32121
Front- and back-port rev 314431 (missing php.h include)
2011-08-07 17:15:40 +00:00
Gwynne Raskind
159635f4f5
Back- and front-port fixes for #55019
2011-08-07 17:14:14 +00:00
Rasmus Lerdorf
37c18f5ebe
Fix more signed 1-bit bitfield, and let's use strlcpy/strlcat instead for these
...
static string copies
2011-08-07 16:10:34 +00:00
Rasmus Lerdorf
2449c41698
Not an issue here, but a good habit to follow consistently. Never use strcpy/strcat.
2011-08-07 15:45:18 +00:00
Rasmus Lerdorf
bcf8485ef5
Make static analyzers happy
2011-08-07 15:38:36 +00:00
Xinchen Hui
57ec3758b7
revert -r314422
...
No need to check erealloc's return
2011-08-07 14:25:30 +00:00
Xinchen Hui
b2110c3eea
Fixed bug that may dereferenced NULL pointer before checking
2011-08-07 13:19:04 +00:00
Xinchen Hui
4c2e6c1cf6
Initialize variable with fixed value for avoiding compile warnings
2011-08-07 11:13:27 +00:00
Pierrick Charron
029d7f4c6c
class entry is never used
2011-08-07 06:04:11 +00:00
Pierrick Charron
757a32cd0c
Pointer returned is never used
2011-08-07 05:46:31 +00:00
Rasmus Lerdorf
f2bc53b88b
Oops
2011-08-07 05:08:08 +00:00
Rasmus Lerdorf
b61c50a004
These naked strcpy()s scare me
2011-08-07 00:18:38 +00:00
Rasmus Lerdorf
636c61c1d5
Not our issue, but fixing here for now and reporting upstream
2011-08-06 23:34:13 +00:00
Felipe Pena
997f323e3a
- Added ZEND_MOD_END macro to use in the end of zend_module_dep[]
2011-08-06 14:47:44 +00:00
Felipe Pena
13eb47a8bc
- Added missing PHP_FE_END/ZEND_FE_END
2011-08-06 01:22:27 +00:00
Felipe Pena
edfa1988fc
- Fixed bug #55313 (Number of retries not set when params specified)
...
patch by: kevin at kevinlocke dot name
2011-08-06 00:59:21 +00:00
Rasmus Lerdorf
741f41ff18
efree match_sets on an error here - found by Coverity
2011-08-05 22:39:40 +00:00
Christopher Jones
ae1baaa592
Improve test portabilty
2011-08-05 22:18:50 +00:00
Andrey Hristov
8a929d8942
Fix for bug #55283 SSL options set by mysqli_ssl_set ignored for MySQLi persistent connections
2011-08-05 13:39:30 +00:00
Felipe Pena
32319a142f
- Added missing check (thanks neweracracker at gmail dot com)
2011-08-04 10:56:59 +00:00
Felipe Pena
8b27b6d559
- Fixed possible efree(NULL) (bug #55296 )
2011-08-04 00:59:43 +00:00
Andrey Hristov
395ebb5c8b
Remove a warning by explicitly compiling out a non-used variable
2011-08-02 15:30:58 +00:00
Andrey Hristov
4a7bf95c90
completely compile out a currently non-needed function
2011-08-02 14:18:56 +00:00
Andrey Hristov
66bba32627
compile out both parts of the code that are currently unused - fixes a compilation warning
2011-08-02 14:02:21 +00:00
Stanislav Malyshev
44add6d195
fix termination in sha-512 too
2011-07-31 23:14:04 +00:00
Stanislav Malyshev
6e246ad0d5
fix salt truncation bug in sha256
2011-07-31 21:47:03 +00:00
Pierre Joye
caf6a6dc7a
- blowfish 1.2 update, 2nd part
2011-07-31 20:50:09 +00:00
Pierre Joye
673fe19b39
- add test for blowfish 1.2 (Solar Designer)
2011-07-31 10:11:20 +00:00
Pierre Joye
363b56f261
- Fix #55301 (sybase part, take #2 ) check if malloc succeded
2011-07-28 21:16:51 +00:00
Pierre Joye
a3796f27fb
- Fix #55301 (mssql part) check if malloc succeded
2011-07-28 11:01:04 +00:00
Pierre Joye
c8a621b191
- Fix #55301 (sybase part) check if malloc succeded
2011-07-28 10:57:31 +00:00
Pierre Joye
b3ccd26eb4
- Fix #55301 (url scanner part) check if malloc succeded
2011-07-28 10:52:45 +00:00
Pierre Joye
d3fd31b6dd
- Fix #55301 (readline part) check if malloc succeded
2011-07-28 10:42:45 +00:00
Pierre Joye
7ec6d3ae47
- Fix #55301 (interbase part) check if malloc succeded
2011-07-28 10:39:19 +00:00
Pierre Joye
a20deb1607
- Fix #55301 (pdo_odbc part) check if malloc succeded
2011-07-28 10:37:04 +00:00
Pierre Joye
8535adfb31
- Fix #55301 (com_dotnet part) check if malloc succeded
2011-07-28 10:34:16 +00:00
Pierre Joye
42c4b86c88
- Fix #55301 (curl part) check if malloc succeded
2011-07-28 10:31:34 +00:00
Andrey Hristov
94ccf70c77
longer error messages, don't cut them
2011-07-27 10:26:59 +00:00
Christopher Jones
cf8bf9f2f0
Add explicit casts to remove some of Pierre's snapshot build warnings
2011-07-27 00:04:23 +00:00
Ulf Wendel
e2ad8e9c1c
Double check if line is sill usable and connected to last successfully selected db.
2011-07-26 16:14:59 +00:00
Ulf Wendel
823de19461
Check what happens if switching DB via API fails. Expected: no change of current DB/schema.
2011-07-26 15:37:59 +00:00
Ulf Wendel
61b2568310
Would be nice if tests get updated whenever a feature is added by the person adding the feature...
2011-07-26 09:33:01 +00:00
Ulf Wendel
ac9708ccf2
Fix mysqlnd detection
2011-07-26 09:30:49 +00:00
Christopher Jones
987db5f747
Fix cast warning seen on some platforms
2011-07-25 23:40:57 +00:00
Felipe Pena
2df7afeb1c
- Revert accidental change
2011-07-25 21:39:53 +00:00
Christopher Jones
fc83d523b8
Patch r313663 and r313665 to allow PECL builds to work with earlier releases
2011-07-25 17:30:09 +00:00
Christopher Jones
99049e2fdd
Update skipif
2011-07-25 17:22:48 +00:00
Felipe Pena
23e438594d
- Make usage of new PHP_FE_END macro
2011-07-25 11:42:53 +00:00
Scott MacVicar
04c2df66a3
When we have a blocking SSL socket, respect the timeout option.
...
reading from SSL sockets could block indefinitely due to the lack
of timeout
2011-07-23 01:29:44 +00:00
Felipe Pena
fcb9e4b2b3
- Disable __sync_fetch_and_add for HPUX for now, gcc seems not provide __sync_fetch_and_add_4 for all targets
2011-07-23 01:08:24 +00:00
Daniel Convissor
3c63a836cf
Fix spelling error.
2011-07-21 19:56:54 +00:00
Daniel Convissor
22710d1c44
Have test for add/sub/diff one second during ST/DST transition in spring.
2011-07-21 15:35:06 +00:00
Pierre Joye
83b69f4034
- Fixed bug #55258 (Windows Version Detecting Error) (already fixed in trunk/5.4)
2011-07-21 14:49:55 +00:00
Ryan Biesemeyer
5dc5c26a5f
removing openssl test for bug #55169 per Scott MacVicar's request; duplicate coverage of opensssl_random_pseudo_bytes.phpt
2011-07-20 21:25:39 +00:00
Ryan Biesemeyer
7acdad749c
update test for bug #55169 , fix skipif
2011-07-20 21:13:03 +00:00
Ryan Biesemeyer
74d6fe4f00
update test for bug #55169 , don't require the extension in INI
2011-07-20 20:57:17 +00:00
Ryan Biesemeyer
292abd1240
tests for bug #55169 (mcrypt and openssl)
2011-07-20 18:59:05 +00:00
Daniel Convissor
d31c5e8a4d
Rename and enhance test for bug 55253 now that bugs web is up.
2011-07-20 18:24:14 +00:00
Scott MacVicar
946456425e
openssl_encrypt() / openssl_decrypt() were flawed and truncated the key to the default size for the case of a variable key length cipher.
...
The result is a key of 448 bits being passed to the blowfish algorithm would be truncated to 128 bit.
Also fixed an error in the zend_parse_parameters() having an invalid character being used.
2011-07-19 22:15:56 +00:00
Felipe Pena
c3c761ffeb
- Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4)
2011-07-19 22:12:13 +00:00
Popa Adrian Marius
23e564762a
Fix for bug http://bugs.php.net/54426
...
Checks for NULL are wrong as the values can be provided by the triggers
2011-07-19 20:25:51 +00:00
Pierre Joye
8280b0a710
- update blowfish to 1.2 (Solar Designer)
2011-07-18 21:26:29 +00:00
Philip Olson
0b9be2918d
Updated is_a() and is_subclass_of() tests as per the removed E_WARNING from r313162 which was inspired by discussion after r312904 and PHP Bug #53727
2011-07-15 19:17:22 +00:00
Daniel Convissor
6672b31c45
Have test for add/sub/diff one second during DST/ST transition.
2011-07-13 16:22:58 +00:00