Commit Graph

26063 Commits

Author SHA1 Message Date
Pierre Joye
14b5985dff - 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
Stanislav Malyshev
ae1af27e18 fix bug 55562 - make substr always return rest of the string if length is too long 2011-09-04 18:50:05 +00:00
Pierre Joye
678e8e2872 - wrong variable used (ended as non initiazed usage) 2011-09-04 16:33:31 +00:00
Ferenc Kovacs
ccac1ad9b6 passing an invalid session.upload_progress.freq always generates an additional startup error 2011-09-04 15:02:08 +00:00
Ferenc Kovacs
f1c31a5a15 passing an invalid session.upload_progress.freq always generates an additional startup error 2011-09-04 14:28:52 +00:00
Tjerk Anne Meesters
9582b62111 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
Stanislav Malyshev
9b9ab11e8f fix test 2011-09-04 05:00:30 +00:00
Stanislav Malyshev
19cbfb42f6 test fixes 2011-09-04 04:57:01 +00:00
Daniel Convissor
1d50d1174c Make test work with database other than "test" (merge from 5.4). 2011-09-04 00:56:38 +00:00
Christopher Jones
06cc022740 gcov test fixes 2011-09-02 22:19:03 +00:00
Ferenc Kovacs
38131641a0 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
712628c47c Synchronized fixed tests from 5.3 branch. 2011-09-02 18:01:20 +00:00
Shein Alexey
a5f3b37b46 Removed old (< 5.3) version of test and cleaned up the actual version. 2011-09-02 17:41:39 +00:00
Andrey Hristov
27a48f0b44 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
66b7705da2 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
1f3e66cd56 fix message 2011-09-02 12:59:32 +00:00
Andrey Hristov
2dbc61a2ff function rename to comply with the schema of other callbacks 2011-09-02 11:22:41 +00:00
Ulf Wendel
56a2ff3b00 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
70b9029d9e 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
Boris Lytochkin
a183c17b07 remove extra white space 2011-09-02 10:07:01 +00:00
Boris Lytochkin
d077fc3211 added SNMPException class, enabling ability to throw exceptions
when a known SNMP error has occured
FR #55542
2011-09-02 10:04:19 +00:00
Ulf Wendel
7e5d9ae1dd MySQL 5.6 update 2011-09-02 09:27:23 +00:00
Boris Lytochkin
538d8a3f52 remove php_snmp_get_ce() 2011-09-02 08:07:58 +00:00
Gustavo André dos Santos Lopes
29b76e6de3 - Use our external entity loader only in the context of a PHP request. 2011-09-02 05:14:32 +00:00
Christopher Jones
375a31fed2 Prevent the magic quotes fatal error causing a diff 2011-09-01 19:01:37 +00:00
Ulf Wendel
2ae90a11ea Check for LOAD DATA support during SKIPIF 2011-09-01 16:35:13 +00:00
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