Ulf Wendel
67faaa1cae
Fixing error handling. Skip if load data is not allowed
2011-09-01 15:45:47 +00:00
Ulf Wendel
9996f5f13f
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
ebc3b34fa0
Fix test. First element within the parantheses is a SQL status code. Should please gcov
2011-09-01 14:04:52 +00:00
Ulf Wendel
7b9d93d18b
Fixing tests debug output
2011-09-01 13:37:49 +00:00
Ulf Wendel
0c26509ff0
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
Johannes Schlüter
4eff96b99b
- Fix TSRM build
2011-09-01 12:04:54 +00:00
Ulf Wendel
426b388b74
Simplify mysqlnd debug trace marginally for debugging
2011-09-01 11:48:18 +00:00
Ulf Wendel
48c1f47979
Hack around http://bugs.mysql.com/62320
2011-09-01 11:27:14 +00:00
Matteo Beccati
dff6510fc5
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
c2ca9678fa
- 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
03ef913497
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
a3a5b2197c
Fixed false positive failure on gcov
2011-08-31 22:12:53 +00:00
Johannes Schlüter
39b0be5126
- Register extensions using mysqlnd (mysql, myslqi, pdo_mysql) with mysqlnd
2011-08-31 20:30:08 +00:00
Boris Lytochkin
2c5c7a2ef3
tune text align
2011-08-31 20:15:32 +00:00
Boris Lytochkin
ce6b3f95f2
test coverage for SNMP::ERRNO_MULTIPLE_SET_QUERIES
2011-08-31 19:44:39 +00:00
Tjerk Anne Meesters
892ac1fe58
Fixed expect format to ignore the textual error message from readlink().
...
Bug #55555
2011-08-31 18:26:23 +00:00
Andrey Hristov
604fa1537a
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
35597286d6
- Update PDO_mysql error mapping
2011-08-31 15:46:07 +00:00
Johannes Schlüter
dd8f68ecb0
- Be less restrictive on the SQL state, some server versions might fool us
2011-08-31 15:25:18 +00:00
Ulf Wendel
af73e4aab6
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
776d1e5ece
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
Rui Hirokawa
ad24758ee9
added alias for *-mobile encodings.
2011-08-31 13:18:44 +00:00
Ulf Wendel
d920185b9c
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
Christian Stocker
2ea8e38615
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-08-31 11:44:22 +00:00
Johannes Schlüter
8cf651ad99
- 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
01e115324a
- Set an empty string and avoid warnings and stopping of the transformation process
...
when a php function can't be called.
- Fixed tests.
2011-08-31 09:14:08 +00:00
Christian Stocker
43527a0f1c
fixed libxml tests
2011-08-31 08:58:12 +00:00
Boris Lytochkin
b448bb5e01
more tuning based on discussion in FR #40816 :
...
* parse all OIDs earlier, detect all wrong OIDs before any query
is made (GET-operations)
* introduce ERRNO_MULTIPLE_SET_QUERIES:
warn if request contains more OIDs than max_oids and SET operation
(and type&value checks) will be done in chunks.
fix set method when request contains more OIDs than max_oids (2nd and
subsequent chunk were ignored)
2011-08-31 08:28:13 +00:00
Xinchen Hui
92e84dbe3f
Fixed test failed
2011-08-31 07:49:52 +00:00
Rasmus Lerdorf
dd4e07b9b4
Since we are creating this csv file locally this should obviously
...
be a a LOCAL infile here for this to work reliably. For robustness
this should probably have a check for the local-infile server
setting as well.
2011-08-31 07:43:58 +00:00
Christian Stocker
190e36b47a
MFB. fix xsl date tests
2011-08-31 07:38:19 +00:00
Xinchen Hui
8c93430a6a
Fixed test failed, due to error message changed
2011-08-31 07:37:42 +00:00
Stanislav Malyshev
a84c0ab32b
fix strptime tests for mac
2011-08-31 07:34:07 +00:00
Rasmus Lerdorf
76976d0702
Fix test. I have no idea why the test author didn't expect to get back
...
latin2 when the test is setting it to latin2 here. Both PHP and MySQL
are doing the right thing here.
2011-08-31 07:19:20 +00:00
Stanislav Malyshev
25031cd387
test fixes on Darwin
2011-08-31 07:10:17 +00:00
Gustavo André dos Santos Lopes
6690258734
- Fixed test htmlentities15.phpt.
2011-08-31 06:32:05 +00:00
Gustavo André dos Santos Lopes
5463f5f93a
- Fixed tests when run from outside their directory.
2011-08-31 06:23:24 +00:00
Gustavo André dos Santos Lopes
f0abb36192
- html_tables.h regeneration.
2011-08-31 05:47:19 +00:00
Gustavo André dos Santos Lopes
1a9d43a807
- Less GCC warnings; code less readable, yay!
...
- Fixed html_tables.h generaration in 64-bit archs.
- Closes bug #55394 - Patch to suppress initialization warnings in html.c
#signed/unsigned mismatches for another day
#regenerated tables on another commit
2011-08-31 05:45:02 +00:00
Stanislav Malyshev
2459296ff5
fix tests
2011-08-31 04:24:48 +00:00
Matteo Beccati
25ebbe6464
Fixed a few false positives on gcov for ext/pgsql
2011-08-30 14:01:03 +00:00
Hannes Magnusson
eba373139c
Add skipifs for bug#54971 (patch by datibbaw@)
2011-08-30 13:46:24 +00:00
Hannes Magnusson
f41105f56f
Fixed bug#48476
2011-08-30 13:41:57 +00:00
Pierre Joye
361903fbce
- ws
2011-08-30 05:44:37 +00:00
Gustavo André dos Santos Lopes
6affeb6b60
- Turns out the external entity loader is not a per-thread global but a true
...
global. Changed code accordingly; however, applications that embed PHP and
also use libxml2 may be affected negatively.
2011-08-30 01:08:22 +00:00
Arpad Ray
1a2c15f912
Expose session status via new function, session_status (Req #52982 )
2011-08-29 21:29:26 +00:00
Hannes Magnusson
53bfe76489
fixed bug #55267 - session_regenerate_id fails after header sent even if session.use_cookies = 0
2011-08-29 21:20:41 +00:00
Arpad Ray
a912bd3c23
Fixed bug #55366 : keys lost when using substr_replace an array
2011-08-29 20:38:52 +00:00
Arpad Ray
4a6c2a8b44
add support for SORT_NATURAL and SORT_FLAG_CASE in array sort functions
2011-08-29 20:23:34 +00:00
Derick Rethans
a34e9efcfa
- Updated to version 2011.9 (2011i)
2011-08-29 16:37:56 +00:00